nerdexam
Amazon

DVA-C02 · Question #472

A company has implemented a pipeline in AWS CodePipeline. The company is using a single AWS account and does not use AWS Organizations. The company needs to test its AWS CloudFormation templates in it

The correct answer is B. Configure CodePipeline to deploy and test the CloudFormation templates. Use CloudFormation. AWS CloudFormation StackSets allows you to deploy CloudFormation stacks across multiple AWS Regions and accounts from a single CloudFormation template. In this case, even though the company is using a single AWS account, StackSets can efficiently deploy and test the CloudFormatio

Submitted by omar99· Mar 5, 2026Deployment

Question

A company has implemented a pipeline in AWS CodePipeline. The company is using a single AWS account and does not use AWS Organizations. The company needs to test its AWS CloudFormation templates in its primary AWS Region and a disaster recovery Region. Which solution will meet these requirements with the MOST operational efficiency?

Options

  • AIn the CodePipeline pipeline, implement an AWS CodeDeploy action for each Region to deploy
  • BConfigure CodePipeline to deploy and test the CloudFormation templates. Use CloudFormation
  • CConfigure CodePipeline to invoke AWS CodeBuild to deploy and test the CloudFormation
  • DUse the Snyk action in CodePipeline to deploy and test the CloudFormation templates in each

How the community answered

(31 responses)
  • A
    13% (4)
  • B
    77% (24)
  • C
    6% (2)
  • D
    3% (1)

Explanation

AWS CloudFormation StackSets allows you to deploy CloudFormation stacks across multiple AWS Regions and accounts from a single CloudFormation template. In this case, even though the company is using a single AWS account, StackSets can efficiently deploy and test the CloudFormation templates in both the primary Region and the disaster recovery Region. This approach is operationally efficient because it simplifies the deployment process by automating the distribution of the stacks across Regions, reducing manual work and complexity compared to other options. StackSets are designed for managing deployments across multiple Regions, which fits the requirements.

Community Discussion

No community discussion yet for this question.

Full DVA-C02 Practice