Incident and Event Response (14%)
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.
| Task | Statement |
|---|---|
| 5.1 | Manage event sources to process, notify, and take action in response to events |
| 5.2 | Implement configuration changes in response to events |
| 5.3 | Troubleshoot 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
| Pattern | Services | Use When |
|---|---|---|
| Fan out | SNS to SQS queues, or EventBridge targets | Many consumers need every event |
| Queuing | SQS standard or FIFO with DLQ | Smooth bursts; retry safely |
| Event streaming | Kinesis Data Streams, MSK | Ordered, replayable, high volume |
| Orchestration | Step Functions | Multi-step, retries, waits, approvals |
| Simple reaction | Lambda target with retries and DLQ | One action per event |
| Idempotency | Dedupe keys, conditional writes | At-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
| Failure | Where To Look | Common Cause |
|---|---|---|
| CodePipeline stage failed | Execution details, action logs | Role permissions, artifact KMS access |
| CodeBuild failed | Build logs in CloudWatch Logs or S3 | Non-zero exit, missing env, VPC egress |
| CodeDeploy failed | Deployment events, agent and hook logs | Agent down, hook script error, alarm |
| CloudFormation failed | Stack events, first failure | Permissions, quotas, bad properties |
| Synthetics canary failing | Canary run screenshots, HAR, logs | Release broke a user journey |
| Lambda deploy rolled back | CodeDeploy alarms and hook results | Errors 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
- A Lambda function polling APIs every minute for changes. EventBridge rule on the event.
- Retrying forever on a bad message. DLQ after maxReceiveCount.
- One consumer forwarding events to every other team. SNS or EventBridge fan out.
- Reading the last stack event to find the failure. The first failed resource.
- Raising Lambda timeouts to fix throttling. Concurrency limits or quotas.
- 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
- AWS Certified DevOps Engineer – Professional exam page — checked Nov 30, 2026
Check your understanding
Alert in Slack when an EC2 retirement is scheduled.Show answerHide answer
Answer
EventBridge on AWS Health events.Reprocess yesterday's events after fixing a bug.Show answerHide answer
Answer
EventBridge archive and replay.Each order must reach billing, shipping and analytics.Show answerHide answer
Answer
SNS to three SQS queues.Public S3 buckets fixed automatically.Show answerHide answer
Answer
Config rule with auto remediation.ECS tasks stop with CannotPullContainerError.Show answerHide answer
Answer
Check ECR access, endpoints, execution role.