DOP-C02 Question 218
Select 2Your organization runs a high-traffic e-commerce application on AWS using Amazon EC2 instances behind an Application Load Balancer (ALB). You are tasked with setting up monitoring to ensure that application performance issues are detected and resolved quickly. Which combination of AWS services and features can you use to achieve this? (Select TWO.)
- A
Enable CloudWatch Alarms on ALB metrics like RequestCount and Latency.
- B
Use AWS X-Ray to trace requests and identify bottlenecks in your application.
- C
Enable Amazon CloudTrail logs to monitor incoming HTTP requests to the ALB.
- D
Use AWS Config to review compliance of your EC2 instances with security policies.
- E
Set up AWS Trusted Advisor to analyze EC2 instance utilization metrics.
Show answer and explanation
Correct answers: A, B
Explanation
To monitor applications and infrastructure effectively, you need both high-level metrics and in-depth request tracing. CloudWatch Alarms on ALB metrics provide actionable insights into traffic and latency, while AWS X-Ray helps identify issues at the application level. Combining these tools ensures comprehensive monitoring of your e-commerce application.
- A. Correct.
CloudWatch Alarms on ALB metrics like RequestCount and Latency provide real-time insights into the performance of your load balancer and help detect issues like high latency or abnormal traffic patterns.
- B. Correct.
AWS X-Ray allows you to trace application requests and pinpoint bottlenecks or performance issues at the application level, making it a valuable tool for monitoring and troubleshooting.
- C. Incorrect.
CloudTrail is primarily used for auditing API calls and changes to AWS resources. It does not provide metrics for monitoring HTTP requests or application performance.
- D. Incorrect.
AWS Config is used for compliance and configuration tracking, but it does not provide application or infrastructure performance monitoring capabilities.
- E. Incorrect.
AWS Trusted Advisor provides recommendations for cost optimization, security, fault tolerance, and service limits, but it does not offer real-time monitoring of EC2 instance performance or application metrics.