A startup is deploying a three-tier web application on AWS and needs to accomplish two operational tasks:
1. Define the infrastructure resources (such as Amazon VPCs and RDS databases) in a declarative template file to ensure consistent deployments across test and production environments.
2. Enable the web application's backend code to programmatically upload user files to Amazon Simple Storage Service (Amazon S3).
Which two AWS services or tools are best suited to meet these requirements? (Select TWO.)
- AWS CloudFormation to define infrastructure resources in a template fileCevap
- AWS Software Development Kit (AWS SDK) to programmatically upload files from the application codeCevap
- CAWS Elastic Beanstalk to define the infrastructure resources in a declarative template file
- DAWS Command Line Interface (AWS CLI) configured with root user access keys for programmatic application integration
- EAWS Management Console to upload files directly to an Amazon EBS volume
Cevap
AWS CloudFormation and AWS Software Development Kit (AWS SDK)
AWS CloudFormation enables Infrastructure as Code (IaC) to define resources in templates, ensuring consistent and repeatable deployments. The AWS SDK (Software Development Kit) provides APIs to programmatically integrate AWS services within application code, which is ideal for uploading files from the backend application.
Adım Adım Çözüm
Anahtar Kavram
AWS deployment and operating methods including Infrastructure as Code (IaC) and programmatic access.