3.1 - Ways to interact with AWS (Console, CLI, SDK)
AWS Certified Cloud Practitioner objective 3.1 covers the ways to interact with and manage AWS services. The AWS Management Console is the web user interface for pointing and clicking. The AWS Command Line Interface (CLI) lets you interact with AWS services from a terminal using text commands, which is scriptable and repeatable. AWS SDKs let applications call AWS programmatically from code in languages like Python or JavaScript. AWS CloudShell gives a browser-based command-line shell pre-authenticated with your console credentials, so you can run CLI commands with nothing to install. You should know that the Console and the CLI are both valid ways to manage services, and that CLI and SDKs are the programmatic options versus the graphical console. Expect scenario questions that describe clicking a UI, scripting from a terminal, calling AWS from code, or a pre-authenticated browser shell, and ask which access method fits.
Point-and-click web UI = Management Console. Terminal text commands = CLI (scriptable). Call AWS from application code = SDKs. Browser shell pre-authenticated, nothing to install = CloudShell.
Practice questions
1. Which tool lets you interact with AWS services from a terminal using commands and scripts?
- AWS Management Console
- AWS Personal Health Dashboard
- Amazon QuickSight
- AWS Command Line Interface (CLI) (correct answer)
The AWS CLI runs commands to manage services and automate tasks. The Console is the web UI; SDKs let apps call AWS from code.
2. Which tool lets you interact with AWS services from a terminal using text commands and scripts?
- AWS Management Console
- AWS Cost Explorer
- AWS Command Line Interface (CLI) (correct answer)
- AWS Trusted Advisor
The AWS CLI lets you control AWS services and automate tasks through text commands and scripts from a terminal.
3. Which service gives a browser-based command-line shell pre-authenticated with your AWS console credentials?
- AWS CloudShell (correct answer)
- AWS Systems Manager
- Amazon CloudWatch
- AWS Config
AWS CloudShell is a browser-based shell in the console, already authenticated with your credentials and preloaded with the AWS CLI and tools — no local setup needed.
4. Which TWO options are valid ways to interact with and manage AWS services? (Choose two.)
- Editing physical rack cables in the data center
- The AWS Management Console (web UI) (correct answer)
- The AWS Command Line Interface (CLI) (correct answer)
- Mailing configuration forms to AWS
You interact with AWS through the Management Console, the CLI, and SDKs/APIs. Customers never touch physical hardware, and there is no mail-in configuration process.
5. Which tool lets you manage AWS services from the command line by scripting API calls?
- AWS Management Console
- AWS CLI (correct answer)
- AWS Trusted Advisor
- AWS Health Dashboard
The AWS CLI (Command Line Interface) lets you control AWS services and automate tasks through scripted commands and API calls.
6. Which tool provisions your entire infrastructure from a template so environments are reproducible, supporting operational excellence?
- AWS CloudFormation (correct answer)
- Amazon QuickSight
- AWS Trusted Advisor
- Amazon Athena
AWS CloudFormation defines infrastructure as code in templates, provisioning resources consistently and enabling the 'operations as code' principle. QuickSight is BI; Athena queries S3 with SQL.