Question

Difficulty: MediumMethods of Deploying and Operating in AWS

A logistics company is updating its operational workflows and has two new requirements:

First, an administrator needs to write shell scripts to automate the backup of local log files to Amazon S3 every night.
Second, a developer needs to write a custom application that programmatically creates Amazon DynamoDB tables from within Go application code.

Which of the following AWS deployment and operating methods are most appropriate to meet these requirements? (Select TWO.)

  1. AWS Command Line Interface (CLI)Answer
  2. AWS Software Development Kit (SDK)Answer
  3. C
    AWS Management Console
  4. D
    AWS CloudFormation
  5. E
    AWS Elastic Beanstalk

Answer

AWS Command Line Interface (CLI) and AWS Software Development Kit (SDK)
The AWS Command Line Interface (AWS CLI) is the most suitable tool for administrative tasks automated via shell scripts, such as scheduled daily file uploads to Amazon S3. The AWS Software Development Kit (AWS SDK) is the correct choice for developers who need to interact with AWS services programmatically using code libraries in languages like Go, Java, or Python.

Step-by-Step Solution

1
Analyze the first requirement to determine the best interaction method for shell scripting and automation of S3 backups.
The AWS Command Line Interface (CLI) is identified as the tool designed for shell scripting and executing commands directly from a terminal.
Shell scripts interact with AWS services via commands, which is the primary use case of the AWS CLI.
2
Analyze the second requirement to determine the best method for programmatically interacting with AWS services from inside custom Go application code.
The AWS Software Development Kit (SDK) is identified as the tool providing language-specific libraries (like Go) for application code integration.
Developers use SDKs to write application logic that creates, manages, or uses AWS resources programmatically.

Key Concept

AWS Deployment and Operating Methods (Console, CLI, SDK, CloudFormation)
Estimated Time:1m 30s
Rate this question