AWS Certified Solutions Architect Professional SAP-C02 Practice Question

A company runs a global e-commerce application on a fleet of Amazon EC2 instances managed by an Auto Scaling group behind an Application Load Balancer (ALB). The application, composed of several microservices, is experiencing intermittent periods of high latency. A review of standard Amazon CloudWatch metrics for the EC2 instances, such as CPUUtilization and NetworkIn/Out, shows no correlation with the reported latency spikes. The operations team needs a monitoring strategy to quickly identify the specific transactions, users, or application components that are contributing most to these performance issues.

Which CloudWatch-based approach would be the MOST effective for this purpose?

  • Configure CloudWatch Anomaly Detection on the TargetResponseTime and RequestCount metrics for the Application Load Balancer. Create a CloudWatch Alarm that triggers an SNS notification to the operations team whenever an anomaly is detected, providing a link to a runbook for manual investigation.

  • Install the CloudWatch agent on all EC2 instances to stream application logs to CloudWatch Logs. Create a CloudWatch Logs Insights query that parses the logs to calculate transaction durations, and schedule the query to run every minute to alert the team of any anomalies.

  • Increase the detail level of EC2 monitoring to 1-minute frequency for all instances. Create a composite alarm that triggers if the average CPUUtilization across the fleet is normal but the ALB's TargetResponseTime p99 latency metric exceeds a predefined threshold.

  • Enable Application Load Balancer (ALB) access logs and send them to CloudWatch Logs. Create CloudWatch Contributor Insights rules to analyze the 'target_processing_time' and 'request' fields from the access logs. Use the resulting reports to identify the top N contributors causing the highest latency.

AWS Certified Solutions Architect Professional SAP-C02
Continuous Improvement for Existing Solutions
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot