A Developer is preparing a deployment package using AWS CloudFormation. The package consists of two separate templates: one for the infrastructure and one for the application. The application has to be inside the VPC that is created from the infrastructure template. How can the application stack refer to the VPC created from the infrastructure template?
A) Use the Ref function to import the VPC into the application stack from the infrastructure template.
B) Use the export flag in the infrastructure template, and then use the Fn::ImportValue function in the application template.
C) Use the DependsOn attribute to specify that the application instance depends on the VPC in the application template.
D) Use the Fn::GetAtt function to include the attribute of the VPC in the application template.
Correct Answer:
Verified
Q347: A developer must ensure that the IAM
Q348: A Developer has written code for an
Q349: A development team is building a new
Q350: A Developer registered an AWS Lambda function
Q351: A company's fleet of Amazon EC2 instances
Q353: Given the following AWS CloudFormation template:
Q354: A development team is designing a mobile
Q355: A Developer needs to deploy an application
Q356: A company requires that AWS Lambda functions
Q357: A development team is working on a
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents