Bird
0
0

Which of the following is the correct AWS CLI command syntax to describe available AMIs?

easy📝 Syntax Q3 of 15
AWS - EC2 Fundamentals
Which of the following is the correct AWS CLI command syntax to describe available AMIs?
Aaws ec2 describe-images
Baws ec2 list-amis
Caws ec2 get-ami
Daws ec2 show-images
Step-by-Step Solution
Solution:
  1. Step 1: Recall AWS CLI commands for AMIs

    The correct command to list or describe AMIs is 'aws ec2 describe-images'.
  2. Step 2: Verify incorrect options

    Commands like 'list-amis', 'get-ami', or 'show-images' do not exist in AWS CLI.
  3. Final Answer:

    aws ec2 describe-images -> Option A
  4. Quick Check:

    Describe AMIs = aws ec2 describe-images [OK]
Quick Trick: Use 'describe-images' to list AMIs in AWS CLI [OK]
Common Mistakes:
  • Using non-existent commands like list-amis
  • Confusing describe with get
  • Incorrect command verbs

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes