0
0
AWScloud~10 mins

Configuring credentials in AWS - Interactive Practice

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

Complete the code to specify the AWS credentials file path.

AWS
aws configure set [1] ~/.aws/credentials
Drag options to blanks, or click blank then click option'
Acredential_file
Bprofile
Ccredentials_file
Dconfig_file
Attempts:
3 left
💡 Hint
Common Mistakes
Trying to set the credentials file path using 'aws configure set', which is not supported.
2fill in blank
medium

Complete the command to set the AWS access key ID.

AWS
aws configure set aws_access_key_id [1]
Drag options to blanks, or click blank then click option'
AAKIAIOSFODNN7EXAMPLE
Baccess_key
Cmy-secret-key
D1234567890
Attempts:
3 left
💡 Hint
Common Mistakes
Using the secret access key instead of the access key ID.
Using a placeholder like 'my-secret-key' instead of the actual key.
3fill in blank
hard

Fix the error in the AWS CLI command to set the default region.

AWS
aws configure set region [1]
Drag options to blanks, or click blank then click option'
Auswest2
Bus-west-2
Cus-west_2
Dus-west2
Attempts:
3 left
💡 Hint
Common Mistakes
Removing hyphens or replacing them with underscores.
Using region names without proper formatting.
4fill in blank
hard

Fill both blanks to configure a named profile with access key and secret key.

AWS
aws configure set aws_access_key_id [1] --profile [2]
Drag options to blanks, or click blank then click option'
AAKIAIOSFODNN7EXAMPLE
Bdefault
Cmyprofile
DwJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
Attempts:
3 left
💡 Hint
Common Mistakes
Swapping the access key and profile name.
Using 'default' when a named profile is required.
5fill in blank
hard

Fill all three blanks to configure AWS CLI with profile, region, and output format.

AWS
aws configure set region [1] --profile [2]
aws configure set output [3] --profile [2]
Drag options to blanks, or click blank then click option'
Ajson
Bus-east-1
Cdevprofile
Dtable
Attempts:
3 left
💡 Hint
Common Mistakes
Using the wrong region format.
Confusing output format options.
Not repeating the profile name in both commands.