Flashcardsfor IT Certifications

D2: Caching for Scalability (CloudFront & ElastiCache)

AWS Associate AWS Certified CloudOps Engineer – Associate exam practice questions · 11 flashcards

Question
How does CloudFront improve scalability?
1 / 11

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 11 Caching for Scalability (CloudFront & ElastiCache) practice questions and answers
  1. How does CloudFront improve scalability?
    Caches content at edge locations, offloading origin servers.
  2. What controls what CloudFront caches?
    Cache policies (TTL, cache key: headers, cookies, query strings).
  3. What is an origin request policy?
    Defines values forwarded to the origin without adding them to the cache key.
  4. What is Origin Shield?
    An additional regional caching layer to reduce origin load.
  5. ElastiCache for Valkey/Redis OSS vs Memcached?
    Valkey/Redis: replication, persistence, data structures, Multi-AZ. Memcached: simple, multithreaded, no persistence.
  6. Lazy loading caching strategy?
    Load data into cache only on a cache miss; risk of stale data.
  7. Write-through caching strategy?
    Write to cache whenever writing to database; data always current, more writes.
  8. What is TTL in caching?
    Time-to-live after which cached data expires, balancing freshness and hit rate.
  9. ElastiCache scaling options?
    Vertical (node type), horizontal (shards/replicas, cluster mode), or ElastiCache Serverless.
  10. Scenario: offload session state from web servers. Service?
    ElastiCache (Valkey/Redis OSS) or DynamoDB.
  11. Low CloudFront cache hit ratio. Common cause?
    Cache key includes unnecessary headers/cookies/query strings, or short TTLs.