Certified Solutions Architect CloudFront and Content Delivery Flashcards
7 cards from real AWS practice questions. Tap to flip, then mark Knew It or Still Learning โ missed cards come back until you master them.
Read the first 7 Certified Solutions Architect CloudFront and Content Delivery flashcards as text
A company wants to restrict CloudFront content delivery so that only users in specific countries can access their streaming videos. Which CloudFront feature should they use?
Answer: Geographic Restrictions (Geo Blocking)
CloudFront Geographic Restrictions (Geo Blocking) allows you to whitelist or blacklist specific countries to control content access.
An application uses CloudFront to serve dynamic API responses. The team notices that personalized API responses are being cached and served to wrong users. What is the BEST solution?
Answer: Configure Cache Behavior to forward the Authorization header and use it as a cache key
Forwarding the Authorization header and including it in the cache key ensures each user's requests are cached and served separately.
A media company needs to deliver large video files globally with the lowest possible latency. They also need to accelerate uploads from users worldwide. Which AWS service combination is BEST?
Answer: CloudFront for downloads only, S3 Transfer Acceleration for uploads
CloudFront is optimized for downloads/GET requests while S3 Transfer Acceleration uses CloudFront's edge network to accelerate uploads to S3.
A CloudFront distribution is configured with an S3 origin. After updating objects in S3, users still receive old content. What is the MOST cost-effective way to immediately serve updated content?
Answer: Create an invalidation for the specific file paths
Creating an invalidation removes specified objects from CloudFront edge caches immediately, forcing the next request to fetch fresh content from the origin.
Which CloudFront feature allows you to run code at edge locations to modify HTTP requests and responses without managing servers?
Answer: CloudFront Functions and Lambda@Edge
CloudFront Functions (for lightweight JS) and Lambda@Edge (for more complex Node.js/Python code) both enable serverless code execution at edge locations.
A company needs to protect sensitive credit card numbers in transit through CloudFront before they reach the origin. The data should be encrypted so only specific backend services with the private key can decrypt it. Which feature addresses this?
Answer: CloudFront Field-Level Encryption
Field-Level Encryption allows you to encrypt specific POST data fields at the edge using a public key, so only authorized services with the private key can decrypt them.
A CloudFront distribution serves content from multiple origins. The solutions architect wants to reduce the load on origins and improve cache hit ratios for requests going to a specific regional origin. Which feature should be enabled?
Answer: CloudFront Origin Shield
Origin Shield adds an additional caching layer between CloudFront edge locations and your origin, reducing origin requests and improving cache hit ratios.