AWS Certified Solutions Architect – Associate (SAA-C03) — Question 877
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 QuickS ght 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
Enabling detailed monitoring on Amazon EC2 instances reduces the CloudWatch metric delivery interval from the default 5 minutes to 1 minute, which successfully meets the requirement of under 2 minutes. The other options involve complex log pipelines through Amazon S3, Amazon Redshift, or AWS Lambda, which are unnecessary and do not natively provide the required performance metric granularity as efficiently as CloudWatch detailed monitoring.