SOA-C02 Question 156
Select 2You are managing an application that requires consistent deployment of infrastructure and applications across multiple AWS accounts. You need a solution to automate the deployment of both the infrastructure and application code while ensuring that the application configurations remain consistent. Which combination of services is best suited to achieve this?
- A
AWS CloudFormation and AWS Systems Manager
- B
AWS Elastic Beanstalk and AWS Lambda
- C
AWS CodeDeploy and AWS CloudFormation
- D
AWS Systems Manager and AWS CodePipeline
- E
AWS OpsWorks and AWS Systems Manager
Show answer and explanation
Correct answers: A, C
Explanation
To automate deployment processes across AWS accounts while ensuring consistency, a combination of AWS CloudFormation and AWS Systems Manager (for infrastructure and configuration) or AWS CodeDeploy and AWS CloudFormation (for application and infrastructure automation) is ideal. These combinations leverage infrastructure as code and automation tools to streamline deployment processes effectively.
- A. Correct.
AWS CloudFormation allows you to automate the provisioning of infrastructure, while AWS Systems Manager helps manage configurations and automate operational tasks, ensuring consistency across accounts.
- B. Incorrect.
AWS Elastic Beanstalk simplifies application deployment but does not offer granular control over infrastructure provisioning, making it less suitable for consistent infrastructure and application automation.
- C. Correct.
AWS CodeDeploy automates application deployments, while AWS CloudFormation handles infrastructure provisioning. Together, they provide a robust solution for automating both infrastructure and application deployment.
- D. Incorrect.
AWS Systems Manager helps automate operational tasks but does not handle application deployment workflows. AWS CodePipeline is better suited for orchestrating CI/CD pipelines rather than automating consistent infrastructure and application configurations.
- E. Incorrect.
AWS OpsWorks is primarily used for managing configurations with Chef or Puppet and does not efficiently handle infrastructure provisioning. Combining it with AWS Systems Manager wouldn't fully meet the requirements in the scenario.