Amazon EKS Observability with CloudWatch and X-Ray

SAA-C03 By islever Editorial Last updated

Short answer

B Configure Amazon CloudWatch Container Insights to collect metrics from the EKS clusters and configure AWS X-Ray to trace the requests between the microservices.

Question

A company is building a microservices-based application that will be deployed on Amazon Elastic Kubernetes Service (Amazon EKS). The microservices will interact with each other. The company wants to ensure that the application is observable to identify performance issues in the future. Which solution will meet these requirements?
  1. Configure the application to use Amazon ElastiCache to reduce the number of requests that are sent to the microservices.
  2. Configure Amazon CloudWatch Container Insights to collect metrics from the EKS clusters. Configure AWS X-Ray to trace the requests between the microservices. Correct Answer
  3. Configure AWS CloudTrail to review the API calls. Build an Amazon QuickSight dashboard to observe the microservice interactions.
  4. Use AWS Trusted Advisor to understand the performance of the application.

Key Takeaways

The core concept is distinguishing between performance monitoring (metrics/logs) and application tracing (distributed requests), a common trap where candidates confuse security auditing tools like CloudTrail with observability tools.

This question addresses observability for microservices on Amazon EKS, requiring both metrics collection and distributed tracing. The correct solution combines Amazon CloudWatch Container Insights for infrastructure health and AWS X-Ray for request flow analysis.

Common mistake: Candidates often select C because they associate 'observability' with high-level dashboards or API tracking via CloudTrail, failing to realize that CloudTrail does not provide the granular performance metrics or service-to-service latency data required for troubleshooting microservice interactions.

Expert Analysis

Why the Answer Is Correct

Option B is the only solution that provides comprehensive observability for an EKS-based microservices architecture. Amazon CloudWatch Container Insights automatically collects, aggregates, and summarizes metrics and logs from containerized applications, providing visibility into the health and performance of the EKS clusters and nodes. Simultaneously, AWS X-Ray traces requests as they travel through the microservices, allowing developers to identify bottlenecks, errors, and latency issues in specific code paths. This combination covers both infrastructure-level performance and application-level transaction flows.

Why the Other Options Are Wrong

Option A suggests using ElastiCache, which is an in-memory caching service designed to reduce database load and improve read performance, not to provide observability or monitoring capabilities. Option C proposes AWS CloudTrail, which records API calls for security auditing and compliance; it does not collect application performance metrics or trace internal service interactions. While QuickSight can visualize data, it cannot ingest the real-time telemetry needed for performance troubleshooting without additional complex integration. Option D relies on AWS Trusted Advisor, which offers high-level best practice checks (like cost optimization or security groups) but lacks the detailed, real-time performance data required for debugging microservice interactions.

Community Comment Notes

The community consensus strongly supports Option B. Users highlight that CloudWatch Container Insights is specifically designed for container monitoring, while X-Ray handles the distributed tracing aspect. Comments emphasize that CloudTrail is strictly for API logging and security, not performance observation, and that ElastiCache is a caching layer, not a monitoring tool.

Official Reference

https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/ContainerInsights.html

This link opens the official vendor documentation in a new tab.

Exam Strategy

When asked about 'observability' or 'performance issues' in microservices, always look for a pair of solutions: one for metrics/logging (like CloudWatch) and one for distributed tracing (like X-Ray). Avoid options that mix unrelated services like caching (ElastiCache) or security auditing (CloudTrail) unless explicitly requested.

Frequently Asked Questions

Why is CloudTrail not suitable for performance observability?

CloudTrail logs API calls for security and compliance auditing. It does not capture application performance metrics, latency between services, or internal code execution paths required for troubleshooting.

Can ElastiCache help with observability?

No. ElastiCache is used to cache data and reduce database load to improve response times. It is a performance optimization tool, not a monitoring or observability service.

More SAA-C03 FAQ →

Community Votes

B
100%

100% of anonymous learners picked answer B. Votes are pick records left by other test-takers — they are not the verified answer.

Discussion 4 contributions

Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.

From public community threads 4

  1. Cali182 👍 9 Answered B
    Option B Amazon CloudWatch Container Insights: This service provides monitoring and troubleshooting capabilities for containerized applications. It collects and aggregates metrics, logs, and events from Amazon EKS clusters and containers. This helps in monitoring the performance and health of microservices.
  2. Linuslin 👍 5 Answered B
    B is the correct answer. Use CloudWatch Container Insights to collect, aggregate, and summarize metrics and logs from your containerized applications and microservices. https://docs.aws.amazon.com/zh_tw/AmazonCloudWatch/latest/monitoring/ContainerInsights.html AWS X-Ray collects data about requests that your application serves, and it helps you view, filter, and gain insights into that data to identify issues and opportunities for optimization. https://docs.aws.amazon.com/zh_tw/prescriptive-guidance/latest/logging-monitoring-for-application-owners/x-ray.html
  3. LeonSauveterre 👍 1 Answered B
    A - ElastiCache can reduce latency but does not directly provide observability. B - CloudWatch Container Insights provides detailed metrics and logs for containers. AWS X-Ray traces requests across microservices C - CloudTrail is designed for security auditing and API call tracking, not detailed observability or performance monitoring. D - Trusted Advisor focuses on high-level recommendations and does not provide real-time observability for application interactions or performance issues.
  4. Andy_09 👍 6
    Correct answer is B

Reader comments & corrections

No reader corrections yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Submitted for moderation before publishing. Keep it helpful and respectful.

Practice All SAA-C03 Questions

Access 120 questions with complete answers and detailed explanations.

View Full SAA-C03 Practice Test →

← Back to SAA-C03 Study Guide