Certified Associate Developer for Apache Spark Practice Test 75
Question 740
At Aspen Public Services, while debugging a failed notebook (fictional study case R280-C148-1), a pipeline suffers long skewed sort-merge tasks even though supported runtime skew handling is available. The change owner wants to avoid damaging unrelated tables, jobs or access. Which change boundary BEST limits the correction to the affected Spark workload? Select ONE best answer. This is unofficial original Spark educational practice, not a real certification item.
- Tune only adaptive post-shuffle partition sizing.
- Document and tune the specific join, not universal planner behavior.
- Limit work to adaptive plan monitoring for this query.
- Enable/tune AQE for this workload under measured change control.
Explanation
Correct Answer
D:Keep scope tied to the actual issue: A pipeline suffers long skewed sort-merge tasks even though supported runtime skew handling is available. The bounded intervention is: Enable/tune AQE for this workload under measured change control. Confirm: Large skewed tasks are reduced while output remains identical.
Incorrect Answers
A:Tune only adaptive post-shuffle partition sizing. This does not enforce the required scope: Enable/tune AQE for this workload under measured change control. The specific failure is: The application disabled adaptive query execution and thus cannot apply its runtime skew partition optimizations.
B:Document and tune the specific join, not universal planner behavior. This does not enforce the required scope: Enable/tune AQE for this workload under measured change control. The specific failure is: The application disabled adaptive query execution and thus cannot apply its runtime skew partition optimizations.
C:Limit work to adaptive plan monitoring for this query. This does not enforce the required scope: Enable/tune AQE for this workload under measured change control. The specific failure is: The application disabled adaptive query execution and thus cannot apply its runtime skew partition optimizations.
Question 741
At Juniper Foods, before a production rollout (fictional study case R280-C149-1), a small post-shuffle stage runs on a handful of large tasks after adaptive coalescing and loses desired parallelism. Which corrective Spark operation or design change BEST addresses the reported failure? Select ONE best answer. This is unofficial original Spark educational practice, not a real certification item.
- Inspect the adaptive physical plan and choose strategy based on supported thresholds and actual side sizes.
- Verify result equivalence and monitor runtime plans instead of assuming one fixed static join method.
- Tune advisory partition size or coalescing policy using observed stage metrics.
- Verify key-level counts and interpret physical task changes as runtime optimization, not automatically duplicate records.
Explanation
Correct Answer
C:A small post-shuffle stage runs on a handful of large tasks after adaptive coalescing and loses desired parallelism. The underlying cause is: AQE partition coalescing settings favor consolidation beyond the workload's useful concurrency. The corrective step is: Tune advisory partition size or coalescing policy using observed stage metrics. Validate the outcome: Post-shuffle parallelism meets latency target without excessive overhead.
Incorrect Answers
A:Inspect the adaptive physical plan and choose strategy based on supported thresholds and actual side sizes. The option targets a different stage or condition. The relevant failure is: AQE partition coalescing settings favor consolidation beyond the workload's useful concurrency. The needed repair is: Tune advisory partition size or coalescing policy using observed stage metrics.
B:Verify result equivalence and monitor runtime plans instead of assuming one fixed static join method. That would not resolve the reported problem: A small post-shuffle stage runs on a handful of large tasks after adaptive coalescing and loses desired parallelism. The source-supported intervention is: Tune advisory partition size or coalescing policy using observed stage metrics.
D:Verify key-level counts and interpret physical task changes as runtime optimization, not automatically duplicate records. The recorded mechanism is: AQE partition coalescing settings favor consolidation beyond the workload's useful concurrency. The proposed action does not correct that mechanism; use: Tune advisory partition size or coalescing policy using observed stage metrics.
Question 742
At Silverpeak Bioinformatics, while optimizing an ETL application (fictional study case R280-C149-2), a small post-shuffle stage runs on a handful of large tasks after adaptive coalescing and loses desired parallelism. The engineer wants to distinguish the mechanism before changing code. Which underlying Spark mechanism BEST explains the observed symptom? Select ONE best answer. This is unofficial original Spark educational practice, not a real certification item.
- AQE conversion depends on runtime statistics, thresholds and join semantics.
- AQE may re-optimize at runtime based on materialized shuffle statistics.
- AQE may split large partitions or replicate a small join side while preserving logical join semantics.
- AQE partition coalescing settings favor consolidation beyond the workload's useful concurrency.
Explanation
Correct Answer
D:The reported symptom is: A small post-shuffle stage runs on a handful of large tasks after adaptive coalescing and loses desired parallelism. Its direct cause is: AQE partition coalescing settings favor consolidation beyond the workload's useful concurrency. Test that conclusion using: Compare adaptive partition count, task duration and CPU utilization.
Incorrect Answers
A:AQE conversion depends on runtime statistics, thresholds and join semantics. This is not the root cause established for the reported condition: A small post-shuffle stage runs on a handful of large tasks after adaptive coalescing and loses desired parallelism. The cause is: AQE partition coalescing settings favor consolidation beyond the workload's useful concurrency.
B:AQE may re-optimize at runtime based on materialized shuffle statistics. The observed failure instead follows from: AQE partition coalescing settings favor consolidation beyond the workload's useful concurrency. The alternative does not explain the same dependency.
C:AQE may split large partitions or replicate a small join side while preserving logical join semantics. That explanation needs evidence of another fault. The specific mechanism here is: AQE partition coalescing settings favor consolidation beyond the workload's useful concurrency.
Question 743
At Willowbank Software, during an internal acceptance test (fictional study case R280-C149-1), a small post-shuffle stage runs on a handful of large tasks after adaptive coalescing and loses desired parallelism. Competing explanations are being considered; choose the most discriminating check. Which evidence check BEST distinguishes this cause from a different Spark problem? Select ONE best answer. This is unofficial original Spark educational practice, not a real certification item.
- Compare estimated and runtime join-size statistics with final plan.
- Capture adaptive plans and input cardinalities for both runs.
- Compare original and adaptive results and inspect skew join plan.
- Compare adaptive partition count, task duration and CPU utilization.
Explanation
Correct Answer
D:Diagnose the affected path with: Compare adaptive partition count, task duration and CPU utilization. This tests the case-specific cause: AQE partition coalescing settings favor consolidation beyond the workload's useful concurrency.
Incorrect Answers
A:Compare estimated and runtime join-size statistics with final plan. The case requires a discriminating check before any change, not the offered alternative. Use: Compare adaptive partition count, task duration and CPU utilization.
B:Capture adaptive plans and input cardinalities for both runs. That does not establish whether the stated cause is present: AQE partition coalescing settings favor consolidation beyond the workload's useful concurrency. The diagnostic is: Compare adaptive partition count, task duration and CPU utilization.
C:Compare original and adaptive results and inspect skew join plan. That does not establish whether the stated cause is present: AQE partition coalescing settings favor consolidation beyond the workload's useful concurrency. The diagnostic is: Compare adaptive partition count, task duration and CPU utilization.
Question 744
At Seabrook Education, after a routine data refresh (fictional study case R280-C149-2), a small post-shuffle stage runs on a handful of large tasks after adaptive coalescing and loses desired parallelism. A proposed fix has been applied; its result still needs validation. Which measurable outcome BEST confirms the fix works without violating the data contract? Select ONE best answer. This is unofficial original Spark educational practice, not a real certification item.
- Post-shuffle parallelism meets latency target without excessive overhead.
- The chosen strategy follows real eligible conditions and preserves rows.
- Different physical strategies yield the same logical result within the budget.
- Final rows are correct while straggler time improves.
Explanation
Correct Answer
A:Acceptance requires: Post-shuffle parallelism meets latency target without excessive overhead. That directly tests whether the mechanism was corrected: AQE partition coalescing settings favor consolidation beyond the workload's useful concurrency.
Incorrect Answers
B:The chosen strategy follows real eligible conditions and preserves rows. The alternative cannot demonstrate that the issue has been corrected: A small post-shuffle stage runs on a handful of large tasks after adaptive coalescing and loses desired parallelism. The required result is: Post-shuffle parallelism meets latency target without excessive overhead.
C:Different physical strategies yield the same logical result within the budget. Implementation or a check alone is not proof of success. The measurable end state is: Post-shuffle parallelism meets latency target without excessive overhead.
D:Final rows are correct while straggler time improves. The alternative cannot demonstrate that the issue has been corrected: A small post-shuffle stage runs on a handful of large tasks after adaptive coalescing and loses desired parallelism. The required result is: Post-shuffle parallelism meets latency target without excessive overhead.
Question 745
At Bluewater Energy, while debugging a failed notebook (fictional study case R280-C149-1), a small post-shuffle stage runs on a handful of large tasks after adaptive coalescing and loses desired parallelism. The change owner wants to avoid damaging unrelated tables, jobs or access. Which change boundary BEST limits the correction to the affected Spark workload? Select ONE best answer. This is unofficial original Spark educational practice, not a real certification item.
- Document and tune the specific join, not universal planner behavior.
- Limit work to adaptive plan monitoring for this query.
- Review only the skew-aware join changes.
- Tune only adaptive post-shuffle partition sizing.
Explanation
Correct Answer
D:Tune only adaptive post-shuffle partition sizing. This limits the change while addressing: AQE partition coalescing settings favor consolidation beyond the workload's useful concurrency. The expected outcome is: Post-shuffle parallelism meets latency target without excessive overhead.
Incorrect Answers
A:Document and tune the specific join, not universal planner behavior. It is not the bounded choice for the stated condition: A small post-shuffle stage runs on a handful of large tasks after adaptive coalescing and loses desired parallelism. The permitted change must remain: Tune only adaptive post-shuffle partition sizing.
B:Limit work to adaptive plan monitoring for this query. This does not enforce the required scope: Tune only adaptive post-shuffle partition sizing. The specific failure is: AQE partition coalescing settings favor consolidation beyond the workload's useful concurrency.
C:Review only the skew-aware join changes. This does not enforce the required scope: Tune only adaptive post-shuffle partition sizing. The specific failure is: AQE partition coalescing settings favor consolidation beyond the workload's useful concurrency.
Question 746
At Meridian Commerce, before a production rollout (fictional study case R280-C150-1), an engineer promises AQE always converts a join to broadcast regardless of relation size and join type. Which corrective Spark operation or design change BEST addresses the reported failure? Select ONE best answer. This is unofficial original Spark educational practice, not a real certification item.
- Verify result equivalence and monitor runtime plans instead of assuming one fixed static join method.
- Verify key-level counts and interpret physical task changes as runtime optimization, not automatically duplicate records.
- Use adaptive-plan metrics to assess final partitions instead of treating initial config as an exact task count.
- Inspect the adaptive physical plan and choose strategy based on supported thresholds and actual side sizes.
Explanation
Correct Answer
D:Inspect the adaptive physical plan and choose strategy based on supported thresholds and actual side sizes. The technical or governance gap is: AQE conversion depends on runtime statistics, thresholds and join semantics. Check the affected state using: Compare estimated and runtime join-size statistics with final plan.
Incorrect Answers
A:Verify result equivalence and monitor runtime plans instead of assuming one fixed static join method. The recorded mechanism is: AQE conversion depends on runtime statistics, thresholds and join semantics. The proposed action does not correct that mechanism; use: Inspect the adaptive physical plan and choose strategy based on supported thresholds and actual side sizes.
B:Verify key-level counts and interpret physical task changes as runtime optimization, not automatically duplicate records. That would not resolve the reported problem: An engineer promises AQE always converts a join to broadcast regardless of relation size and join type. The source-supported intervention is: Inspect the adaptive physical plan and choose strategy based on supported thresholds and actual side sizes.
C:Use adaptive-plan metrics to assess final partitions instead of treating initial config as an exact task count. The recorded mechanism is: AQE conversion depends on runtime statistics, thresholds and join semantics. The proposed action does not correct that mechanism; use: Inspect the adaptive physical plan and choose strategy based on supported thresholds and actual side sizes.
Question 747
At Copperline Finance, while optimizing an ETL application (fictional study case R280-C150-2), an engineer promises AQE always converts a join to broadcast regardless of relation size and join type. The engineer wants to distinguish the mechanism before changing code. Which underlying Spark mechanism BEST explains the observed symptom? Select ONE best answer. This is unofficial original Spark educational practice, not a real certification item.
- AQE may re-optimize at runtime based on materialized shuffle statistics.
- AQE conversion depends on runtime statistics, thresholds and join semantics.
- AQE may split large partitions or replicate a small join side while preserving logical join semantics.
- Runtime partition coalescing can change the final number of partitions from the initial plan.
Explanation
Correct Answer
B:An engineer promises AQE always converts a join to broadcast regardless of relation size and join type. The supporting root cause is: AQE conversion depends on runtime statistics, thresholds and join semantics. The appropriate remedy is: Inspect the adaptive physical plan and choose strategy based on supported thresholds and actual side sizes.
Incorrect Answers
A:AQE may re-optimize at runtime based on materialized shuffle statistics. That explanation needs evidence of another fault. The specific mechanism here is: AQE conversion depends on runtime statistics, thresholds and join semantics.
C:AQE may split large partitions or replicate a small join side while preserving logical join semantics. That explanation needs evidence of another fault. The specific mechanism here is: AQE conversion depends on runtime statistics, thresholds and join semantics.
D:Runtime partition coalescing can change the final number of partitions from the initial plan. This is not the root cause established for the reported condition: An engineer promises AQE always converts a join to broadcast regardless of relation size and join type. The cause is: AQE conversion depends on runtime statistics, thresholds and join semantics.
Question 748
At Pinecrest Media, during an internal acceptance test (fictional study case R280-C150-1), an engineer promises AQE always converts a join to broadcast regardless of relation size and join type. Competing explanations are being considered; choose the most discriminating check. Which evidence check BEST distinguishes this cause from a different Spark problem? Select ONE best answer. This is unofficial original Spark educational practice, not a real certification item.
- Capture adaptive plans and input cardinalities for both runs.
- Compare estimated and runtime join-size statistics with final plan.
- Compare original and adaptive results and inspect skew join plan.
- Compare initial shuffle plan with adaptive final-stage task count.
Explanation
Correct Answer
B:Compare estimated and runtime join-size statistics with final plan. This gathers evidence about the stated mechanism: AQE conversion depends on runtime statistics, thresholds and join semantics. The existing symptom is: An engineer promises AQE always converts a join to broadcast regardless of relation size and join type.
Incorrect Answers
A:Capture adaptive plans and input cardinalities for both runs. The case requires a discriminating check before any change, not the offered alternative. Use: Compare estimated and runtime join-size statistics with final plan.
C:Compare original and adaptive results and inspect skew join plan. This is not the focused evidence-gathering step. Verify the suspected mechanism with: Compare estimated and runtime join-size statistics with final plan.
D:Compare initial shuffle plan with adaptive final-stage task count. The case requires a discriminating check before any change, not the offered alternative. Use: Compare estimated and runtime join-size statistics with final plan.
Question 749
At Ironlake Networks, after a routine data refresh (fictional study case R280-C150-2), an engineer promises AQE always converts a join to broadcast regardless of relation size and join type. A proposed fix has been applied; its result still needs validation. Which measurable outcome BEST confirms the fix works without violating the data contract? Select ONE best answer. This is unofficial original Spark educational practice, not a real certification item.
- The chosen strategy follows real eligible conditions and preserves rows.
- Different physical strategies yield the same logical result within the budget.
- Final rows are correct while straggler time improves.
- Monitoring correctly explains partition changes with identical output.
Explanation
Correct Answer
A:The chosen strategy follows real eligible conditions and preserves rows. This demonstrates the intended effect of: Inspect the adaptive physical plan and choose strategy based on supported thresholds and actual side sizes. The prior failure was: An engineer promises AQE always converts a join to broadcast regardless of relation size and join type.
Incorrect Answers
B:Different physical strategies yield the same logical result within the budget. Implementation or a check alone is not proof of success. The measurable end state is: The chosen strategy follows real eligible conditions and preserves rows.
C:Final rows are correct while straggler time improves. This is not the observed recovery outcome. Acceptance requires: The chosen strategy follows real eligible conditions and preserves rows.
D:Monitoring correctly explains partition changes with identical output. The alternative cannot demonstrate that the issue has been corrected: An engineer promises AQE always converts a join to broadcast regardless of relation size and join type. The required result is: The chosen strategy follows real eligible conditions and preserves rows.
Question 750
At Valleywide Travel, while debugging a failed notebook (fictional study case R280-C150-1), an engineer promises AQE always converts a join to broadcast regardless of relation size and join type. The change owner wants to avoid damaging unrelated tables, jobs or access. Which change boundary BEST limits the correction to the affected Spark workload? Select ONE best answer. This is unofficial original Spark educational practice, not a real certification item.
- Document and tune the specific join, not universal planner behavior.
- Limit work to adaptive plan monitoring for this query.
- Review only the skew-aware join changes.
- Correct the operational expectation, not source data.
Explanation
Correct Answer
A:The approved limit is: Document and tune the specific join, not universal planner behavior. It avoids applying the corrective step beyond the stated failure: An engineer promises AQE always converts a join to broadcast regardless of relation size and join type.
Incorrect Answers
B:Limit work to adaptive plan monitoring for this query. This does not enforce the required scope: Document and tune the specific join, not universal planner behavior. The specific failure is: AQE conversion depends on runtime statistics, thresholds and join semantics.
C:Review only the skew-aware join changes. It is not the bounded choice for the stated condition: An engineer promises AQE always converts a join to broadcast regardless of relation size and join type. The permitted change must remain: Document and tune the specific join, not universal planner behavior.
D:Correct the operational expectation, not source data. The action does not preserve the identified scope boundary: Document and tune the specific join, not universal planner behavior.