nerdexam
Amazon

DOP-C02 · Question #294

An Amazon EC2 Auto Scaling group manages EC2 instances that were created from an AMI. The AMI has the AWS Systems Manager Agent installed. When an EC2 instance is launched into the Auto Scaling…

The correct answer is B. Create a Systems Manager State Manager association that links to the Systems Manager. State Manager ensures that all instances launched by the Auto Scaling group automatically receive the desired configuration which immediately applies when instances are launched. While the primary focus of Option D is on patch management (applying updates and patches) rather…

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

Question

An Amazon EC2 Auto Scaling group manages EC2 instances that were created from an AMI. The AMI has the AWS Systems Manager Agent installed. When an EC2 instance is launched into the Auto Scaling group, tags are applied to the EC2 instance. EC2 instances that are launched by the Auto Scaling group must have the correct operating system configuration. Which solution will meet these requirements?

Options

  • ACreate a Systems Manager Run Command document that configures the desired instance
  • BCreate a Systems Manager State Manager association that links to the Systems Manager
  • CCreate a Systems Manager Run Command task that specifies the desired instance configuration.
  • DCreate a Systems Manager Patch Manager patch baseline and a patch group that use the same

How the community answered

(34 responses)
  • A
    9% (3)
  • B
    82% (28)
  • C
    3% (1)
  • D
    6% (2)

Explanation

State Manager ensures that all instances launched by the Auto Scaling group automatically receive the desired configuration which immediately applies when instances are launched. While the primary focus of Option D is on patch management (applying updates and patches) rather than configuring the overall state of the operating system. Using Run Command is very AD-hoc which means you need to time the launching of the EC2 instance with the command and might not provide the continuous assurance that the configuration is maintained.

Topics

#AWS Systems Manager#State Manager#OS configuration#Auto Scaling groups

Community Discussion

No community discussion yet for this question.

Full DOP-C02 Practice