
Answer-first summary for fast verification
Answer: Adopt committed-use instances to leverage long-term discounts.
Committed-use instances offer the lowest cost for long-term projects, with discounts available for commitments of 1 or 3 years. Since the project will run for 12 months, it qualifies for these discounts. Preemptible instances, while cost-effective for batch processing, are unsuitable here due to their interruptible nature. Standard instances are the most expensive option, and switching to Cloud Functions would 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, which cannot tolerate interruptions, currently uses standard Compute Engine instances. With the goal of optimizing costs for the next twelve months, which option should you choose?
A
Switch from the standard compute instances to Cloud Functions.
B
Continue using the current set of instances as they are the most cost-effective.
C
Transition to preemptible instances for batch processing.
D
Adopt committed-use instances to leverage long-term discounts.