Your company runs a regional Standard GKE cluster called my-prod-cluster in us-central1. You must add a new node pool that uses preemptible e2-medium VMs placed only in zone us-central1-a, automatically scales between 1 and 5 nodes, and applies the taint dedicated=ml:NoSchedule to every node. Which gcloud command meets all of these requirements?
The correct command references the regional cluster with --region, restricts placement to a single zone with --node-locations, specifies the machine type and --preemptible flag, turns on autoscaling with --enable-autoscaling while setting both --min-nodes and --max-nodes, and defines the required taint in KEY=VALUE:EFFECT format. The other commands each violate at least one requirement: using --zone on a regional cluster, omitting the --preemptible flag, or supplying the wrong taint effect or missing autoscaling limits.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a GKE node taint?
Open an interactive chat with Bash
What does the preemptible flag do in GCP node pools?
Open an interactive chat with Bash
What is the difference between region and zone in GKE?
Open an interactive chat with Bash
What is the purpose of the --preemptible flag in GKE?
Open an interactive chat with Bash
How does --node-taints work in GKE, and what does NoSchedule mean?
Open an interactive chat with Bash
Why use --enable-autoscaling with --min-nodes and --max-nodes?
Open an interactive chat with Bash
GCP Associate Cloud Engineer
Ensuring successful operation of a cloud solution
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .