
Explanation:
Correct Answer: C - Preemptible VMs offer the most cost-effective solution for this scenario, as the batch jobs are executed during a short, predictable time window each night. These VMs provide up to an 80% discount compared to standard instances, making them ideal for batch-processing tasks that can tolerate interruptions. Standard machine types ensure a balanced use of CPU and memory resources for efficient analysis.
Why not A? While GKE can run batch jobs, a single-node cluster with a small instance type may not utilize resources efficiently, leading to higher costs and slower performance.
Why not B? A three-node cluster with micro instance types on GKE might improve performance but micro instances lack the necessary CPU and memory for resource-intensive tasks, potentially increasing execution time and costs.
Why not D? Micro bursting is suited for tasks with sporadic high CPU demands, not consistent, long-running batch jobs, making it less cost-effective than preemptible VMs.
For more information, visit:
Ultimate access to all questions.
You are developing an application designed to identify suspicious financial transactions. Every night at 2 AM, you retrieve the previous day's financial transaction records from the database and execute a batch job to analyze these transactions. The batch jobs typically take about 2 hours to complete. Your goal is to minimize service costs. Which approach should you adopt?
A
B
C
Run the batch job on preemptible Compute Engine VMs with standard machine type.
D
Run the batch job on Compute Engine VM instance types that support micro bursting.
No comments yet.