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.)
- AWS CloudFormation to define and provision the infrastructure resources using template filesCevap
- AWS SDK for Python (Boto3) to integrate programmatic AWS service calls directly inside the application codeCevap
- CAWS Management Console to manually configure the resources and run the application script
- DAWS Command Line Interface (CLI) to write custom shell scripts that run the application logic
- EAWS 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
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