Bird
0
0

Which of the following is the correct AWS CLI command to start a stopped EC2 instance with ID i-0abcd1234efgh5678?

easy📝 Syntax Q3 of 15
AWS - EC2 Fundamentals
Which of the following is the correct AWS CLI command to start a stopped EC2 instance with ID i-0abcd1234efgh5678?
Aaws ec2 stop-instances --instance-ids i-0abcd1234efgh5678
Baws ec2 run-instances --instance-ids i-0abcd1234efgh5678
Caws ec2 start-instances --instance-ids i-0abcd1234efgh5678
Daws ec2 reboot-instances --instance-ids i-0abcd1234efgh5678
Step-by-Step Solution
Solution:
  1. Step 1: Identify command to start a stopped instance

    The command to start a stopped instance is 'start-instances'.
  2. Step 2: Match command with instance ID

    aws ec2 start-instances --instance-ids i-0abcd1234efgh5678 uses correct command and instance ID format.
  3. Final Answer:

    aws ec2 start-instances --instance-ids i-0abcd1234efgh5678 -> Option C
  4. Quick Check:

    Start stopped instance = start-instances command [OK]
Quick Trick: Use start-instances to power on stopped EC2 [OK]
Common Mistakes:
  • Using run-instances to start stopped
  • Using stop-instances instead of start
  • Confusing reboot with start

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes