Ultimate access to all questions.
The development team at an IT company is utilizing AWS CloudFormation to streamline the management of its cloud infrastructure. Currently, the team has established two distinct CloudFormation stacks: a network stack, which includes a Virtual Private Cloud (VPC) and corresponding subnets, and a web application stack, which encompasses EC2 instances and an RDS database instance. The team now wishes to configure the web application stack in such a way that it can reference and utilize the VPC created in the network stack.
As an AWS Certified Developer Associate, which of the following solutions would you recommend to address this requirement?
Explanation:
Overall explanation Correct option:
Create a cross-stack reference and use the Export output field to flag the value of VPC from the network stack. Then use Fn::ImportValue intrinsic function to import the value of VPC into the web application stack
AWS CloudFormation gives developers and businesses an easy way to create a collection of related AWS and third-party resources and provision them in an orderly and predictable fashion.