Courseiva
Design for New SolutionshardMultiple ChoiceObjective-mapped

SAP-C02 Design for New Solutions Practice Question

A company is designing a new global application that will serve users worldwide. The application uses an Application Load Balancer (ALB) in a single region. To reduce latency for users in other regions, the company wants to cache static content at edge locations. The dynamic content must still be served from the ALB. Which configuration should be used?

⚠ Common exam trap

Many exam-takers assume CloudFront with a single ALB origin can handle both static and dynamic content by simply enabling caching, but they overlook that caching dynamic content can lead to serving stale data; the correct solution requires separate origins and path-based routing to isolate caching behavior.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Amazon CloudFront with multiple origins: S3 for static content and ALB for dynamic content

It uses Amazon CloudFront with multiple origins: an S3 bucket for static content (cached at edge locations) and the ALB for dynamic content (forwarded to the origin). This configuration meets the requirement to reduce latency for static assets via edge caching while ensuring dynamic requests are always served from the ALB, avoiding stale or incorrect responses.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • AWS Global Accelerator with the ALB as the endpoint

    Why it's wrong here

    Global Accelerator improves latency by routing traffic to the nearest healthy endpoint, but it does not cache content. Static content would still be served from the ALB.

  • Amazon CloudFront with the ALB as the origin

    Why it's wrong here

    This configuration would send all traffic to the ALB, not caching static content separately. CloudFront would cache responses from the ALB, but the ALB would still handle all requests.

  • Amazon CloudFront with multiple origins: S3 for static content and ALB for dynamic content

    Why this is correct

    CloudFront can be configured with multiple origins. Static content is cached at edge locations from S3, and dynamic content is forwarded to the ALB. This reduces latency for static content.

  • Amazon S3 Transfer Acceleration for static content

    Why it's wrong here

    S3 Transfer Acceleration is for uploading to S3, not for serving content to users. It does not cache or accelerate delivery.

Quick reference

AWS S3 Storage Class Comparison

Storage ClassMin DurationRetrievalUse Case
S3 StandardNoneImmediateFrequently accessed data
S3 Standard-IA30 daysImmediateInfrequent access, rapid retrieval
S3 One Zone-IA30 daysImmediateNon-critical infrequent data
S3 Intelligent-TieringNoneImmediate–hoursUnknown or changing access patterns
S3 Glacier Instant90 daysMillisecondsArchive with instant retrieval
S3 Glacier Flexible90 daysMinutes–hoursArchive, flexible retrieval
S3 Glacier Deep Archive180 daysHoursLong-term compliance archive

About these practice questions

Courseiva writes every SAP-C02 question from scratch — 1,660 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This SAP-C02 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SAP-C02 exam.