Home › Certifications › AWS Certified DevOps Engineer DOP-C02 › Monitoring and Logging
18 multiple-choice questions and 21 flashcards on Monitoring and Logging, about 12% of the AWS Certified DevOps Engineer DOP-C02 bank. Every one carries a written rationale.
Monitoring and Logging is one of 6 chapters in CoStudy's AWS Certified DevOps Engineer — Professional (DOP-C02) bank, and it holds 18 of the bank's 150 multiple-choice questions — roughly 12% of the total. That proportion is not arbitrary: chapters follow the certifying body's published exam outline, and the number of questions in each is set by that domain's published weight, so the share of your practice time this chapter takes matches the share of the real exam it accounts for.
Studying by chapter is worth doing once you have a diagnostic score. A single overall percentage tells you whether you are close; it does not tell you which domain is dragging. Working a weak chapter in isolation, and re-testing it in isolation, is the fastest way to move a score that has stalled — and it is why the mock exams in CoStudy report by domain rather than as one number.
8 questions drawn from this chapter, with the full rationale shown — the controlling principle behind the right answer, and why each wrong option tempts and fails.
Which is the BEST observability stack for AWS applications?
Answer: B — CloudWatch Logs/Metrics/Logs Insights/Alarms + X-Ray distributed
AWS observability: CloudWatch (logs, metrics, alarms, dashboards, Logs Insights for queries), X-Ray (traces), Container Insights (EKS/ECS), Application Insights (SQL/.NET). OpenTelemetry integration. SLA monitoring via CloudWatch Synthetics canaries.
A CloudWatch composite alarm should fire only if BOTH 'high error rate' AND 'low traffic' alarms are active. Which BEST describes composite alarm behavior?
Answer: C — Composite alarms evaluate boolean expressions over child alarm
Composite supports AND/OR/NOT over child alarm states. B/C/D wrong.
X-Ray sampling rules: which statement is CORRECT?
Answer: A — Default sampling is 1 request per second + 5% of additional requests
Default is 1/sec reservoir + 5% rate. Custom rules target by URL path/host/service. B/C/D wrong.
CLOUDWATCH SYNTHETICS (Canaries):
Answer: B — Configurable SCRIPTS that monitor APIs + URLs by performing
Synthetics: proactive monitoring. Pre-built blueprints (broken link checker, API canary, etc.) or custom scripts. Headless Chrome for browser interaction. Detect issues BEFORE users. Integrate with X-Ray + CloudWatch Alarms. DOP observability + SRE.
A CloudWatch alarm should fire when error rate exceeds 1% over a 5-minute period, but the metric has gaps (no data points) during low traffic. The alarm is currently noisy at night. Which BEST behavior should be configured?
Answer: A — Treat missing data as notBreaching so quiet periods don't fire
Missing data treatment is the right control. B falsifies the metric. C makes noise worse. D loses coverage.
Which is the BEST way to monitor LAMBDA functions in production?
Answer: C — CloudWatch Logs (via /aws/lambda/<name>), built-in Lambda metrics, X-Ray tracing, and Lambda Insights for enhanced observability
Lambda observability: CloudWatch Logs (always), built-in metrics, X-Ray (with @captureAWS), Lambda Insights (enhanced metrics). DLQ on async invocations. Alarms on errors/duration spikes. Insights into cold starts via Init Duration metric.
A team wants real-time streaming of CloudWatch metrics to a third-party SIEM with minimal latency. Which feature is BEST?
Answer: A — CloudWatch Metric Streams to Kinesis Data Firehose, then deliver to the third-party SIEM's HTTP endpoint or S3 bucket
Metric Streams is purpose-built for low-latency metric egress. B is high latency and limited. C/D don't carry metrics.
An EKS cluster runs hundreds of pods. The team wants per-namespace CPU/memory in CloudWatch with low operational overhead. Which feature is BEST?
Answer: C — Enable Container Insights on the EKS cluster (CloudWatch agent
Container Insights is the AWS-managed solution for ECS/EKS observability. B is OK but more ops. C/D miss the goal.
4 cards from the 21 in this chapter.
CloudWatch Logs subscription filters?
Stream logs to Lambda, Kinesis, Firehose for processing.
X-Ray sampling rules?
Control trace volume. Reservoir + fixed rate. Custom rules per service.
Container Insights?
CloudWatch metrics for ECS/EKS. CPU, memory, network at task level.
CloudWatch Application Signals?
Auto-monitor application performance. SLOs and dashboards.
These are a sample. The full Monitoring and Logging chapter runs 39 items with per-chapter progress tracking, on the web and in the iOS app.
Open AWS Certified DevOps Engineer DOP-C02 in CoStudy →
All AWS Certified DevOps Engineer DOP-C02 practice questions →