Solved

A Developer Is Preparing a Deployment Package Using AWS CloudFormation

Question 352

Multiple Choice

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents