AWS Certified Solutions Architect – Professional — Question 26

You deployed your company website using Elastic Beanstalk and you enabled log file rotation to S3. An Elastic Map Reduce job is periodically analyzing the logs on S3 to build a usage dashboard that you share with your CIO.
You recently improved overall performance of the website using Cloud Front for dynamic content delivery and your website as the origin.
After this architectural change, the usage dashboard shows that the traffic on your website dropped by an order of magnitude.
How do you fix your usage dashboard?

Answer options

Correct answer: A

Explanation

The correct answer is A because enabling Cloud Front to deliver access logs to S3 ensures that the Elastic Map Reduce job has the latest traffic data, reflecting the changes made with Cloud Front. The other options do not address the need for access logs specifically from Cloud Front, which is essential after the architectural change, making them less effective for rebuilding an accurate usage dashboard.