nerdexam
AmazonAmazon

DOP-C02 · Question #62

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

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

Submitted by diego_uy· Mar 6, 2026Monitoring & Logging

Question

A developer is maintaining a fleet of 50 Amazon EC2 Linux servers. The servers are part of an Amazon EC2 Auto Scaling group, and also use Elastic Load Balancing for load balancing. Occasionally, some application servers are being terminated after failing ELB HTTP health checks. The developer would like to perform a root cause analysis on the issue, but before being able to access application logs, the server is terminated. How can log collection be automated?

Options

  • AUse Auto Scaling lifecycle hooks to put instances in a Pending:Wait state. Create an Amazon
  • BUse Auto Scaling lifecycle hooks to put instances in a Terminating:Wait state. Create an AWS
  • CUse Auto Scaling lifecycle hooks to put instances in a Terminating:Wait state. Create an Amazon
  • DUse Auto Scaling lifecycle hooks to put instances in a Terminating:Wait state. Create an Amazon

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

#Auto Scaling lifecycle hooks#CloudWatch Logs#log collection#root cause analysis
Full DOP-C02 PracticeBrowse All DOP-C02 Questions