
Explanation:
To adjust the number of preemptible (secondary) worker nodes in a Cloud Dataproc cluster, use the gcloud dataproc clusters update command with the --num-secondary-workers parameter. This allows for flexibility in managing your cluster's resources post-creation. The --num-workers parameter is reserved for modifying the count of primary (non-preemptible) workers, and there is no --preemptible-vms parameter in the gcloud dataproc command. For more details, refer to the Google Cloud SDK documentation.
Your Cloud Dataproc cluster is under a heavier workload than usual, and you're considering adding several preemptible VMs as worker nodes to handle the load. Which command should you use?
A
gcloud dataproc clusters update with the --num-workers parameter
B
The number of preemptible nodes in a Cloud Dataproc cluster cannot be changed once the cluster is created.
C
gcloud dataproc clusters update with the --preemptible-vms parameter
D
gcloud dataproc clusters update with the --num-secondary-workers parameter
No comments yet.