ANS-C01 exam dumps

ANS-C01 practice question 222 of 513

AWS Certified Advanced Networking - Specialty. Expert level, Amazon Web Services. Free question with the correct answer and a full explanation.

ANS-C01 Question 222

Single answer

Your company is deploying a new application across multiple AWS accounts and regions. To ensure consistent and repeatable infrastructure, you decide to implement infrastructure automation. Which of the following approaches would best achieve this goal?

  1. A

    Use AWS CloudFormation templates to define and deploy the infrastructure across accounts and regions.

  2. B

    Manually create the resources in each AWS account and region using the AWS Management Console.

  3. C

    Write a custom script in Python using the AWS SDK (Boto3) and execute it in every account and region.

  4. D

    Leverage AWS Elastic Beanstalk to deploy the infrastructure across accounts and regions automatically.

Show answer and explanation

Correct answer: A

Explanation

AWS CloudFormation is a robust service designed for infrastructure automation. It allows you to define infrastructure as code (IaC), ensuring consistency, repeatability, and ease of deployment across multiple AWS accounts and regions. This makes it the best choice for automating infrastructure in this scenario.

  • A. Correct.

    AWS CloudFormation is specifically designed for infrastructure automation, allowing you to define and deploy infrastructure consistently and repeatably across multiple accounts and regions.

  • B. Incorrect.

    Manually creating resources is error-prone, time-consuming, and does not ensure consistency, making it unsuitable for infrastructure automation.

  • C. Incorrect.

    While a custom script could achieve some level of automation, it would require significant effort to build, maintain, and scale, making it less efficient compared to AWS CloudFormation.

  • D. Incorrect.

    AWS Elastic Beanstalk is primarily used for deploying web applications and managing application environments, not for automating infrastructure deployment across accounts and regions.

Timed practice exam

Take a ANS-C01 practice test under exam conditions

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

Start timed exam