Bird
0
0

Which AWS CLI command correctly stops a running EC2 instance with ID i-1234567890abcdef0?

easy📝 Syntax Q12 of 15
AWS - EC2 Fundamentals
Which AWS CLI command correctly stops a running EC2 instance with ID i-1234567890abcdef0?
Aaws ec2 terminate-instances --instance-ids i-1234567890abcdef0
Baws ec2 reboot-instances --instance-ids i-1234567890abcdef0
Caws ec2 start-instances --instance-ids i-1234567890abcdef0
Daws ec2 stop-instances --instance-ids i-1234567890abcdef0
Step-by-Step Solution
Solution:
  1. Step 1: Identify command to stop instance

    The command to stop an instance is stop-instances.
  2. Step 2: Match instance ID usage

    The command must include --instance-ids i-1234567890abcdef0 to specify the instance.
  3. Final Answer:

    aws ec2 stop-instances --instance-ids i-1234567890abcdef0 -> Option D
  4. Quick Check:

    Stop instance = stop-instances command [OK]
Quick Trick: Stop instance uses 'stop-instances' command [OK]
Common Mistakes:
  • Using terminate instead of stop
  • Using start instead of stop
  • Using reboot instead of stop

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes