0
0
AWScloud~10 mins

CLI output formats (json, table, text) in AWS - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to set the AWS CLI output format to JSON.

AWS
aws configure set output [1]
Drag options to blanks, or click blank then click option'
Axml
Btable
Ctext
Djson
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'table' or 'text' when JSON format is required.
Using unsupported formats like 'xml'.
2fill in blank
medium

Complete the code to display AWS CLI output in a table format.

AWS
aws s3 ls --output [1]
Drag options to blanks, or click blank then click option'
Atable
Bjson
Ctext
Dyaml
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'json' or 'text' instead of 'table' for table output.
Using unsupported formats like 'yaml'.
3fill in blank
hard

Fix the error in the command to output AWS CLI results as plain text.

AWS
aws ec2 describe-instances --output [1]
Drag options to blanks, or click blank then click option'
Ajson
Btext
Ctable
Dcsv
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'csv' which is not a supported AWS CLI output format.
Using 'json' or 'table' when plain text is needed.
4fill in blank
hard

Fill both blanks to configure AWS CLI to output in JSON and then list S3 buckets.

AWS
aws configure set output [1]
aws s3 ls --output [2]
Drag options to blanks, or click blank then click option'
Ajson
Btable
Ctext
Dyaml
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing output formats between commands.
Using unsupported formats like 'yaml'.
5fill in blank
hard

Fill all three blanks to set AWS CLI output to table, list EC2 instances in table format, and then switch output to text.

AWS
aws configure set output [1]
aws ec2 describe-instances --output [2]
aws s3 ls --output [3]
Drag options to blanks, or click blank then click option'
Ajson
Btable
Ctext
Dyaml
Attempts:
3 left
💡 Hint
Common Mistakes
Using inconsistent output formats in the first two commands.
Using unsupported formats like 'yaml'.