CLF-C02 Cloud Technology and Services Practice Question
A company wants to automatically detect anomalies in their application metrics, such as unusual spikes in error rates, without manually setting thresholds. Which AWS service provides ML-powered anomaly detection for CloudWatch metrics?
⚠ Common exam trap
Candidates often confuse Amazon DevOps Guru's ML-powered anomaly detection for operational issues with CloudWatch Anomaly Detection, but DevOps Guru works at a higher level across multiple AWS services and does not directly provide anomaly detection on individual CloudWatch metrics.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Amazon CloudWatch Anomaly Detection
Amazon CloudWatch Anomaly Detection applies machine learning algorithms to analyze historical CloudWatch metric data and establish a baseline of expected values. It then continuously evaluates new data points against this baseline to automatically detect anomalies, such as unusual spikes in error rates, without requiring manual threshold configuration. This makes it the correct choice for the described use case.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Amazon GuardDuty
Why it's wrong here
Amazon GuardDuty is a continuous security monitoring service that analyzes AWS CloudTrail event logs, VPC Flow Logs, and DNS query logs to detect unauthorized behavior, malicious actors, and compromised accounts or workloads. Its purpose is threat detection and response, not the modeling of time-series CloudWatch application metrics to spot performance deviations or stateless anomalies in metric values. Therefore, it is incorrect because it addresses security threats, not metric-based anomaly detection.
- ✗
Amazon DevOps Guru
Why it's wrong here
Amazon DevOps Guru is an ML-powered operations service that detects unusual behavior in metrics and logs, such as CPU spikes or increased error rates, and then provides curated operational insights and recommendations. While it consumes CloudWatch metrics and can identify anomalies, it is a broader operational analytics and management tool that works across entire AWS stacks, not a native CloudWatch feature designed specifically to create per-metric anomaly detection bands with configurable thresholds. The more direct and precise answer for detecting metric anomalies using CloudWatch is CloudWatch Anomaly Detection.
- ✓
Amazon CloudWatch Anomaly Detection
Why this is correct
Amazon CloudWatch Anomaly Detection applies statistical and machine learning models to historical metric data to establish a baseline of expected behavior, then computes a dynamic band of normal values based on trends, seasonality, and variability. It automatically flags points outside this band as anomalies without requiring you to manually set static thresholds or predict how workloads will behave over time. This directly matches the scenario of detecting deviations in application metrics using ML, making it the correct answer.
- ✗
AWS X-Ray
Why it's wrong here
AWS X-Ray is a distributed tracing service that helps developers analyze and debug production applications by capturing request-level traces, segment timings, and service call paths across microservices. It focuses on identifying bottlenecks, latency distributions, and downstream errors in HTTP requests, not on evaluating time-series metric streams for statistical deviations or predicting anomalous metric patterns. Hence, it is incorrect because it addresses request tracing and performance diagnostics at the trace level, not metric anomaly detection.
Go deeper
Related to this question
About these practice questions
One of 993 original CLF-C02 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This CLF-C02 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CLF-C02 exam.