Google Cloud Associate Cloud Engineer — Question 41
You need to select and configure compute resources for a set of batch processing jobs. These jobs take around 2 hours to complete and are run nightly. You want to minimize service costs. What should you do?
Answer options
- A. Select Google Kubernetes Engine. Use a single-node cluster with a small instance type.
- B. Select Google Kubernetes Engine. Use a three-node cluster with micro instance types.
- C. Select Compute Engine. Use preemptible VM instances of the appropriate standard machine type.
- D. Select Compute Engine. Use VM instance types that support micro bursting.
Correct answer: C
Explanation
The correct answer is C because preemptible VM instances are significantly cheaper than regular instances, making them ideal for cost-sensitive batch processing jobs that can tolerate interruptions. Options A and B involve Google Kubernetes Engine, which may not be the most cost-effective solution for short-lived jobs. Option D, while potentially cost-effective, does not provide the same level of savings as using preemptible VMs for batch processing.