DOP-C02 Domain 5: Incident and Event Response

Amazon ECS tasks enter STOPPED when an essential container exits with stoppedReason "Essential container in task exited". An SNS topic exists for email alerts. What should the engineer do next with the LEAST development effort?

Multiple choice — select one answer

Answer choices

  1. a. SNS to AWS Chatbot or PagerDuty integration
  2. b. Lambda polls DescribeTasks on a schedule and publishes matching tasks to SNS. (not recommended for production workloads)
  3. c. SSM Automation snapshot volumes with preservation
  4. d. Create an EventBridge rule on aws.ecs for STOPPED tasks with that stoppedReason; target the SNS topic.

Architectural breakdown & explanation

EventBridge captures ECS task state changes natively; SNS delivers email without custom polling code.

Correct answer(s): d. Create an EventBridge rule on aws.ecs for STOPPED tasks with that stoppedReason; target the SNS topic.

Exam domain: Domain 5: Incident and Event Response (14% weight on the official guide).

Official documentation & study links

Practice this certification

This page is one question from the AWS Certified DevOps Engineer – Professional bank. Run a full timed practice exam with domain-weighted random questions in your browser.