AWS Certified Solutions Architect – Professional — Question 959
A company needs to run a software package that has a license that must be run on the same physical host for the duration of its use. The software package is only going to be used for 90 days. The company requires patching and restarting of all instances every 30 days.
How can these requirements be met using AWS?
Answer options
- A. Run a dedicated instance with auto-placement disabled.
- B. Run the instance on a dedicated host with Host Affinity set to Host.
- C. Run an On-Demand Instance with a Reserved Instance to ensure consistent placement.
- D. Run the instance on a licensed host with termination set for 90 days.
Correct answer: B
Explanation
Configuring an Amazon EC2 Dedicated Host with Host Affinity set to Host ensures that when the instance is stopped and started for its 30-day patching cycle, it will always launch back onto the same physical hardware, satisfying the licensing constraint. Dedicated Instances do not guarantee binding to the same physical host after a stop/start sequence, and Reserved Instances only offer billing discounts rather than physical placement guarantees. Option D refers to a non-existent AWS feature.