DP-750 · Compute and Catalog Foundations
19 cards
Configuring Compute Performance
-
Quick check
Which compute component sets the maximum number of tasks Spark can process at the same time?
AThe inactivity period configured for the automatic termination setting
The inactivity period decides when an unused cluster stops; it adds no processing slots.
BThe idle-instance timeout configured on the pool
A pool timeout governs how long spare machines are kept warm, which affects startup rather than parallelism.
CThe total executor core count across the cluster's workers
Right. Cores are the processing slots for simultaneous tasks, and they are counted across all the workers in the cluster.
2 / 19
-
Quick check
A nightly job runs large joins and aggregations and keeps spilling data to disk. Which node family fits?
AMemory-optimized nodes, which give more memory per core
Right. Spill happens when the data does not fit in memory, and this family raises the memory available per core.
BCompute-optimized nodes, because heavy joins are mainly a processor problem
Extra processor power does not create room in memory, so the data would still spill.
CStorage-optimized nodes, since the data is already being written to local disk anyway
Faster disks make the spilling cheaper but leave the cause untouched; the goal is not to spill at all.
4 / 19
-
Quick check
With total cores and memory held equal, why can fewer large workers beat more small workers on a shuffle-heavy analytical job?
ABecause consolidating the capacity removes every write to local storage
Shuffle files are still written locally; the shape of the cluster does not eliminate that.
BBecause fewer, larger workers reduce the network traffic that shuffle operations generate
Right. More of the data sits where it is needed, so less of it crosses the network during shuffles.
CBecause the cluster then behaves as a single-node resource and skips distribution
Fewer workers is not the same as no workers: a multi-node cluster keeps distributing work across the machines it has.
7 / 19
-
Keep your progress in the app
That’s 3 of 8 quick checks. In the app they stay answered, and every lesson remembers where you left off.
-
Quick check
A production workload uses the same resources throughout every run. Operations wants predictable performance and simple capacity planning, and compute must stop once it goes idle. What fits?
AA fixed worker count together with automatic termination
Right. Steady demand does not benefit from scaling decisions, and termination separately removes the idle cost.
BAutoscaling with no inactivity termination configured on the cluster
Autoscaling suits demand that varies, and without termination the cluster keeps running once the work stops.
CMore, smaller workers and no termination setting at all, so the cluster is always ready
Changing worker shape does not answer the planning requirement, and an always-on cluster is exactly the idle cost to avoid.
10 / 19
-
Quick check
What happens when a cluster's automatic termination period elapses with no activity?
AThe cluster shrinks to its minimum worker count and waits
Reducing workers within a range is what autoscaling does; termination acts on the whole cluster.
BThe cluster stops and its configuration is preserved for a later restart
Right. The cluster is stopped so it stops costing, and its definition survives so it can be started again.
CThe workers go back to the instance pool while the driver node keeps running
Termination does not leave a driver running: that would keep exactly the idle cost the setting exists to remove.
12 / 19
-
Quick check
Classic clusters are created many times a day, startup delay is unacceptable, demand varies within each run, and the team accepts a controlled idle cost. Which configuration fits?
AA single-node cluster with a preloaded runtime version
Preloading helps a cluster start, but a single-node cluster cannot follow demand that varies during the run.
BA fixed cluster and a short inactivity timeout
A short timeout controls idle cost after the work ends; it does nothing for startup delay or for demand that changes mid-run.
CAn instance pool combined with autoscaling
Right. The pool supplies already provisioned machines for fast starts, and autoscaling adjusts the worker count while the run is in progress.
15 / 19
-
Quick check
A team sees heavy shuffle spill in the Spark UI on a cluster whose processors are barely used. What does the evidence point to?
ARaise the memory available to executors, since spill means the data did not fit
Right. Spill is a memory signal, and idle processors confirm that cores are not the constraint here.
BExtend the automatic termination period so stages have more time to finish
Termination governs idle clusters, not the duration or memory of a running stage.
CLower the pool's minimum idle instances to free capacity for the running job
Pool settings affect how quickly clusters start, not how much memory a running executor has.
17 / 19
-
Quick check
Which summary keeps the settings in their own lanes?
AAutoscaling moves workers with demand, termination stops an idle cluster but keeps its configuration, and a pool shortens startup at the cost of idle machines
Right. Demand, inactivity, and startup are three different triggers handled by three different settings.
BAutoscaling stops idle clusters, termination reduces the worker count, and a pool removes the virtual-machine cost of the machines it keeps warm
Those roles are swapped: termination is the inactivity setting, scaling is the demand setting, and warm pool machines are still billed as virtual machines.
CTermination deletes the cluster definition, a single-node cluster scales out, and GPU nodes are the answer to shuffle spill
The definition survives termination, single-node clusters have no workers to add, and spill is a memory problem rather than a graphics one.
19 / 19
-
8 quick checks · then the test
In the app, finishing the quick checks opens this lesson’s 10-question test, and the ones you miss come back exactly when you’re about to forget them.
The whole course, on your phone
Lessons you can read, audio you can listen to on the way to work, and practice that remembers what you got wrong.