You manage a Dataproc cluster and need faster job completion while minimizing cost and preserving in-progress work. What change do you make?
Choose an answer
Tap an option to check your answer.
Correct answer: Increase the cluster size with preemptible worker nodes, and configure them to use graceful decommissioning..
Why this is the answer
Graceful decommissioning allows preemptible workers to finish their current tasks before being shut down, preserving in-progress work and preventing data loss. This balances cost savings (from using preemptible VMs) with job completion reliability. Increasing cluster size with non-preemptible workers would be more expensive. Forcibly decommissioning preemptible workers would interrupt jobs and lose work. While Cloud Monitoring (formerly Stackdriver) can trigger scripts, relying on external scripting for graceful shutdown is less integrated and more complex than Dataproc's built-in graceful decommissioning feature.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed