EKS Cluster Metrics and Log Collection with CloudWatch
Short answer
BCE Deploy AWS Distro for OpenTelemetry to collect metrics/logs, create CloudWatch alarms for performance thresholds, and create a log filter alarm for autoscaler errors.
Question
Key Takeaways
The exam tests knowledge of the modern, recommended stack (ADOT) versus legacy agents (CloudWatch Agent), combined with specific alarm configurations for both performance metrics and operational logs.
This question addresses the standard AWS-recommended architecture for collecting metrics and logs from Amazon EKS clusters using AWS Distro for OpenTelemetry (ADOT) and configuring CloudWatch alarms for notification.
Common mistake: Many learners select Option A (CloudWatch Agent + Fluent Bit) because it is a historically common method, failing to recognize that AWS now recommends ADOT for EKS as the primary solution for metrics and logs.
Expert Analysis
Why the Answer Is Correct
The correct combination is B, C, and E. Option B is critical because AWS Distro for OpenTelemetry (ADOT) is the officially recommended solution for collecting metrics and logs from EKS clusters, replacing the older dual-agent approach of CloudWatch Agent and Fluent Bit. Option C correctly implements the requirement to monitor CPU, memory, and node failure metrics via CloudWatch Alarms, which triggers SNS notifications when thresholds are exceeded. Option E addresses the specific requirement to monitor the Autoscaler's functionality by creating an alarm on log patterns (log filters) within the Autoscaler deployment logs; if errors occur, the alarm triggers.
Why the Other Options Are Wrong
Option A is incorrect because while technically functional, the CloudWatch Agent and Fluent Bit combination is considered legacy for EKS. The exam prioritizes the current best practice, which is ADOT. Option D is incorrect because Composite Alarms are designed to aggregate status from other alarms (e.g., logical AND/OR conditions), not to directly process metric log filters or detect anomalies in raw logs.
Community Comment Notes
Several community members incorrectly selected AC or ACE, often missing the nuance between legacy and recommended collection tools. As user 'matt200' noted, ADOT is the "recommended solution," highlighting why A is wrong. Another commenter stated, "You need to collect metrics which is C. You need to collect logs which is E," but failed to identify that B is the mechanism to get those logs/metrics into CloudWatch in the first place, whereas A is the outdated mechanism.
Official Reference
https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/ContainerInsights-EKS-setup.html
This link opens the official vendor documentation in a new tab.
Exam Strategy
Always look for the 'recommended' or 'best practice' tool over the 'legacy' tool in cloud certification exams. For EKS observability, ADOT is the standard answer unless specified otherwise.
Frequently Asked Questions
Why is Option A wrong if it works?
How do you monitor the Autoscaler in Option E?
Discussion 5 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 5
-
ArunRav 👍 4A- To collect the cloudwatch logs and send to cloudwatch service. C - To setup Alarms F - To monitor and alert
-
luisfsm_111 👍 3A collects metrics and logs, C create the alarms and F monitors the auto scaler
-
matt200 👍 1Correct: B. Deploy AWS Distro for OpenTelemetry (ADOT): ADOT is the recommended solution for collecting metrics and logs from EKS clusters E. Create CloudWatch alarm for Autoscaler logs: Monitors Autoscaler functionality through log analysis Wrong: A. Deploy CloudWatch agent and Fluent Bit: While this would work, it's not the recommended approach for EKS F. Create CloudWatch alarm with metric log filter for Autoscaler: Direct log monitoring (Option E) is more appropriate
-
Srikantha 👍 1Explanation To collect logs and metrics from the EKS cluster, nodes, and pods, and to ensure notifications are sent when thresholds are exceeded, we need: A mechanism to collect logs and metrics (Option A). Alarms for key cluster performance metrics (Option C). Alarms to detect Autoscaler failures (Option F).
-
tinyshare 👍 1The question asks to "collect metrics and logs". You need to install the CloudWatch Agent which is A. You need to collect metrics which is C. You need to collect logs which is E.
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All DOP-C02 Questions
Access 85 questions with complete answers and detailed explanations.
View Full DOP-C02 Practice Test →