nerdexam
AmazonAmazon

DOP-C02 · Question #451

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

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

Submitted by renata2k· Mar 6, 2026Monitoring & Logging

Question

A company is using AWS CodeDeploy to deploy applications to a fleet of Amazon EC2 instances. During a recent deployment, several EC2 instances failed to update successfully. A DevOps engineer must investigate the root cause of the failures and must determine which specific deployment lifecycle events encountered errors. What is the MOST operationally efficient way to access and analyze the detailed deployment logs for troubleshooting?

Options

  • AUse SSH to connect to each EC2 instance that failed to update successfully. Read the logs from
  • BUse AWS Systems Manager Session Manager to connect to each EC2 instance that failed to
  • CCreate an Amazon S3 bucket to store CodeDeploy logs. Update the appspec.yml file to copy logs
  • DSend CodeDeploy agent logs to Amazon CloudWatch Logs by using the CloudWatch agent.

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

#CodeDeploy troubleshooting#EC2 logging#CloudWatch Logs#Operational efficiency
Full DOP-C02 PracticeBrowse All DOP-C02 Questions