Bird
0
0

Which AWS CLI command correctly creates an AMI from a running instance with ID i-1234567890abcdef0?

easy📝 Configuration Q12 of 15
AWS - EC2 Fundamentals
Which AWS CLI command correctly creates an AMI from a running instance with ID i-1234567890abcdef0?
Aaws ec2 start-image --instance i-1234567890abcdef0 --name MyServerImage
Baws ec2 launch-image --instance-id i-1234567890abcdef0 --name MyServerImage
Caws ec2 make-ami --id i-1234567890abcdef0 --image-name MyServerImage
Daws ec2 create-image --instance-id i-1234567890abcdef0 --name MyServerImage
Step-by-Step Solution
Solution:
  1. Step 1: Identify the correct AWS CLI command for creating an AMI

    The correct command is aws ec2 create-image with the instance ID and a name.
  2. Step 2: Match the command syntax with the options

    aws ec2 create-image --instance-id i-1234567890abcdef0 --name MyServerImage uses the correct command and parameters.
  3. Final Answer:

    aws ec2 create-image --instance-id i-1234567890abcdef0 --name MyServerImage -> Option D
  4. Quick Check:

    create-image + instance-id = create AMI [OK]
Quick Trick: Use 'create-image' with instance ID to make AMI [OK]
Common Mistakes:
MISTAKES
  • Using wrong command like start-image or launch-image
  • Mixing up parameter names
  • Omitting instance ID

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes