Q96 — AWS SAA-C03 Ch.10
Question 96 of 100 | ← Chapter 10
Q696. A company plans to migrate to AWS and use Amazon EC2 On-Demand Instances for its application. During the migration testing phase, a technical team observes that the application takes a long time to launch and load memory to become fully productive.Which solution will reduce the launch time of the application during the next testing phase?
- A. Launch two or more EC2 On-Demand Instances. Turn on auto scaling features and make the EC2 On- Demand Instances available during the next testing phase
- B. Launch EC2 Spot Instances to support the application and to scale the application so it is available during the next testing phase
- C. Launch the EC2 On-Demand Instances with hibernation turned on. Configure EC2 Auto Scaling warm pools during the next testing phase ✓
- D. Launch EC2 On-Demand Instances with Capacity Reservations. Start additional EC2 instances during the next testing phase
Correct Answer: C. Launch the EC2 On-Demand Instances with hibernation turned on. Configure EC2 Auto Scaling warm pools during the next testing phase
Explanation
To reduce the launch time of the application during the next testing phase when using Amazon EC2 On- Demand Instances, the following solution should be implemented:C. Launch the EC2 On-Demand Instances with hibernation turned on. Configure EC2 Auto Scaling warm pools during the next testing phase.Option C provides a solution to reduce the launch time of the application during the next testing phase:- Launch the EC2 On-Demand Instances with hibernation turned on: Hibernation allows EC2 instances to persist their in-memory state to Amazon Elastic Block Store (EBS) when they are stopped. By launching instances with hibernation turned on, the application's memory state can be saved to EBS, and when the instances are restarted, they can resume from where they left off. This reduces the time required for the application to load memory and become fully productive.- Configure EC2 Auto Scaling warm pools during the next testing phase: EC2 Auto Scaling warm pools allow you to keep a pool of pre-initialized instances ready to serve traffic. By configuring warm pools, you can ensure that instances are already up and running in advance, reducing the launch time when additional instances are needed during testing. This eliminates the need to wait for new instances to launch and load memory before they can become productive.Option A, launching two or more EC2 On-Demand Instances and turning on auto scaling features, may help with scaling the application but does not directly address the issue of reducing the launch time and loading memory during the testing phase.Option B, launching EC2 Spot Instances, does not guarantee the availability of instances and may not be suitable for a testing phase where consistent and reliable performance is required.Option D, launching EC2 On-Demand Instances with Capacity Reservations and starting additional instances during the next testing phase, does not directly address the issue of reducing launch time and loading memory.Therefore, the best solution is C: Launch the EC2 On-Demand Instances with hibernation turned on and configure EC2 Auto Scaling warm pools during the next testing phase. This solution leverages hibernation to preserve the memory state and utilizes warm pools to have pre-initialized instances ready, significantly reducing launch time and improving the productivity of the application.