Bird
0
0

You run this AWS CLI command:

medium📝 Predict Output Q4 of 15
AWS - EC2 Fundamentals
You run this AWS CLI command:
aws ec2 create-image --instance-id i-1234567890abcdef0 --name MyBackup
What will be the result?
AThe instance is terminated after image creation
BAn AMI named MyBackup is created from the instance
CThe instance is stopped and backed up automatically
DA snapshot of the instance's root volume is created only
Step-by-Step Solution
Solution:
  1. Step 1: Understand create-image command

    This command creates an AMI from the specified instance without stopping or terminating it.
  2. Step 2: Clarify what happens to the instance and storage

    The instance continues running; the command creates an AMI including snapshots of volumes.
  3. Final Answer:

    An AMI named MyBackup is created from the instance -> Option B
  4. Quick Check:

    create-image = AMI creation, instance runs [OK]
Quick Trick: create-image makes AMI, instance stays running [OK]
Common Mistakes:
MISTAKES
  • Assuming instance stops or terminates
  • Thinking only snapshots are created
  • Confusing AMI creation with backup

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes