Bird
0
0

You try to start an EC2 instance with aws ec2 start-instances --instance-ids i-0abcdef1234567890 but get an error. Which of these is a likely cause?

medium📝 Debug Q7 of 15
AWS - CLI
You try to start an EC2 instance with aws ec2 start-instances --instance-ids i-0abcdef1234567890 but get an error. Which of these is a likely cause?
AThe instance is in a stopped state
BThe instance ID is invalid or does not exist
CThe AWS CLI command syntax is incorrect
DThe instance is already running
Step-by-Step Solution
Solution:
  1. Step 1: Understand possible reasons for start-instances error

    An invalid or non-existent instance ID causes errors when starting.
  2. Step 2: Evaluate other options

    If the instance is already running, the command succeeds or shows no error. Syntax errors cause different messages. Stopped state is valid for starting.
  3. Final Answer:

    The instance ID is invalid or does not exist -> Option B
  4. Quick Check:

    Invalid instance ID causes start error [OK]
Quick Trick: Check instance ID validity if start fails [OK]
Common Mistakes:
  • Assuming already running instance causes error
  • Ignoring instance ID correctness
  • Confusing syntax errors with resource errors

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes