Question

Difficulty: EasyMethods of Deploying and Operating in AWS

A company is transitioning from manual infrastructure administration to automated, code-based operations. They want to accomplish two specific tasks: first, they need to write a shell script to automate the creation of Amazon S3 buckets from their local command line; second, they need to build a custom application in Python that programmatically uploads files to those buckets. Which two of the following AWS deployment and operating methods should the company use?

  1. AWS Command Line Interface (AWS CLI)Answer
  2. AWS Software Development Kits (AWS SDKs)Answer
  3. C
    AWS Management Console
  4. D
    AWS CloudFormation
  5. E
    AWS Artifact

Answer

The correct methods are the AWS Command Line Interface (AWS CLI) and AWS Software Development Kits (AWS SDKs).
The AWS Command Line Interface (AWS CLI) enables terminal-based automation and scripting, which is ideal for the shell script requirement. AWS Software Development Kits (AWS SDKs) provide language-specific libraries that allow custom application code to interact programmatically with AWS resources, matching the Python application requirement.

Step-by-Step Solution

1
Analyze the first requirement: automating bucket creation via a shell script from the local command line.
Identify that the AWS Command Line Interface (AWS CLI) is the correct tool for terminal-based scripting.
The AWS CLI is specifically designed to execute commands and script operations directly from a terminal.
2
Analyze the second requirement: building a custom Python application to programmatically upload files.
Identify that AWS Software Development Kits (AWS SDKs) are the correct tools for application code integration.
AWS SDKs provide libraries in various programming languages (such as Boto3 for Python) to allow application code to interact programmatically with AWS services.

Key Concept

Methods of Deploying and Operating in AWS
Estimated Time:45s
Rate this question