Bird
0
0

Which of the following is the correct syntax to display AWS CLI command output in a table format?

easy📝 Configuration Q12 of 15
AWS - CLI
Which of the following is the correct syntax to display AWS CLI command output in a table format?
Aaws ec2 describe-instances --output table
Baws s3 ls --output text
Caws iam list-users --format table
Daws lambda list-functions --output json
Step-by-Step Solution
Solution:
  1. Step 1: Identify the correct option for table output

    The AWS CLI uses --output table to format output as a table.
  2. Step 2: Check each option's syntax

    aws ec2 describe-instances --output table uses --output table correctly. aws iam list-users --format table uses --format which is invalid. Options B and D use other formats.
  3. Final Answer:

    aws ec2 describe-instances --output table -> Option A
  4. Quick Check:

    Table output uses --output table [OK]
Quick Trick: Use --output table for readable tables [OK]
Common Mistakes:
  • Using --format instead of --output
  • Confusing text and table output options
  • Missing the --output flag entirely

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes