SOA-C02 exam dumps

SOA-C02 practice question 149 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 149

Single answer

Your team frequently provisions EC2 instances with a specific configuration, including installing custom software, applying security patches, and configuring environment variables. The team has been doing this manually for each instance, which is time-consuming and error-prone. As an AWS SysOps Administrator, how can you automate this process most effectively?

  1. A

    Use an AWS CloudFormation template to define the EC2 instance configuration and automate the provisioning process.

  2. B

    Write a custom Python script to launch EC2 instances and configure them using the AWS SDK.

  3. C

    Manually create an Amazon Machine Image (AMI) with the desired configuration and use it to launch new EC2 instances.

  4. D

    Use AWS Config to automate the deployment and configuration of EC2 instances.

Show answer and explanation

Correct answer: A

Explanation

AWS CloudFormation is the optimal solution for automating the provisioning and configuration of EC2 instances. It allows you to define the infrastructure as code, ensuring repeatability, consistency, and reduced manual intervention while leveraging native AWS tools. Other options either require more manual effort or are not designed for this specific use case.

  • A. Correct.

    Using an AWS CloudFormation template is the most effective way to automate provisioning and configuring EC2 instances. It allows you to define the infrastructure as code, ensuring consistency and reducing manual effort.

  • B. Incorrect.

    While a custom Python script using the AWS SDK could work, it requires significant development effort and maintenance compared to the native automation capabilities provided by AWS CloudFormation.

  • C. Incorrect.

    Manually creating an AMI with the desired configuration can be helpful for saving time when launching instances, but the process of creating and updating the AMI itself is not automated, making it less effective for repeatable automation.

  • D. Incorrect.

    AWS Config is a service focused on compliance and monitoring configuration changes, not automating infrastructure deployment or instance configuration.

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