Bird
0
0

Given this parameter definition:

medium📝 Predict Output Q4 of 15
AWS - CloudFormation
Given this parameter definition:
"Parameters": {"InstanceCount": {"Type": "Number", "Default": 2}}

What will be the value of InstanceCount if the user does not provide any input during stack creation?
A0
B1
C2
Dnull
Step-by-Step Solution
Solution:
  1. Step 1: Understand the Default property in parameters

    If a user does not provide a value, CloudFormation uses the Default value specified.
  2. Step 2: Check the Default value for InstanceCount

    The Default is set to 2, so the parameter value will be 2 if no input is given.
  3. Final Answer:

    2 -> Option C
  4. Quick Check:

    Parameter default value = 2 [OK]
Quick Trick: Default value is used when no input is provided [OK]
Common Mistakes:
  • Assuming default is zero if not specified
  • Thinking parameter becomes null without input
  • Confusing Default with AllowedValues

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes