CLF-C02 ยท Deploying on AWS and global infrastructure
Console, CLI, SDKs and APIs
When to use the AWS Management Console, the AWS CLI, AWS SDKs or direct API calls, and one-time operations versus repeatable processes.
Key points
- AWS Management Console: browser interface for exploring, learning and one-off tasks.
- AWS CLI: terminal commands, easy to put into shell scripts.
- AWS SDKs: application code (Python, Java, JavaScript) calls AWS.
- Direct API calls: HTTPS requests to service endpoints; the CLI and SDKs wrap them.
- Console clicks are hard to repeat; repeatable processes belong in scripts, code or infrastructure as code.
Source: https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-welcome.html
Practice questions
Which AWS access method is a browser-based graphical interface?
- AWS CLI
- AWS Management Console
- AWS SDK for Python
- AWS CloudFormation
Show answer
Answer: B. AWS Management Console
The AWS Management Console is the web interface. The CLI is text commands in a terminal, the SDKs are libraries for code, and CloudFormation is an infrastructure as code service, not a general interface.
Which of these are ways to access AWS services programmatically?
- The AWS CLI
- The AWS Management Console
- The AWS SDKs
- Direct calls to AWS service APIs
- The AWS Health Dashboard
Show answer
Answer: A. The AWS CLI, C. The AWS SDKs, D. Direct calls to AWS service APIs
The AWS CLI, the AWS SDKs and direct HTTPS calls to the service APIs are all programmatic access. The Management Console is interactive and graphical, and the AWS Health Dashboard shows service status rather than providing access to services.
The AWS CLI can manage only a small subset of what the AWS Management Console can do, so infrastructure administration must be done in the browser.
Show answer
Answer: False
False. The CLI gives direct access to the public AWS APIs, and AWS states that infrastructure administration functions in the console are also available through the API and CLI.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
