nerdexam
AmazonAmazon

DOP-C02 · Question #95

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

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

Submitted by viktor_hu· Mar 6, 2026Configuration Management and Infrastructure as Code

Question

An application running on a set of Amazon EC2 instances in an Auto Scaling group requires a configuration file to operate. The instances are created and maintained with AWS CloudFormation. A DevOps engineer wants the instances to have the latest configuration file when launched, and wants changes to the configuration file to be reflected on all the instances with a minimal delay when the CloudFormation template is updated. Company policy requires that application configuration files be maintained along with AWS infrastructure configuration files in source control. Which solution will accomplish this?

Options

  • AIn the CloudFormation template, add an AWS Config rule. Place the configuration file content in the
  • BIn the CloudFormation template, add an EC2 launch template resource. Place the configuration file
  • CIn the CloudFormation template, add an EC2 launch template resource. Place the configuration file
  • DIn the CloudFormation template, add CloudFormation init metadata. Place the configuration file

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

#CloudFormation#cfn-init#Configuration Management#Auto Scaling
Full DOP-C02 PracticeBrowse All DOP-C02 Questions