
Answer-first summary for fast verification
Answer: Move to committed-use instances
Committed use instances offer the lowest cost with a commitment of 1 or 3 years, making them ideal for a project running for 12 months to benefit from the discount. Preemptible instances, while cost-effective for batch processing, are unsuitable due to their interruptible nature, which contradicts the requirement. Standard instances are the most expensive option, and switching to Cloud Functions does not optimize costs due to the overhead of re-platforming the application. References: - [Preemptible Instances](https://cloud.google.com/compute/docs/instances/preemptible) - [Committed Use Discounts](https://cloud.google.com/compute/docs/instances/signing-up-committed-use-discounts)
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
A betting organization conducts nightly analysis of bets placed on its website, requiring a 5-hour processing window between midnight and 6am. The analysis utilizes standard Compute Engine instances that cannot tolerate interruptions. With the task of optimizing costs for the next twelve months, which option should you choose?
A
Switch from the standard compute instances to Cloud Functions.
B
Move to preemptible instances
C
Use the current set of instances because they are the cheapest.
D
Move to committed-use instances