An organization is seeking to optimize its deployment and administrative operations across several teams. They must address the following distinct operational requirements:
1. A developer is writing a custom Python application that runs on an Amazon EC2 instance and needs to dynamically upload log files to an Amazon S3 bucket.
2. A systems administrator needs to write a local bash script to automate the weekly termination of unutilized EC2 instances based on resource tags.
3. A cloud architect needs to define, version-control, and deploy a standardized multi-tier infrastructure environment consisting of Amazon VPC, EC2, and RDS across dev, test, and prod environments.
Which combination of AWS deployment and operating methods represents the most secure and appropriate solution to meet these requirements?
- The developer uses the AWS SDK (Boto3) within the Python code leveraging temporary credentials from an IAM Role attached to the EC2 instance; the systems administrator uses the AWS CLI in their bash script with credentials from a dedicated IAM User; the cloud architect uses AWS CloudFormation to declare and deploy the infrastructure using templates.Cevap
- BThe developer uses the AWS CLI called via Python OS commands with the access keys of the AWS Account Root User; the systems administrator uses the AWS SDK (Boto3) configured with an IAM Role on their local terminal; the cloud architect uses AWS Elastic Beanstalk to upload JSON files representing the raw VPC network topology.
- CThe developer uses the AWS SDK (Boto3) with hardcoded IAM User access keys in the source code; the systems administrator uses the AWS Management Console to manually execute the EC2 terminations weekly; the cloud architect uses AWS Elastic Beanstalk to declare, version-control, and provision the raw underlying infrastructure components.
- DThe developer uses the AWS CLI configured with an IAM Role attached directly to their local machine; the systems administrator uses AWS CloudFormation to execute the weekly instance terminations; the cloud architect uses custom Python code using the AWS SDK (Boto3) to provision the RDS and VPC resources in a series of loops.