Question

You create an Auto Scaling Group which is used to spin up instances on demand. As an architect, you need to ensure that the instances are pre-installed with software when they are launched. What are the different ways to achieve this? (Select Two)

Options

  1. Add the software installation to the configuration for the Auto Scaling Group.
  2. Add the scripts for the installation in the User data section.
  3. Create an AMI and then create a launch configuration.
  4. Ask the IT operations team to install the software as soon as the instance is launched.

Correct Answer

2,3

Explanation

The User data section of an instance launch can be used to pre-configure software after the instance is initially booted. Also, you can create an AMI or a golden image with the already installed software. Then create a launch configuration which can be used by that Auto Scaling Group.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.