Bird
0
0

Which command correctly sets the AWS CLI output format to text for a single command?

easy📝 Syntax Q3 of 15
AWS - CLI
Which command correctly sets the AWS CLI output format to text for a single command?
Aaws ec2 describe-instances --format text
Baws ec2 describe-instances -o json
Caws ec2 describe-instances --output text
Daws ec2 describe-instances --output table
Step-by-Step Solution
Solution:
  1. Step 1: Identify correct syntax for output option

    The correct option to specify output format is '--output' followed by the format name.
  2. Step 2: Match the correct format value

    To get text output, use '--output text'. aws ec2 describe-instances --output text matches this exactly.
  3. Final Answer:

    aws ec2 describe-instances --output text -> Option C
  4. Quick Check:

    Correct syntax for text output = --output text [OK]
Quick Trick: Use --output text to get plain text output [OK]
Common Mistakes:
  • Using --format instead of --output
  • Using -o with wrong format
  • Confusing table with text

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes