Bird
0
0

Which of the following is the correct AWS CLI command to describe EC2 instance types for right-sizing?

easy📝 Syntax Q3 of 15
AWS - Cost Optimization
Which of the following is the correct AWS CLI command to describe EC2 instance types for right-sizing?
Aaws ec2 describe-instance-types
Baws ec2 list-instances
Caws ec2 get-instance-info
Daws ec2 show-instance-types
Step-by-Step Solution
Solution:
  1. Step 1: Recall AWS CLI commands for EC2

    The correct command to get instance type details is 'describe-instance-types'.
  2. Step 2: Eliminate incorrect commands

    'list-instances' is invalid, 'get-instance-info' and 'show-instance-types' do not exist.
  3. Final Answer:

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

    Correct CLI command = describe-instance-types [OK]
Quick Trick: Use 'describe-instance-types' to get EC2 specs [OK]
Common Mistakes:
  • Using non-existent commands
  • Confusing instance listing with type description
  • Misspelling AWS CLI commands

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes