AWS Certified DevOps Engineer – Professional — Question 83

A company is developing a web application's infrastructure using AWS CloudFormation. The database engineering team maintains the database resources in a CloudFormation template, and the software development team maintains the web application resources in a separate CloudFormation template. As the scope of the application grows, the software development team needs to use resources maintained by the database engineering team. However, both teams have their own review and lifecycle management processes that they want to keep. Both teams also require resource-level change-set reviews. The software development team would like to deploy changes to this template using their CI/CD pipeline.

Which solution will meet these requirements?

Answer options

Correct answer: A

Explanation

The correct answer is A, as it allows the web application template to reference the exported resources from the database template, enabling collaboration while maintaining separate lifecycles. Option B, nested stacks, would require both teams to modify their templates for a unified deployment process, which contradicts their desire for independent management. Option C, stack sets, is intended for multi-account and multi-region deployments and does not directly address the resource referencing need. Option D does not provide a method for effective resource management across templates.