0
0
AWScloud~20 mins

Installing AWS CLI - Practice Exercises

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
AWS CLI Installation Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding AWS CLI Installation Methods

Which of the following is the recommended method to install the AWS CLI on a Windows machine to ensure automatic updates?

ADownload and run the MSI installer from the official AWS website.
BUse the Windows Store to install the AWS CLI application.
CInstall AWS CLI using pip with the command <code>pip install awscli</code>.
DManually download the AWS CLI zip file and extract it to a folder.
Attempts:
2 left
💡 Hint

Consider which method is officially supported and provides easy updates.

Configuration
intermediate
1:30remaining
Verifying AWS CLI Installation on Linux

After installing AWS CLI version 2 on a Linux system, which command correctly verifies the installed version?

Aaws -v
Baws version
Cawscli --check-version
Daws --version
Attempts:
2 left
💡 Hint

Think about the standard way most command-line tools show their version.

Architecture
advanced
2:30remaining
Choosing AWS CLI Version for Automation Scripts

You need to write automation scripts that interact with AWS services on a macOS system. Which AWS CLI version should you install to ensure compatibility with the latest AWS features and long-term support?

AAWS CLI version 1 installed via pip.
BAWS CLI version 2 installed using the official bundled installer.
CAWS CLI version 1 installed using the macOS package manager Homebrew.
DAWS CLI version 2 installed manually by downloading the source code and compiling.
Attempts:
2 left
💡 Hint

Consider which version is actively maintained and officially recommended for new features.

security
advanced
2:00remaining
Securing AWS CLI Credentials After Installation

After installing AWS CLI on a Linux server, what is the best practice to securely store AWS credentials for automated scripts?

AStore AWS access keys in the <code>~/.aws/credentials</code> file with strict file permissions.
BUse the AWS CLI without credentials and rely on anonymous access.
CSet AWS access keys as environment variables globally for all users.
DEmbed AWS access keys directly inside the automation script source code.
Attempts:
2 left
💡 Hint

Think about protecting sensitive information and limiting access.

service_behavior
expert
2:30remaining
Effect of AWS CLI Version on Service Command Availability

You installed AWS CLI version 1 on a Windows machine. You try to run a command for a new AWS service released recently, but it fails with 'Unknown command'. What is the most likely reason?

AThe AWS service is not available in the region configured in AWS CLI.
BThe AWS CLI installation is corrupted and needs to be reinstalled.
CAWS CLI version 1 does not include commands for newly released AWS services; upgrading to version 2 is required.
DThe command syntax is incorrect and needs to be checked.
Attempts:
2 left
💡 Hint

Consider the relationship between AWS CLI versions and service support.