
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
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?
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.
D
Configure Amazon CloudWatch Container Insights in the existing EKS cluster. View the metrics and logs in the CloudWatch console.
Explanation:
Correct Answer: D - Configure Amazon CloudWatch Container Insights in the existing EKS cluster. View the metrics and logs in the CloudWatch console.
Why this is correct:
Why other options are incorrect:
A: While the CloudWatch agent can collect metrics and logs, it requires manual configuration and doesn't provide the same level of container-specific aggregation and summarization as Container Insights.
B: AWS App Mesh is a service mesh for microservices that provides traffic management and observability, but it's primarily for traffic control and doesn't provide comprehensive metrics and logs collection/aggregation like CloudWatch Container Insights.
C: AWS CloudTrail is for auditing API calls and governance, not for collecting application metrics and logs from EKS clusters. It doesn't meet the requirements for collecting metrics and logs from microservices applications.
Key AWS Services: