nerdexam
AmazonAmazon

DOP-C02 · Question #188

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

The correct answer is B: In the CloudFormation template, update the launch template to include specific tags that. https://docs.aws.amazon.com/systems-manager/latest/userguide/walkthrough- powershell.html#walkthrough-powershell-domain-join

Submitted by tyler.j· Mar 6, 2026Configuration Management and Infrastructure as Code

Question

A company uses AWS Directory Service for Microsoft Active Directory as its identity provider (IdP). The company requires all infrastructure to be defined and deployed by AWS CloudFormation. A DevOps engineer needs to create a fleet of Windows-based Amazon EC2 instances to host an application. The DevOps engineer has created a CloudFormation template that contains an EC2 launch template, IAM role, EC2 security group, and EC2 Auto Scaling group. The DevOps engineer must implement a solution that joins all EC2 instances to the domain of the AWS Managed Microsoft AD directory. Which solution will meet these requirements with the MOST operational efficiency?

Options

  • AIn the CloudFormation template, create an AWS::SSM::Document resource that joins the EC2
  • BIn the CloudFormation template, update the launch template to include specific tags that
  • CStore the existing AWS Managed Microsoft AD domain connection details in AWS Secrets
  • DStore the existing AWS Managed Microsoft AD domain administrator credentials in AWS Secrets

Explanation

https://docs.aws.amazon.com/systems-manager/latest/userguide/walkthrough- powershell.html#walkthrough-powershell-domain-join

Topics

#AWS CloudFormation#AWS Directory Service#EC2 domain join#Systems Manager

Community Discussion

No community discussion yet for this question.

Full DOP-C02 PracticeBrowse All DOP-C02 Questions