Soru

Zorluk: OrtaMethods of Deploying and Operating in AWS

An online retail company is designing its operational procedures on AWS. The company has two key requirements:

1. A developer needs to write a custom Go application that programmatically transfers transaction records directly into an Amazon S3 bucket.
2. A DevOps engineer needs to define a reusable, text-based template to provision identical testing environments with VPCs and EC2 instances.

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

  1. AWS Software Development Kit (SDK) to programmatically upload transaction records from within the Go application codeCevap
  2. AWS CloudFormation to create template files that define and deploy the identical testing environmentsCevap
  3. C
    AWS Command Line Interface (CLI) to write the Go programming code that communicates directly with Amazon S3
  4. D
    AWS Elastic Beanstalk to manually write low-level JSON or YAML template files specifying the custom VPC and subnet resources
  5. E
    AWS Software Development Kit (SDK) embedded with the AWS Account Root User access keys to upload transaction records from the application

Cevap

AWS Software Development Kit (SDK) to programmatically upload transaction records from within the Go application code, and AWS CloudFormation to create template files that define and deploy the identical testing environments.
The correct options are using the AWS SDK for custom Go code integration and AWS CloudFormation for templated, repeatable environment deployments. The AWS SDK offers APIs tailored to programming languages like Go, making programmatic operations seamless. AWS CloudFormation allows users to define resource configurations in JSON or YAML templates to deploy infrastructure repeatedly and reliably.

Adım Adım Çözüm

1
Analyze the first requirement: writing a custom Go application to programmatically upload files.
Identify that the AWS Software Development Kit (SDK) is designed for writing code in programming languages (like Go) to interact programmatically with AWS services.
Integrating AWS service actions into application code requires language-specific SDK libraries.
2
Analyze the second requirement: defining reusable, text-based templates to provision identical testing environments.
Identify that AWS CloudFormation is the service used to write infrastructure templates (JSON or YAML) to deploy resources in a repeatable manner.
Infrastructure as Code (IaC) is implemented via CloudFormation templates in AWS.

Anahtar Kavram

Selecting the correct AWS interaction method (SDK, CloudFormation, CLI, Console) based on operational and deployment requirements.
Bu soruyu puanla