200-901 Question 109
Single answerA developer is tasked with deploying a new application on a virtual machine using a cloud provider. The application requires a high amount of processing power but will only run intermittently. Which virtual machine option is the most cost-effective choice for this use case?
- A
On-demand virtual machines
- B
Reserved virtual machines
- C
Spot or preemptible virtual machines
- D
Dedicated host virtual machines
Show answer and explanation
Correct answer: C
Explanation
Spot or preemptible virtual machines are ideal for workloads that can handle interruptions and run intermittently, as they are priced significantly lower than on-demand or reserved instances. While they are not guaranteed to run continuously, their cost-effectiveness makes them a great choice for non-critical, high-performance tasks like the one described in the scenario.
- A. Incorrect.
On-demand virtual machines are flexible and require no long-term commitment, but they are more expensive compared to other options when the usage is intermittent.
- B. Incorrect.
Reserved virtual machines are cost-effective for predictable, long-term workloads but not suitable for intermittent applications since they require upfront or long-term commitments.
- C. Correct.
Spot or preemptible virtual machines are the most cost-effective option for intermittent workloads since they allow you to bid for unused capacity at a significantly lower cost. However, the trade-off is that they can be terminated by the cloud provider at any time.
- D. Incorrect.
Dedicated host virtual machines are the most expensive option and are typically used for compliance or licensing requirements, making them unsuitable for cost-sensitive, intermittent workloads.