You work with a video rendering application that publishes small tasks as messages to a Cloud Pub/Sub topic. You need to deploy the application that will execute these tasks on multiple virtual machines (VMs). Each task takes less than 1 hour to complete. The rendering is expected to be completed within a month. You need to minimize rendering costs. What should you do?
A. Deploy the application as a managed instance group.
B. Deploy the application as a managed instance group. Configure a Committed Use Discount for the amount of CPI and memory required.
C. Deploy the application as a managed instance group with Preemptible VMs.
D. Deploy the application as a managed instance group with Preemptible VMs. Configure Committed Use Discount for the amount of CPI and memory required.
Disclaimer
This is a practice question. There is no guarantee of coming this question in the certification exam.
Answer
C
Explanation
A. Deploy the application as a managed instance group.
B. Deploy the application as a managed instance group. Configure a Committed Use Discount for the amount of CPU and memory required.
(Minimum Committed Use Discount contract is 1 year, excessive for our workload spanning 1 month.)
C. Deploy the application as a managed instance group with Preemptible VMs.
(MIG for scaling, and Preemptible VMs for minimizing costs.)
D. Deploy the application as a managed instance group with Preemptible VMs. Configure Committed Use Discount for the amount of CPU and memory required.
(Minimum Committed Use Discount contract is 1 year, excessive for our workload spanning 1 month. Also, Preemptible VMs don’t qualify for CUD.)