Skip to main content

DVA-C02 practice question · Troubleshooting and Optimization

An application publishes custom CloudWatch metrics for request count, error rate, and p99 latency.

An application publishes custom CloudWatch metrics for request count, error rate, and p99 latency. The on-call team wants a persistent, shareable single view that shows graphs of all three metrics next to the current state of the related alarms, so they can check application health quickly during incidents. Which CloudWatch feature should the developer use?

  • AA CloudWatch dashboard containing metric graph widgets and alarm status widgets
  • BA CloudWatch composite alarm whose rule expression combines the three alarms
  • CA saved CloudWatch Logs Insights query that returns the three metrics over time
  • DA CloudWatch Contributor Insights rule that tracks the three metrics by contributor
Show the answer and explanation

Correct answer: A) A CloudWatch dashboard containing metric graph widgets and alarm status widgets

A CloudWatch dashboard is the persistent, shareable single view for graphing several metrics alongside alarm states. Composite alarms combine alarm states, while Logs Insights and Contributor Insights analyze log data.

Why each option is right or wrong

  • A) Correct. CloudWatch dashboards give a single, customizable view of selected metrics and alarms, even across Regions. Team members can share them as a common view during operational events, which meets every requirement.
  • B) Incorrect. A composite alarm combines the states of other alarms with a rule expression (AND/OR/NOT) and can trigger actions. It produces one alarm state and does not show metric graphs.
  • C) Incorrect. Logs Insights queries run against log data in log groups. They do not give a persistent combined view of custom metrics published to CloudWatch Metrics together with their alarm states.
  • D) Incorrect. Contributor Insights analyzes log data to find top-N contributors, such as the noisiest hosts or IP addresses. It is not a way to arrange several metric graphs and alarm states in one view.
Exam domain
Troubleshooting and Optimization · 18% of DVA-C02
Question type
Multiple choice (one answer)

Practise the full DVA-C02 exam

This question is one of a small free sample from the CertRidge DVA-C02 bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.

Original question written from the official exam guide. Not affiliated with AWS; never copied from the real exam.

Worth reading: DVA-C02 cheat sheet, Lambda, DynamoDB, API Gateway, IAM and Cognito, messaging, CI/CD and X-Ray in tables, plus what DVA-C03 changes.