Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
In a mixed Spark workload environment that includes both batch and streaming jobs, what is the best approach to configure dynamic allocation for optimal resource utilization?
A
Disable dynamic allocation and manually allocate resources for each job type to avoid any potential inefficiencies.
B
Utilize static partitioning exclusively for streaming jobs while applying dynamic allocation solely to batch jobs to minimize resource contention.
C
Create distinct resource pools for batch and streaming jobs, enabling dynamic allocation within each pool and adjusting settings based on the unique demands of each job type.
D
Apply dynamic allocation across the board with highly responsive scaling parameters to quickly adapt to varying workloads.