nerdexam
AmazonAmazon

DOP-C02 · Question #239

DOP-C02 Question #239: Real Exam Question with Answer & Explanation

Sign in or unlock DOP-C02 to reveal the answer and full explanation for question #239. The question stem and answer options stay visible for context.

Submitted by ricky.ec· Mar 6, 2026Monitoring and Logging

Question

A DevOps engineer manages a company's Amazon Elastic Container Service (Amazon ECS) cluster. The cluster runs on several Amazon EC2 instances that are in an Auto Scaling group. The DevOps engineer must implement a solution that logs and reviews all stopped tasks for errors. Which solution will meet these requirements?

Options

  • ACreate an Amazon EventBridge rule to capture task state changes. Send the event to Amazon
  • BConfigure tasks to write log data in the embedded metric format. Store the logs in Amazon
  • CConfigure the EC2 instances to store logs in Amazon CloudWatch Logs. Create a CloudWatch
  • DConfigure an EC2 Auto Scaling lifecycle hook for the EC2_INSTANCE_TERMINATING scale-in

Unlock DOP-C02 to see the answer

You've previewed enough free DOP-C02 questions. Unlock DOP-C02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#ECS Monitoring#EventBridge#Log Management#Task State Changes
Full DOP-C02 PracticeBrowse All DOP-C02 Questions