Bird
0
0

Consider this parameter:

medium📝 Predict Output Q5 of 15
AWS - CloudFormation
Consider this parameter:
"Parameters": {"SubnetIds": {"Type": "List"}}

If a user inputs subnet-12345,subnet-67890, what type of value will SubnetIds hold?
AA list/array of subnet ID strings
BA single string with comma-separated subnet IDs
CAn integer count of subnets
DA boolean indicating if subnets exist
Step-by-Step Solution
Solution:
  1. Step 1: Understand List parameter types in CloudFormation

    List types split comma-separated input into an array of strings.
  2. Step 2: Analyze the input and expected parameter value

    Input "subnet-12345,subnet-67890" becomes a list with two subnet ID strings.
  3. Final Answer:

    A list/array of subnet ID strings -> Option A
  4. Quick Check:

    List parameter input = array of strings [OK]
Quick Trick: List types split comma-separated input into arrays [OK]
Common Mistakes:
  • Treating List type as a single string
  • Expecting numeric or boolean values
  • Confusing List with CommaDelimitedList

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes