Bird
0
0

Which AWS CloudFormation feature allows one stack to use a value exported by another stack?

easy📝 Conceptual Q2 of 15
AWS - CloudFormation
Which AWS CloudFormation feature allows one stack to use a value exported by another stack?
AImportValue function
BRef intrinsic function
CDependsOn attribute
DCondition statement
Step-by-Step Solution
Solution:
  1. Step 1: Identify cross-stack reference method

    ImportValue is the intrinsic function designed to import exported values from other stacks.
  2. Step 2: Differentiate from other functions

    Ref references resources within the same stack; DependsOn controls resource creation order; Condition controls resource creation based on conditions.
  3. Final Answer:

    ImportValue function -> Option A
  4. Quick Check:

    Cross-stack import uses ImportValue = C [OK]
Quick Trick: Use ImportValue to get exports from other stacks [OK]
Common Mistakes:
  • Using Ref to import cross-stack values
  • Confusing DependsOn with value import
  • Using Condition for cross-stack references

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes