Bird
0
0

You run aws ec2 describe-instances --output tab but get an error. What is the likely cause?

medium📝 Debug Q14 of 15
AWS - CLI
You run aws ec2 describe-instances --output tab but get an error. What is the likely cause?
AThe AWS CLI version does not support output formatting.
BThe command requires additional parameters to run.
CThe correct output format is 'table', not 'tab'.
DThe 'tab' output format is deprecated and replaced by 'text'.
Step-by-Step Solution
Solution:
  1. Step 1: Identify the valid output formats

    AWS CLI supports 'json', 'table', and 'text' as output formats. 'tab' is not valid.
  2. Step 2: Analyze the error cause

    Using 'tab' instead of 'table' causes a syntax error because 'tab' is not recognized.
  3. Final Answer:

    The correct output format is 'table', not 'tab'. -> Option C
  4. Quick Check:

    Valid formats: json, table, text [OK]
Quick Trick: Use 'table' not 'tab' for table output [OK]
Common Mistakes:
  • Typing 'tab' instead of 'table'
  • Assuming 'tab' is a valid alias
  • Ignoring error messages about output format

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes