Medium1 markMultiple Choice
Domain 2.5: PerformancePerformanceCloudFrontCaching

AWS SAP-C02 · Question 62 · Domain 2.5: Performance

A global e-commerce company is experiencing performance issues with their product catalog API. The API is hosted on Amazon EC2 instances behind an Application Load Balancer (ALB) in the us-east-1 region. Users in Asia and Europe experience high latency. The product catalog data changes infrequently (once a day). The Architect wants to improve global read performance and reduce the load on the EC2 instances. Which combination of actions should the Architect take? (Select TWO)

Answer options:

A.

Deploy Amazon CloudFront and set the ALB as the origin.

B.

Configure Cache Behaviors in CloudFront to cache the API responses based on specific HTTP headers and query strings.

C.

Deploy AWS Global Accelerator and route traffic to the ALB.

D.

Migrate the EC2 instances to an Auto Scaling group spanning multiple AWS Regions.

E.

Implement Amazon ElastiCache for Redis on the EC2 instances.

F.

Enable Cross-Region Replication on the ALB.

How to approach this question

Identify the service that provides global caching for HTTP APIs.

Full Answer

Amazon CloudFront is a global Content Delivery Network (CDN). By placing CloudFront in front of the ALB, API responses are cached at edge locations close to the users in Asia and Europe, providing single-digit millisecond latency. Because the data changes infrequently, this is highly effective. You must configure CloudFront Cache Behaviors to forward and cache based on query strings so that a request for Product A doesn't return the cached response for Product B.

Common mistakes

Choosing Global Accelerator, which improves routing but does not cache, meaning the EC2 instances would still handle every request.

Practice the full AWS Solutions Architect Professional SAP-C02 Practice Exam 5

75 questions · hints · full answers · grading

More questions from this exam