You deployed your company website using Elastic Beanstalk and you enabled log file rotation to
S3. An Elastic MapReduce 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 CloudFront 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?
A.
Change your log collection process to use CloudWatch ELB metrics as input of the Elastic
MapReduce Job.
B.
Turn on CloudTrail and use trail log files on S3 as input of the Elastic MapReduce job.
C.
Enable CloudFront to deliver access logs to S3 and use them as input of the Elastic MapReduce
job.
D.
Use Elastic Beanstalk “Restart App Server(s)” option to update log delivery to the Elastic
MapReduce job.
E.
Use Elastic Beanstalk “Rebuild Environment” option to update log delivery to the Elastic
MapReduce job.
Explanation:
http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/AccessLogs.html
E