Exam DOP-C02 All QuestionsBrowse all questions from this exam
Question 260

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?

    Correct Answer: A

    To allow the software development team to use resources maintained by the database engineering team while keeping their review and lifecycle management processes separate, the best approach is to create a stack export from the database CloudFormation template and import those references into the web application CloudFormation template. This allows the two teams to maintain their independent processes and also facilitates resource-level change-set reviews without manual parameter updates.

Discussion
trungtdOption: A

B. Nested stacks combine all stacks into a single stack, which can complicate the independent lifecycle and review processes for each team. C. Stack sets are typically used for deploying stacks across multiple AWS accounts and Regions D. could work but require manual intervention to update the parameter values whenever there is a change in the database stack resources.

xdkonorek2Option: A

A. Create a stack export from the database CloudFormation template and import those references into the web application CloudFormation template.