Bird
0
0

A parameter is defined as:

medium📝 Debug Q7 of 15
AWS - CloudFormation
A parameter is defined as:
"Parameters": {"AppPort": {"Type": "Number", "MinValue": 1024, "MaxValue": 65535}}

What happens if a user inputs 80 for AppPort?
APort value is automatically adjusted to 1024
BStack creation succeeds with port 80
CStack creation succeeds but with a warning
DStack creation fails due to MinValue violation
Step-by-Step Solution
Solution:
  1. Step 1: Understand MinValue constraint on Number parameters

    MinValue enforces the minimum allowed number; values below cause errors.
  2. Step 2: Check if input 80 violates MinValue 1024

    80 is less than 1024, so it violates the constraint.
  3. Final Answer:

    Stack creation fails due to MinValue violation -> Option D
  4. Quick Check:

    MinValue enforces minimum input, invalid inputs fail [OK]
Quick Trick: MinValue and MaxValue enforce numeric input limits [OK]
Common Mistakes:
  • Assuming invalid values auto-correct
  • Expecting warnings instead of errors
  • Ignoring MinValue constraints

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes