Q89 — AWS SAA-C03 Ch.13

Question 89 of 100 | ← Chapter 13

Q989. 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?

Correct Answer: B. Enable detailed monitoring on all EC2 instances. Use Amazon CloudWatch metrics to perform further analysis.

Explanation

To analyze the performance of the web application with a granularity of no more than 2 minutes, the best solution is:B. Enable detailed monitoring on all EC2 instances. Use Amazon CloudWatch metrics to perform further analysis.Explanation:Detailed Monitoring on EC2 Instances: By enabling detailed monitoring, you can collect metrics at a 1-minute granularity for your EC2 instances. This allows for more frequent updates on performance metrics such as CPU utilization, disk I/O, and network traffic, which is critical for analyzing the performance of your application during peak usage times.Amazon CloudWatch Metrics: Once detailed monitoring is enabled, you can utilize CloudWatch metrics to analyze the performance of your application in real time. CloudWatch provides powerful visualization and alarms that can help you monitor the health and performance of your web application effectively.Evaluation of Other Options:A. Send Amazon CloudWatch logs to Amazon Redshift: While this could be useful for long-term analysis and reporting, it does not directly address the need for real-time performance analysis with the specified granularity.C. Create an AWS Lambda function to fetch EC2 logs from Amazon CloudWatch Logs: This approach could add unnecessary complexity and may not provide the immediate performance metrics needed for analysis.D. Send EC2 logs to Amazon S3: While this can be part of a long-term storage strategy, it does not provide the immediate granularity needed for analyzing performance during the anticipated increase in traffic.In summary, Option B is the most effective and straightforward solution for achieving the required performance analysis granularity during the holiday weekend.