nerdexam
AmazonAmazon

DOP-C02 · Question #211

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

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

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

Question

A DevOps engineer has created an AWS CloudFormation template that deploys an application on Amazon EC2 instances. The EC2 instances run Amazon Linux. The application is deployed to the EC2 instances by using shell scripts that contain user data. The EC2 instances have an IAM instance profile that has an IAM role with the AmazonSSMManagedinstanceCore managed policy attached. The DevOps engineer has modified the user data in the CloudFormation template to install a new version of the application. The engineer has also applied the stack update. However, the application was not updated on the running EC2 instances. The engineer needs to ensure that the changes to the application are installed on the running EC2 instances. Which combination of steps will meet these requirements? (Choose two.)

Options

  • AConfigure the user data content to use the Multipurpose Internet Mail Extensions (MIME)
  • BRefactor the user data commands to use the cfn-init helper script. Update the user data to install
  • CConfigure an EC2 launch template for the EC2 instances. Create a new EC2 Auto Scaling group.
  • DRefactor the user data commands to use an AWS Systems Manager document (SSM document).
  • ERefactor the user data command to use an AWS Systems Manager document (SSM document).

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 updates#EC2 User Data#cfn-init#SSM Documents#instance configuration
Full DOP-C02 PracticeBrowse All DOP-C02 Questions