DOP-C02 Question 235
Select 3Your organization runs a microservices-based application on Amazon EKS. You need to monitor application logs and metrics to detect performance issues and anomalies. The solution should allow you to centralize logs, set up custom metric filters, and automatically trigger alerts whenever anomalies are detected. Which combination of AWS services and features should you use to achieve this?
- A
Amazon CloudWatch Logs for centralized log collection and metric filter creation
- B
Amazon CloudWatch Alarms for anomaly detection and alerting
- C
AWS X-Ray for distributed tracing and root cause analysis
- D
AWS Config for tracking configuration changes
- E
Amazon OpenSearch Service for analyzing and visualizing application logs
Show answer and explanation
Correct answers: A, B, C
Explanation
To detect issues in a microservices-based application, you can use Amazon CloudWatch Logs for centralized log collection and metric filters, CloudWatch Alarms for automated anomaly detection and alerting, and AWS X-Ray for distributed tracing to identify root causes. Together, these services provide a comprehensive monitoring and troubleshooting solution for performance issues in the application.
- A. Correct.
Correct: Amazon CloudWatch Logs allows you to centralize log collection and create metric filters to monitor specific patterns or anomalies in the logs.
- B. Correct.
Correct: Amazon CloudWatch Alarms can be set up to monitor custom metrics or anomalies detected in logs and send alerts when thresholds are breached.
- C. Correct.
Correct: AWS X-Ray is useful for distributed tracing and helps identify root causes of performance issues, complementing log and metric analysis.
- D. Incorrect.
Incorrect: AWS Config is used for tracking configuration changes and compliance, not for monitoring logs or metrics for issues.
- E. Incorrect.
Incorrect: While Amazon OpenSearch Service is excellent for analyzing and visualizing logs, it is not required for anomaly detection or alerting in this scenario.