SAA-C03 practice question: Caching and content delivery (1 of 3)
Design High-Performing Architectures A free question from our original SAA-C03 practice exam. Try it, then open the answer to see why each option is right or wrong.
B. Right: Correct. CloudFront caches popular files at edge locations near readers, so repeat requests no longer cross continents. With origin access control, the bucket policy allows only the CloudFront service principal for that distribution, so the bucket stays private. Learn more: Restrict access to an Amazon S3 origin (opens in a new tab)
C. Wrong: Copies closer to readers would help latency, but this triples storage, adds replication charges and needs website logic to pick a bucket and sign requests for private objects. Readers far from all three Regions still wait. A CDN gives wider coverage with less to manage. Learn more: Replicating objects within and across Regions (opens in a new tab)
D. Wrong: This can work, but the team would have to build, patch and scale its own caching fleet in three Regions. Global Accelerator speeds up the network path to endpoints such as load balancers and EC2 instances; it does not cache content itself. CloudFront provides the caching as a managed service. Learn more: Endpoints for standard accelerators in AWS Global Accelerator (opens in a new tab)
Explanation
Repeated downloads of the same files by readers far from the origin Region are what a content delivery network is for. CloudFront caches the files at edge locations worldwide, and origin access control keeps the bucket private by allowing reads only from the distribution. The other options either do not cache, or need the team to run its own replicas or proxies.
Want more on Caching and content delivery? The 5 full-length practice sets have 11 more Caching and content delivery questions, 325 in all, none of them in the free exam. One payment of $14.99, no subscription. See the practice sets →