DOP-C02 monitoring, logging, incidents

Updated November 23, 2026

DOP-C02 has two domains for observability and response: Monitoring and Logging (15%) and Incident and Event Response (14%). Together they make up 29% of scored content, more than any other single domain. This page covers both because the same services appear in each: collect signals, detect problems, then act automatically.

4.1 Collecting logs and metrics

The guide names CloudWatch metrics (namespaces, dimensions, resolution), real-time log ingestion, encryption of logs with KMS and IAM permissions for collection. Skills include metric filters, metric streams, custom metrics through the CloudWatch agent, retention and lifecycle, subscription filters to Kinesis, Lambda or OpenSearch, and Logs Insights queries.

4.2 Analyzing and alerting

Dashboards, alarms on standard and custom metrics, anomaly detection, X-Ray tracing, and log analysis with Athena or Logs Insights. Know the common signals: CPU for EC2, 5xx errors on an ALB, and how Config rules and CloudTrail events support audits.

4.3 Automating monitoring and events

Event-driven design with S3 notifications or EventBridge to SNS or Lambda, auto scaling across services, health checks in ALB and Route 53, installing agents (SSM Agent, CloudWatch agent) and Config rules that remediate.

5.1 to 5.3 Incident and event response

TaskWhat to be able to do
5.1 Manage event sourcesIntegrate AWS Health, EventBridge and CloudTrail; build workflows with SQS, SNS, Kinesis, Lambda and Step Functions
5.2 Configuration changes in response to eventsApply changes with Systems Manager or Auto Scaling; remediate a non-desired state with Config
5.3 Troubleshoot failuresAnalyze failed deployments in CodePipeline, CodeBuild, CodeDeploy and CloudFormation; analyze failed ECS, EKS and auto scaling processes

A mental model

Think in a chain: a source emits a signal, a rule or alarm matches it, a target acts, and a record is kept. Most scenarios are that chain with one broken link. Is the metric missing because the agent is not installed? Is the alarm in the wrong Region? Does the EventBridge rule pattern fail to match? Does the target lack permission?

Picking the right tool

  • Pattern-match an AWS event and route it: EventBridge.
  • Turn log lines into a number: metric filter.
  • Query logs on demand: Logs Insights or Athena.
  • Trace a request through services: X-Ray.
  • Notify people: SNS.
  • Run a runbook or fix a resource: Systems Manager Automation or a Config remediation.
  • Track AWS-side service events affecting you: AWS Health.

Example questions

Question 1. Operations wants an automated action when AWS Health reports a scheduled event on an EC2 instance. Which design needs the least custom polling code?

  • A. An engineer checks the Health dashboard each morning
  • B. A cron job on one instance that calls the API every minute
  • C. An EventBridge rule on AWS Health events with an automation target
  • D. A mailbox rule that forwards notices to the team
Show answer

Answer: C

AWS Health publishes events to EventBridge, where a rule can invoke a target such as Systems Manager Automation or Lambda. Polling the console is manual, a cron script is extra code to run and email alone does not trigger an action.

Want more questions like this? Full DOP-C02 practice tests →

Question 2. A Lambda function processes log events delivered from many CloudWatch log groups in near real time and writes results to OpenSearch. Which feature delivers the logs?

  • A. A metric filter
  • B. A subscription filter
  • C. A CloudWatch dashboard
  • D. A retention setting
Show answer

Answer: B

Subscription filters stream matching log events from a log group to destinations such as Kinesis or Lambda. Metric filters create metrics, not a delivery stream, a dashboard only displays data and retention settings only control how long data is kept.

Want more questions like this? Full DOP-C02 practice tests →

Question 3. A CodeDeploy deployment to EC2 fails at the first hook on every instance. Which first step is most useful?

  • A. Read the CodeDeploy agent and deployment logs for the failing hook
  • B. Switch the strategy to all at once
  • C. Double the Auto Scaling group size
  • D. Delete the alarms attached to the deployment group
Show answer

Answer: A

The deployment and agent logs show which lifecycle hook script failed and why. Changing the strategy does not fix a failing script, scaling up adds more failing instances and removing alarms hides signals rather than helping diagnose.

Want more questions like this? Full DOP-C02 practice tests →

Next

Finish the domains with security and compliance, and place this page in week two of the study plan.