AWS Certified DevOps Engineer – Professional (DOP-C02) — Question 64

A rapidly growing company wants to scale for developer demand for AWS development environments. Development environments are created manually in the AWS Management Console. The networking team uses AWS CloudFormation to manage the networking infrastructure, exporting stack output values for the Amazon VPC and all subnets. The development environments have common standards, such as Application Load Balancers, Amazon EC2 Auto Scaling groups, security groups, and Amazon DynamoDB tables.
To keep up with demand, the DevOps engineer wants to automate the creation of development environments. Because the infrastructure required to support the application is expected to grow, there must be a way to easily update the deployed infrastructure. CloudFormation will be used to create a template for the development environments.
Which approach will meet these requirements and quickly provide consistent AWS environments for developers?

Answer options

Correct answer: C

Explanation

Option C is correct because it effectively uses nested stacks to define common components and the Fn::ImportValue intrinsic function to access necessary VPC and subnet values within those stacks. Options A and B do not utilize nested stacks correctly for this context, and option D does not align with best practices for managing updates through change sets as effectively as option C does.