Skip to content
AWS Certified DevOps Engineer – Professional (DOP-C02) Exam Prep

Lesson 5 of 6 · 12 min

x
5/6

Incident and Event Response (14%)

Video lesson: DOP-C02 Domain 5: Incident and Event Response

Domain 5 is 14% of the scored content of the AWS Certified DevOps Engineer – Professional (DOP-C02) exam. AWS facts were checked against current AWS documentation in November 2026.

TaskStatement
5.1Manage event sources to process, notify, and take action in response to events
5.2Implement configuration changes in response to events
5.3Troubleshoot system and application failures

Overview

Domain 5: Incident and Event Response AWS Certified DevOps Engineer – Professional (DOP-C02): event-driven workflows, automated changes and root cause analysis

Welcome to Domain 5 of the AWS Certified DevOps Engineer Professional exam, DOP-C02: Incident and Event Response. It is 14 percent of the scored content, about 9 of the 65 scored questions.

Task 5.1 is managing event sources: AWS Health, EventBridge and CloudTrail, and building workflows with queues, streams, fan out, Lambda and Step Functions.

Task 5.2 is implementing configuration changes in response to events, with Systems Manager, Auto Scaling and AWS Config remediation.

Task 5.3 is troubleshooting system and application failures: metrics, logs and traces, health services, and failed deployments, scaling and containers.

Almost every change in A W S appears as an EventBridge event.

AWS DevOps Agent, generally available since March 2026, can investigate incidents across telemetry and deployments.

The key: find the root cause, then automate the fix so it doesn't happen again.

Exam key takeaway: Domain 5 tests routing events into reliable workflows, changing configuration automatically in response, and finding the root cause of failed deployments, scaling and container issues.

5.1 Manage event sources to process, notify, and take action in response to events

Event Sources Task 5.1 · Where events come from and how to catch them

  • Amazon EventBridge: Task 5.1 is event sources. EventBridge receives events from A W S services, your applications and SaaS partners, and rules with event patterns route them to targets.
  • AWS CloudTrail: CloudTrail delivers A P I calls to EventBridge, so rules can react to actions such as creating users or changing bucket policies.
  • AWS Health: AWS Health publishes service issues and scheduled changes such as instance retirement, with an organizational view across accounts.
  • Cross-account buses: Rules can send events to an event bus in a central account whose resource policy allows the senders.
  • Schedules and pipes: EventBridge Scheduler runs cron, rate and one-time schedules, and EventBridge Pipes connect a source such as S Q S or a stream to a target with filtering and enrichment.
  • Archive and replay: Event archives keep events so you can replay them after fixing a bug.

Exam key takeaway: EventBridge catches service, custom and partner events, CloudTrail turns API calls into events, Health announces issues, central buses aggregate, Scheduler and Pipes connect, archives replay.

Event-Driven Workflow Patterns Task 5.1 · Fan out, queue, stream and orchestrate

PatternServicesUse When
Fan outSNS to SQS queues, or EventBridge targetsMany consumers need every event
QueuingSQS standard or FIFO with DLQSmooth bursts; retry safely
Event streamingKinesis Data Streams, MSKOrdered, replayable, high volume
OrchestrationStep FunctionsMulti-step, retries, waits, approvals
Simple reactionLambda target with retries and DLQOne action per event
IdempotencyDedupe keys, conditional writesAt-least-once delivery

Task 5.1 continues with workflow patterns. Fan out uses S N S to several S Q S queues, or several EventBridge targets, when many consumers need every event.

Queuing with S Q S smooths bursts and retries safely, with FIFO for ordering and dead-letter queues for failures.

Streaming with Kinesis Data Streams or Amazon M S K handles ordered, replayable, high-volume events.

Step Functions orchestrates multi-step workflows with retries, timeouts, parallel branches and waits for approval.

For a single action per event, a Lambda target with retry policy and an on-failure destination is enough.

Because most delivery is at least once, make handlers idempotent with deduplication keys or conditional writes.

Exam key takeaway: Fan out with SNS or EventBridge, queue with SQS and DLQs, stream with Kinesis or MSK, orchestrate with Step Functions, react with Lambda, and make every handler idempotent.

5.2 Implement configuration changes in response to events

Configuration Changes in Response to Events Task 5.2 · Remediate a non-desired state automatically

  • Config remediation: Task 5.2 is automated change. AWS Config rules mark resources noncompliant and run automatic remediation through Automation runbooks, with retries.
  • Systems Manager fleet: Systems Manager changes fleets with Run Command and Automation, using tag targets and rate and error thresholds.
  • State Manager: State Manager re-applies desired configuration on a schedule and to new instances, correcting drift.
  • Auto Scaling actions: Auto Scaling replaces unhealthy instances, and an instance refresh rolls a new launch template across the group after a configuration change.
  • Infrastructure changes: Events can also change infrastructure, for example starting a pipeline or a CloudFormation update, so code stays the source of truth.
  • Safe automation: Keep automated changes safe with least-privilege roles, approvals for risky steps, and OpsItems that record what changed.

Exam key takeaway: Config remediates noncompliance, Systems Manager changes fleets safely, State Manager corrects drift, Auto Scaling replaces and refreshes, events drive code changes, and guardrails keep it safe.

5.3 Troubleshoot system and application failures

Troubleshooting Failed Deployments Task 5.3 · Read the right log for each service

FailureWhere To LookCommon Cause
CodePipeline stage failedExecution details, action logsRole permissions, artifact KMS access
CodeBuild failedBuild logs in CloudWatch Logs or S3Non-zero exit, missing env, VPC egress
CodeDeploy failedDeployment events, agent and hook logsAgent down, hook script error, alarm
CloudFormation failedStack events, first failurePermissions, quotas, bad properties
Synthetics canary failingCanary run screenshots, HAR, logsRelease broke a user journey
Lambda deploy rolled backCodeDeploy alarms and hook resultsErrors alarm during canary

Task 5.3 is troubleshooting. A failed CodePipeline stage shows its action's details and logs; common causes are role permissions and artifact key access.

A failed CodeBuild run is explained in its build logs: a non-zero exit code, a missing variable or secret, or no egress from its V P C.

A failed CodeDeploy deployment is explained in deployment events and the agent and hook logs on the instance.

A failed stack shows the first failed resource in stack events; read that one, not the cascade of rollbacks after it.

A failing Synthetics canary after a release shows screenshots, request logs and steps that broke.

A Lambda deployment that rolled back points to the alarm or traffic hook that failed during the canary.

Exam key takeaway: Read pipeline action logs, build logs, CodeDeploy events and hook logs, the first failed stack event, canary artifacts, and rollback alarms to find the real cause.

Root Cause Analysis for Systems Task 5.3 · Scaling, containers and service health

  • Auto Scaling failures: Task 5.3 continues with systems. Auto Scaling activity history explains failed launches: insufficient capacity, quotas, a bad A M I, or failing health checks.
  • ECS task failures: E C S tasks show a stopped reason and service events: image pull errors, out-of-memory kills, failing health checks or missing task role permissions.
  • EKS failures: On E K S, describe pods and read events and control plane logs: pending pods lack capacity, CrashLoopBackOff means the container keeps failing.
  • Service health: Check AWS Health to see whether A W S has an issue, and use Systems Manager OpsCenter to group related operational issues.
  • Traces and logs: Traces show which hop is failing, and trace I Ds in logs connect the evidence.
  • AWS DevOps Agent: AWS DevOps Agent correlates telemetry, code and deployments to suggest a root cause and mitigations, with humans approving changes.

Exam key takeaway: Read Auto Scaling activity, ECS stopped reasons, EKS events, AWS Health and OpsCenter, traces with correlated logs, and use DevOps Agent to speed root cause analysis.

Review

Exam Distractors: What to Reject Answers that poll, lose events, or treat symptoms

  1. A Lambda function polling APIs every minute for changes. EventBridge rule on the event.
  2. Retrying forever on a bad message. DLQ after maxReceiveCount.
  3. One consumer forwarding events to every other team. SNS or EventBridge fan out.
  4. Reading the last stack event to find the failure. The first failed resource.
  5. Raising Lambda timeouts to fix throttling. Concurrency limits or quotas.
  6. Manually fixing drifted instances each week. State Manager or Config remediation.

Exam key takeaway: Reject polling, infinite retries, single forwarding consumers, reading the last stack event, longer timeouts for throttling, and manual drift fixes.

Where current AWS differs from the exam guide

  • AWS DevOps Agent became generally available on March 31, 2026.

References

  1. AWS Certified DevOps Engineer – Professional exam page — checked Nov 30, 2026

Check your understanding

  • Alert in Slack when an EC2 retirement is scheduled.Show answer

    Answer

    EventBridge on AWS Health events.
  • Reprocess yesterday's events after fixing a bug.Show answer

    Answer

    EventBridge archive and replay.
  • Each order must reach billing, shipping and analytics.Show answer

    Answer

    SNS to three SQS queues.
  • Public S3 buckets fixed automatically.Show answer

    Answer

    Config rule with auto remediation.
  • ECS tasks stop with CannotPullContainerError.Show answer

    Answer

    Check ECR access, endpoints, execution role.
Previous

Progress is saved in this browser.

Next Lesson