To keep a mission-critical Spark Streaming job within a 1-minute latency objective, you run it on a persistent Dataproc cluster and attach a YARN-based autoscaling policy. Spikes must be absorbed quickly, but scale-downs must avoid repeatedly killing executors. Which policy setting combination best satisfies these constraints while balancing cost?
A high scale-up factor tells Dataproc to add enough workers to cover all pending YARN memory, so the cluster expands rapidly when traffic surges and protects the latency SLO. A low scale-down factor removes only a small fraction of the excess memory each evaluation cycle, preventing aggressive shrinkage that could thrash the job. Finally, a 30-minute graceful decommission timeout lets running tasks finish before workers are deleted, further protecting the streaming workload. The other options either scale up too slowly, scale down too aggressively, or terminate workers immediately, any of which risks missing the latency target or wasting resources.
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 does the scaleUpFactor represent in a YARN-based autoscaling policy?
Open an interactive chat with Bash
Why is a low scaleDownFactor important in maintaining workload stability?
Open an interactive chat with Bash
What is the purpose of the gracefulDecommissionTimeout setting in Dataproc autoscaling?
Open an interactive chat with Bash
What is YARN-based autoscaling in Dataproc?
Open an interactive chat with Bash
Why is a 30-minute graceful decommission timeout important for Spark Streaming jobs?
Open an interactive chat with Bash
What are scaleUpFactor and scaleDownFactor in Dataproc autoscaling policies?
Open an interactive chat with Bash
GCP Professional Data Engineer
Maintaining and automating data workloads
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 $11.99
$11.99/mo
Billed monthly, Cancel any time.
$19.99 after promotion ends
3 Month Pass
$44.99 $26.99
$8.99/mo
One time purchase of $26.99, Does not auto-renew.
$44.99 after promotion ends
Save $18!
MOST POPULAR
Annual Pass
$119.99 $71.99
$5.99/mo
One time purchase of $71.99, Does not auto-renew.
$119.99 after promotion ends
Save $48!
BEST DEAL
Lifetime Pass
$189.99 $113.99
One time purchase, Good for life.
Save $76!
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .