Question

Difficulty: MediumMethods of Deploying and Operating in AWS

A logistics company is designing an automated workflow with two main operational requirements:

1. A Python application running on a local server must programmatically upload delivery logs to an Amazon S3 bucket and trigger an AWS Lambda function.
2. The systems administration team must model, provision, and update the entire production infrastructure in a repeatable way using a single YAML template.

Which of the following AWS tools 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
    AWS CloudTrail
  5. E
    Amazon Elastic Block Store (EBS)

Answer

The AWS Software Development Kit (SDK) and AWS CloudFormation
The correct tools are the AWS Software Development Kit (SDK) and AWS CloudFormation. The AWS SDK enables developers to write Python code that programmatically communicates with AWS services like Amazon S3 and AWS Lambda. AWS CloudFormation enables systems administrators to define their entire infrastructure stack in a single YAML configuration template, ensuring repeatable and automated deployments.

Step-by-Step Solution

1
Identify the tool required for programmatic API integration from custom application code (Python).
The AWS Software Development Kit (SDK) is designed for writing code that interacts with AWS resources.
Allows programmatic uploads to Amazon S3 and triggers AWS Lambda from custom Python code.
2
Identify the tool required for repeatable infrastructure provisioning using YAML templates.
AWS CloudFormation is the declarative infrastructure as code (IaC) tool that accepts YAML templates.
Enables systems administrators to model and deploy resources in a repeatable manner.

Key Concept

Methods of deploying and operating in AWS, distinguishing between programmatic application access and declarative infrastructure provisioning.
Rate this question