Bird
0
0

A developer wrote this command to enable Shield Advanced but it fails: 'aws shield create-protection --name TestResource'. What is missing?

medium📝 Debug Q7 of 15
AWS - Advanced Security
A developer wrote this command to enable Shield Advanced but it fails: 'aws shield create-protection --name TestResource'. What is missing?
AThe user must specify the protection type
BThe resource ARN parameter is missing
CThe AWS region is not specified
DThe command should be 'enable-protection' instead
Step-by-Step Solution
Solution:
  1. Step 1: Review required parameters for create-protection

    The command requires both a name and the resource ARN to identify what to protect.
  2. Step 2: Check the given command

    The command only includes the name, missing the resource ARN parameter.
  3. Final Answer:

    The resource ARN parameter is missing -> Option B
  4. Quick Check:

    Missing ARN causes create-protection failure [OK]
Quick Trick: Always include resource ARN when creating Shield protection [OK]
Common Mistakes:
  • Omitting resource ARN
  • Using wrong command name
  • Assuming region is mandatory in command

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes