Bird
0
0

You run aws ec2 describe-instances --output txt and get an error. What is the problem?

medium📝 Debug Q6 of 15
AWS - CLI
You run aws ec2 describe-instances --output txt and get an error. What is the problem?
AAWS CLI version does not support output option
BInvalid output format 'txt'; should be 'text'
CMissing required parameters for describe-instances
DCommand syntax is correct; error is unrelated
Step-by-Step Solution
Solution:
  1. Step 1: Check the output format spelling

    The correct output format is 'text', not 'txt'.
  2. Step 2: Understand error cause

    Using 'txt' causes AWS CLI to reject the command due to invalid format.
  3. Final Answer:

    Invalid output format 'txt'; should be 'text' -> Option B
  4. Quick Check:

    Output format must be exact: 'text' not 'txt' [OK]
Quick Trick: Use exact output format names: text, json, or table [OK]
Common Mistakes:
  • Typing 'txt' instead of 'text'
  • Ignoring error messages

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes