AWS Certified Solutions Architect – Associate (SAA-C02) — Question 761
A company runs a critical, customer-facing application on Amazon Elastic Kubernetes Service (Amazon EKS). The application has a microservices architecture.
The company needs to implement a solution that collects, aggregates, and summarizes metrics and logs from the application in a centralized location.
Which solution meets these requirements?
Answer options
- A. Run the Amazon CloudWatch agent in the existing EKS cluster. View the metrics and logs in the CloudWatch console.
- B. Run AWS App Mesh in the existing EKS cluster. View the metrics and logs in the App Mesh console.
- C. Configure AWS CloudTrail to capture data events. Query CloudTrail by using Amazon OpenSearch Service (Amazon Elasticsearch Service).
- D. Configure Amazon CloudWatch Container Insights in the existing EKS cluster. View the metrics and logs in the CloudWatch console.
Correct answer: D
Explanation
Amazon CloudWatch Container Insights is specifically designed to gather, aggregate, and summarize operational metrics and logs from containerized applications, including those on Amazon EKS. While the standard CloudWatch agent can collect logs, Container Insights provides a specialized, out-of-the-box dashboard for EKS performance and log analysis. AWS App Mesh is a service mesh for microservices networking rather than a logging aggregator, and AWS CloudTrail monitors API calls rather than application-level logs and metrics.