Skip to content
Pablo Rodriguez

Knowledge Check

Module 12: Caching Content - Knowledge Check

Section titled “Module 12: Caching Content - Knowledge Check”

What is caching?

  • A way to store passwords
  • An in-memory database
  • A global network for content distribution
  • A high-speed data storage layer ✓

Which type of data should you cache?

  • Dynamically generated web content
  • Static data that is frequently accessed ✓
  • Data that can be retrieved quickly with simple queries
  • Specialized data that is needed by a subset of users

Which is a benefit of caching?

  • Decreased costs
  • Increased application reliability
  • Load balancing the application
  • Reduced response latency ✓

Which types of content on a web page can be cached using an edge cache? (Select TWO.)

  • Shopping cart filled with a user’s item
  • Dynamically generated content, such as a user’s name
  • Web objects, such as hyperlinks ✓
  • Video files, such as a product demo ✓
  • User-generated data, such as search terms entered by user

What does Amazon CloudFront enable?

  • Transactional processing with an in-memory database
  • Automatic creation of a time to live (TTL) value
  • Bidirectional caching between users and an origin host
  • Multi-tiered and regional caching of content ✓

How does Amazon CloudFront use edge locations?

  • It caches Regional data at Regional edge locations and delivers the content to clients through their Regional edge locations.
  • It caches all content from an origin distribution at the edge location and delivers the content to clients through the fastest edge location.
  • It caches frequently accessed content at edge locations. It delivers the cached content to clients through the edge location with the lowest latency to those clients. ✓
  • It caches local content at edge locations. It delivers the cached content to clients through the edge location that requires the fewest network hops to reach those clients.

Which statement describes an efficient way to deliver on-demand video content?

  • Use Amazon S3 to store the content. Then use Amazon CloudFront to deliver the content. ✓
  • Launch an Amazon EC2 instance to host and serve your video content.
  • Launch an Amazon EC2 instance to host your video content. Then use Amazon CloudFront to deliver the content.
  • Use Amazon S3 to store and serve the content.

Which role does Amazon CloudFront play in protecting against distributed denial of service (DDoS) attacks?

  • Controls traffic by the source IP addresses of requests
  • Performs deep packet inspection to detect attacks
  • Restricts traffic by geography to help block attacks that originate from specific countries
  • Routes traffic through edge locations ✓

How can an application use Amazon ElastiCache to improve database read performance? (Select TWO.)

  • Write data to ElastiCache whenever the application writes to the database. ✓
  • Read data from ElastiCache first, and write to ElastiCache when a cache miss occurs. ✓
  • Read data from the database first, and write the most frequently read data to ElastiCache.
  • Replicate the database in ElastiCache, and direct all reads to ElastiCache and all writes to the database.
  • Direct all read requests to the database, and configure it to read from ElastiCache when a cache miss occurs.

Which type of caching strategy should be used when there’s data that must be updated in real time?

  • Time to live (TTL)
  • Lazy loading
  • Write-through ✓
  • Cache-control headers