AWS Certified Solutions Architect – Associate (SAA-C02) — Question 375
A company hosts its multi-tier, public web application in the AWS Cloud. The web application runs on Amazon EC2 instances, and its database runs on Amazon
RDS. The company is anticipating a large increase in sales during an upcoming holiday weekend. A solutions architect needs to build a solution to analyze the performance of the web application with a granularity of no more than 2 minutes.
What should the solutions architect do to meet this requirement?
Answer options
- A. Send Amazon CloudWatch logs to Amazon Redshift. Use Amazon QuickSight to perform further analysis.
- B. Enable detailed monitoring on all EC2 instances. Use Amazon CloudWatch metrics to perform further analysis.
- C. Create an AWS Lambda function to fetch EC2 logs from Amazon CloudWatch Logs. Use Amazon CloudWatch metrics to perform further analysis.
- D. Send EC2 logs to Amazon S3. Use Amazon Redshift to fetch logs from the S3 bucket to process raw data for further analysis with Amazon QuickSight.
Correct answer: B
Explanation
By default, Amazon CloudWatch provides basic monitoring for Amazon EC2 instances at a 5-minute interval. Enabling detailed monitoring provides metric data at a 1-minute frequency, which successfully satisfies the requirement of a granularity of no more than 2 minutes. The other choices involving log streaming to S3, Redshift, or Lambda are unnecessarily complex and do not directly address the metrics granularity requirement.