Soru

Zorluk: ZorMethods of Deploying and Operating in AWS

A financial startup is planning to deploy its multi-tier application infrastructure on AWS. The startup has the following requirements:
1. The infrastructure must be defined as declarative templates that are version-controlled and can be repeated across development, testing, and production environments with zero manual intervention.
2. The application's custom Python code must programmatically interact with Amazon S3 to upload reports and write transactions to an Amazon DynamoDB table.

Which two AWS deployment and management methods or tools should the startup use to meet these requirements? (Select TWO.)

  1. AWS CloudFormation to define and provision the infrastructure resources using template filesCevap
  2. AWS SDK for Python (Boto3) to integrate programmatic AWS service calls directly inside the application codeCevap
  3. C
    AWS Management Console to manually configure the resources and run the application script
  4. D
    AWS Command Line Interface (CLI) to write custom shell scripts that run the application logic
  5. E
    AWS OpsWorks to write Chef recipes for provisioning the application code and cloud resources

Cevap

The correct options are the one indicating AWS CloudFormation to define and provision the infrastructure resources using templates, and the one indicating AWS SDK for Python (Boto3) to integrate programmatic service calls.
AWS CloudFormation is correct because it provides a template-based JSON/YAML declarative model to manage and version-control infrastructure as code, satisfying the requirement for zero manual intervention and repeatability. The AWS SDK for Python (Boto3) is correct because it provides native programming libraries to interact programmatically with AWS services (S3 and DynamoDB) from within custom application code.

Adım Adım Çözüm

1
Analyze the first requirement: deploying infrastructure using declarative templates that are version-controlled and repeatable across environments with zero manual intervention.
Identify AWS CloudFormation as the service designed for infrastructure as code (IaC) that meets these exact needs.
AWS CloudFormation allows developers to write JSON or YAML templates to provision resources consistently.
2
Analyze the second requirement: enabling custom Python code to programmatically interact with Amazon S3 and Amazon DynamoDB.
Identify the AWS SDK for Python (Boto3) as the programmatic API interface for custom application integration.
AWS SDKs are designed for applications to make API calls to AWS services, whereas the CLI and Console are intended for administrative and manual tasks respectively.

Anahtar Kavram

AWS CloudFormation is used for infrastructure as code to deploy repeatable environments, while the AWS SDK is used for writing custom code that programmatically interacts with AWS services.
Tahmini Süre:2m 0s
Bu soruyu puanla