nerdexam
Amazon

DOP-C02 · Question #336

A company has an organization in AWS Organizations with many Oils that contain many AWS accounts. The organization has a dedicated delegated administrator AWS account. The company needs the accounts i

The correct answer is A. Activate trusted access to CloudFormation StackSets. Create a CloudFormation Hook that. Trusted access enables the AWS CloudFormation service to operate in a delegated administrator account and manage resources across all accounts in the OU, ensuring centralized control with minimal manual intervention. CloudFormation StackSets are designed to deploy CloudFormation

Submitted by khalil_dz· Mar 6, 2026Configuration Management & Infrastructure as Code

Question

A company has an organization in AWS Organizations with many Oils that contain many AWS accounts. The organization has a dedicated delegated administrator AWS account. The company needs the accounts in one OU to have server-side encryption enforced for all Amazon Elastic Block Store (Amazon EBS) volumes and Amazon Simple Queue Service (Amazon SQS) queues that are created or updated on an AWS CloudFormation stack. Which solution will enforce this policy before a CloudFormation stack operation in the accounts of this OU?

Options

  • AActivate trusted access to CloudFormation StackSets. Create a CloudFormation Hook that
  • BSet up AWS Config in all the accounts in the OU. Use AWS Systems Manager to deploy AWS
  • CWrite an SCP to deny the creation of EBS volumes and SQS queues unless the EBS volumes
  • DCreate an AWS Lambda function in the delegated administrator account that checks whether

How the community answered

(26 responses)
  • A
    62% (16)
  • B
    4% (1)
  • C
    12% (3)
  • D
    23% (6)

Explanation

Trusted access enables the AWS CloudFormation service to operate in a delegated administrator account and manage resources across all accounts in the OU, ensuring centralized control with minimal manual intervention. CloudFormation StackSets are designed to deploy CloudFormation templates across multiple AWS accounts and regions within an organization. By deploying the CloudFormation Hook across the accounts in the OU using StackSets, you ensure that the policy is enforced consistently across all relevant accounts in the OU. CloudFormation Hooks allow you to enforce specific constraints and best practices on CloudFormation stack operations before resources are created or updated. By creating a Hook that specifically enforces server-side encryption on EBS volumes and SQS queues, you can ensure that every CloudFormation stack operation in the accounts of the OU complies with the encryption requirement. This solution provides pre-emptive enforcement of encryption policies, preventing non-compliant resources from being created or updated. It also integrates with existing AWS management and governance services, providing a scalable and automated way to enforce compliance across multiple accounts in the organization.

Topics

#AWS Organizations#CloudFormation Hooks#Policy Enforcement#Server-side Encryption

Community Discussion

No community discussion yet for this question.

Full DOP-C02 Practice