SOA-C02 Question 122
Single answerAn organization has an application stack running on Amazon EC2 instances behind an Application Load Balancer (ALB). The SysOps Administrator is tasked with automating the deployment of the application, ensuring that future changes to the EC2 instances and ALB settings are automatically applied and version-controlled. Which solution will meet these requirements with the least operational overhead?
- A
Use AWS Elastic Beanstalk to deploy and manage the application stack.
- B
Manually configure the EC2 instances and ALB settings, and use AWS Config to track changes.
- C
Create an AWS CloudFormation template to define the resources and deploy the stack.
- D
Use AWS Systems Manager to apply changes to the EC2 instances and ALB settings.
Show answer and explanation
Correct answer: C
Explanation
AWS CloudFormation is the most suitable solution for automating the deployment and management of the application stack, as it allows you to define the infrastructure as code. This ensures consistency, version control, and minimal operational overhead when applying changes. Other options either do not fully meet the requirements or introduce unnecessary manual effort.
- A. Incorrect.
AWS Elastic Beanstalk simplifies application deployment and management, but it abstracts away infrastructure-level configurations. It does not provide a fully version-controlled infrastructure as required in this scenario.
- B. Incorrect.
Manually configuring resources introduces operational overhead and increases the risk of human error. While AWS Config can track changes, it does not automate deployments or enforce consistency.
- C. Correct.
AWS CloudFormation allows you to define the application stack as code, ensuring that changes are version-controlled and automatically applied during stack updates. This meets the requirements of automation and version control with minimal operational overhead.
- D. Incorrect.
AWS Systems Manager can automate configuration management tasks, but it is not designed for provisioning or managing the infrastructure components like ALB and EC2 instances in this scenario.