0
0
AWScloud~10 mins

AWS Trusted Advisor recommendations - Interactive Code Practice

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

Complete the code to check Trusted Advisor checks using AWS CLI.

AWS
aws support describe-trusted-advisor-checks --language [1]
Drag options to blanks, or click blank then click option'
Aen
Bjson
Cus
Dall
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'json' instead of a language code.
Using 'all' which is not a valid language parameter.
2fill in blank
medium

Complete the code to get the Trusted Advisor check result by check ID.

AWS
aws support describe-trusted-advisor-check-result --check-id [1] --language en
Drag options to blanks, or click blank then click option'
Aall-checks
Ben
Ccheck-result
D12345678-1234-1234-1234-123456789012
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'en' as check ID.
Using 'all-checks' which is not a valid check ID.
3fill in blank
hard

Fix the error in the AWS CLI command to refresh Trusted Advisor checks.

AWS
aws support refresh-trusted-advisor-check --check-id [1]
Drag options to blanks, or click blank then click option'
A1234
Brefresh
Call
Den
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'refresh' as a check ID.
Using 'en' which is a language code, not a check ID.
4fill in blank
hard

Fill both blanks to create a JSON filter for Trusted Advisor checks with status 'error'.

AWS
{"checks": [[1]], "status": "[2]"}
Drag options to blanks, or click blank then click option'
A"checkId": "12345678-1234-1234-1234-123456789012"
Bwarning
Cerror
D"checkId": "87654321-4321-4321-4321-210987654321"
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'warning' instead of 'error' for status.
Using invalid checkId format.
5fill in blank
hard

Fill all three blanks to create a Python dictionary for filtering Trusted Advisor checks by category and status.

AWS
filter_criteria = {"category": "[1]", "status": "[2]", "checkId": "[3]"}
Drag options to blanks, or click blank then click option'
Acost_optimizing
Bsecurity
Cerror
D12345678-1234-1234-1234-123456789012
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'security' category when filtering cost checks.
Using 'warning' instead of 'error' status.