SOA-C02 exam dumps

SOA-C02 practice question 154 of 341

AWS Certified SysOps Administrator - Associate. Associate level, Amazon Web Services. Free question with the correct answer and a full explanation.

SOA-C02 Question 154

Single answer

A company wants to automate the deployment and configuration of its web application infrastructure, including EC2 instances, security groups, and an RDS database. The company also requires the ability to roll back changes in case of deployment failures. Which AWS service or combination of services should be used to achieve this?

  1. A

    AWS CloudFormation

  2. B

    AWS Systems Manager Run Command

  3. C

    AWS Elastic Beanstalk

  4. D

    AWS CodeDeploy

Show answer and explanation

Correct answer: A

Explanation

AWS CloudFormation is the ideal service for automating the deployment and configuration of infrastructure, as it enables you to define resources as code, manage dependencies, and automatically roll back changes in case of failures. This makes it a comprehensive solution for the scenario described.

  • A. Correct.

    AWS CloudFormation is the best choice for automating infrastructure deployment and configuration. It allows you to define infrastructure as code, manage dependencies, and roll back changes automatically in case of deployment failures.

  • B. Incorrect.

    AWS Systems Manager Run Command is useful for automating tasks on existing resources, such as running scripts or commands, but it does not create or manage infrastructure as code.

  • C. Incorrect.

    AWS Elastic Beanstalk simplifies application deployment but is limited to certain use cases, such as deploying web applications. It does not provide the same level of control over infrastructure as CloudFormation does.

  • D. Incorrect.

    AWS CodeDeploy is designed for automating application deployments but does not handle infrastructure provisioning, configuration, or rollback of infrastructure changes.

Timed practice exam

Take a SOA-C02 practice test under exam conditions

65 questions in 130 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam