AWS Certified Developer – Associate (DVA-C02) — Question 207
A company’s website runs on an Amazon EC2 instance and uses Auto Scaling to scale the environment during peak times. Website users across the world are experiencing high latency due to static content on the EC2 instance, even during non-peak hours.
Which combination of steps will resolve the latency issue? (Choose two.)
Answer options
- A. Double the Auto Scaling group’s maximum number of servers.
- B. Host the application code on AWS Lambda.
- C. Scale vertically by resizing the EC2 instances.
- D. Create an Amazon CloudFront distribution to cache the static content.
- E. Store the application’s static content in Amazon S3.
Correct answer: D, E
Explanation
The correct answers are D and E because using Amazon CloudFront will cache static content closer to users, reducing latency, while storing static content in Amazon S3 allows for scalable and high-performance content delivery. Options A, B, and C do not address the latency issue effectively, as they focus on scaling or changing compute resources rather than optimizing content delivery.