Practice free →
HomeAWS SysOps Associatecloudcomputingsysopsdeployment › Which CloudFormation feature lets you reference …

Which CloudFormation feature lets you reference a value created in one stack from another stack in the SAME account/Region?

ADisabling CloudFormation entirely
BStack Outputs + `Fn::ImportValue` (cross-stack references)
CManually copying the value into every template every deploy
DStoring all CloudFormation state in Amazon Glacier
Answer & Solution
Correct answer: B. Stack Outputs + `Fn::ImportValue` (cross-stack references)
Outputs + `Fn::ImportValue` are the canonical cross-stack reference. Manual copy-paste is the anti-pattern; disabling CloudFormation defeats the purpose; Glacier is for archival.
Solve this in the app — AWS SysOps Associate practice & 24k+ MCQs →
Related questions