Question

Difficulty: MediumMethods of Deploying and Operating in AWS

A company needs to adopt the appropriate AWS tools for two different operational requirements:

1. A developer wants to write a custom Python application that programmatically uploads data to Amazon S3.
2. A cloud engineer needs to define, version-control, and replicate their entire multi-tier environment (including networks and databases) using templates.

Which two tools or operating methods should the company use to meet these requirements? (Select TWO.)

  1. AWS Software Development Kit (SDK)Answer
  2. AWS CloudFormationAnswer
  3. C
    AWS Elastic Beanstalk
  4. D
    Amazon Elastic Block Store (Amazon EBS)
  5. E
    AWS Budgets

Answer

The company should use the AWS SDK for the programmatic Python script and AWS CloudFormation to define and replicate their infrastructure using templates.
The AWS SDK provides language-specific APIs (such as Boto3 for Python) that allow developers to programmatically interact with AWS services, making it the correct choice for the S3 upload script. AWS CloudFormation allows users to model and set up AWS resources using JSON or YAML templates, enabling version control and repeatable deployment of the entire multi-tier infrastructure.

Step-by-Step Solution

1
Identify the programmatic access requirement
Writing a custom Python script to interact programmatically with AWS services requires an API wrapper or library, which is the role of the AWS SDK.
The developer needs programmatical access rather than manual console interaction.
2
Identify the infrastructure templating requirement
Defining, version-controlling, and replicating an entire multi-tier environment using templates requires an Infrastructure as Code (IaC) tool, which is the role of AWS CloudFormation.
The cloud engineer needs a repeatable template-based deployment method.
3
Exclude incorrect options
AWS Elastic Beanstalk, Amazon EBS, and AWS Budgets do not meet these specific requirements.
Elastic Beanstalk is for web application hosting, Amazon EBS is block storage, and AWS Budgets is for cost management.

Key Concept

AWS deployment and operating methods including the AWS SDK and AWS CloudFormation.
Rate this question