Bird
0
0

What will be the state of an EC2 instance immediately after running this AWS CLI command?

medium📝 Predict Output Q13 of 15
AWS - EC2 Fundamentals
What will be the state of an EC2 instance immediately after running this AWS CLI command?
aws ec2 terminate-instances --instance-ids i-0abcdef1234567890
ARunning
BStopped
CTerminated
DPending
Step-by-Step Solution
Solution:
  1. Step 1: Understand the terminate-instances command

    This command deletes the instance permanently, changing its state to terminated.
  2. Step 2: Identify the resulting state

    After termination, the instance cannot be started again and is marked as terminated.
  3. Final Answer:

    Terminated -> Option C
  4. Quick Check:

    Terminate command = Terminated state [OK]
Quick Trick: Terminate means instance is deleted permanently [OK]
Common Mistakes:
MISTAKES
  • Thinking terminated means stopped
  • Confusing terminate with stop
  • Expecting instance to restart automatically

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes