Question 690
Two jobs share a notebook yet require conflicting package versions, and a cluster-scoped library upgrade breaks the older workflow. A team adds a library from an unreviewed archive URL to production after a developer's interactive test succeeds. Which response best addresses these needs?
- Isolate compatible dependency sets by supported task or compute configuration rather than forcing both jobs onto one shared version; use a vetted artifact source with integrity controls and record the approved package version in deployment configuration.
- Use a vetted artifact source with integrity controls and record the approved package version in deployment configuration; do not Isolate compatible dependency sets by supported task or compute configuration rather than forcing both jobs onto one shared version.
- Isolate compatible dependency sets by supported task or compute configuration rather than forcing both jobs onto one shared version; verify the target compute environment's supported library and native dependency requirements before selecting or rebuilding the package.
- Pin and test compatible library versions in the job's environment before promoting the dependency update; use a vetted artifact source with integrity controls and record the approved package version in deployment configuration.
Explanation
Correct Answer
A:Dependency isolation limits cross-job regressions when release cadences differ. Production dependency provenance matters independently of whether an import succeeds interactively.
Incorrect Answers
B:Use a vetted artifact source with integrity controls and record the approved package version in deployment configuration; do not Isolate compatible dependency sets by supported task or compute configuration rather than forcing both jobs onto one shared version: isolate compatible dependency sets by supported task or compute configuration rather than forcing both jobs onto one shared version.
C:Successful local installation does not establish binary compatibility with the target runtime; requirement 2 requires: using a vetted artifact source with integrity controls and record the approved package version in deployment configuration.
D:Pin and test compatible library versions in the job's environment before promoting the dependency update. This does not replace isolate compatible dependency sets by supported task or compute configuration rather than forcing both jobs onto one shared version.
Question 691
A file landing zone grows every minute; the developer uses a full-refresh materialized view to ingest all raw files repeatedly. An analyst assumes a streaming table and a materialized view can be substituted without reviewing change handling for updates and deletes. What is the most appropriate plan for this situation?
- Evaluate a materialized view for the maintained aggregate and choose a refresh schedule matching the freshness target; compare supported incremental and refresh semantics against actual source mutations before choosing the target object.
- Use a supported incremental streaming-table ingestion design with stable file discovery and checkpoint semantics; compare supported incremental and refresh semantics against actual source mutations before choosing the target object.
- Use a supported incremental streaming-table ingestion design with stable file discovery and checkpoint semantics; Match refresh or trigger cadence to actual arrival and freshness requirements rather than leaving compute running needlessly.
- Compare supported incremental and refresh semantics against actual source mutations before choosing the target object; do not use a supported incremental streaming-table ingestion design with stable file discovery and checkpoint semantics.
Explanation
Correct Answer
B:Incremental ingestion should avoid rereading the complete growing landing zone each time. Nonappend changes can require different processing semantics from monotonically growing events.
Incorrect Answers
A:Evaluate a materialized view for the maintained aggregate and choose a refresh schedule matching the freshness target. This does not replace use a supported incremental streaming-table ingestion design with stable file discovery and checkpoint semantics.
C:Use a supported incremental streaming-table ingestion design with stable file discovery and checkpoint semantics; Match refresh or trigger cadence to actual arrival and freshness requirements rather than leaving compute running needlessly: nonappend changes can require different processing semantics from monotonically growing events.
D:Use a supported incremental streaming-table ingestion design with stable file discovery and checkpoint semantics.
Question 692
A Pandas UDF emits strings but declares an integer return type; a scheduled batch fails after a new category appears. A grouped Pandas UDF receives unexpectedly large groups and one executor runs out of memory while others remain idle. Which course of action addresses the stated issues?
- Align the declared UDF return type and actual output schema, then test representative null and malformed values; Move external side effects out of retryable row UDF execution and design an idempotent controlled enrichment step.
- Examine group cardinalities and use a supported partitioned transformation or skew-aware strategy before scaling blindly; do not align the declared UDF return type and actual output schema, then test representative null and malformed values.
- Evaluate a vectorized Pandas UDF with compatible Arrow-backed batches and measure the revised execution cost; examine group cardinalities and use a supported partitioned transformation or skew-aware strategy before scaling blindly.
- Align the declared UDF return type and actual output schema, then test representative null and malformed values; examine group cardinalities and use a supported partitioned transformation or skew-aware strategy before scaling blindly.
Explanation
Correct Answer
D:Spark must reconcile the declared type with the values emitted across Python execution boundaries. Grouped operations may materialize the full group in Python memory rather than uniform small batches.
Incorrect Answers
A:Align the declared UDF return type and actual output schema, then test representative null and malformed values; Move external side effects out of retryable row UDF execution and design an idempotent controlled enrichment step: grouped operations may materialize the full group in Python memory rather than uniform small batches.
B:Examine group cardinalities and use a supported partitioned transformation or skew-aware strategy before scaling blindly; do not align the declared UDF return type and actual output schema, then test representative null and malformed values: align the declared UDF return type and actual output schema, then test representative null and malformed values.
C:Evaluate a vectorized Pandas UDF with compatible Arrow-backed batches and measure the revised execution cost. This does not replace align the declared UDF return type and actual output schema, then test representative null and malformed values.
Question 693
An hourly batch typically finishes in eight minutes, but the team keeps a costly interactive cluster running all day solely for that job. A downstream task fails after three predecessors succeed, and operators rerun the entire DAG, duplicating an external export. Which response best addresses these needs?
- Use supported repair-run behavior and make externally visible tasks idempotent; do not use suitable job compute and schedule the task hourly with measured startup and SLA headroom.
- Use suitable job compute and schedule the task hourly with measured startup and SLA headroom; Model both predecessors as dependencies and execute the final task only after their required successful completion.
- Declare the validation task as an explicit prerequisite for publishing in the job graph; use supported repair-run behavior and make externally visible tasks idempotent.
- Use suitable job compute and schedule the task hourly with measured startup and SLA headroom; use supported repair-run behavior and make externally visible tasks idempotent.
Explanation
Correct Answer
D:Workload-specific job compute can avoid continuous idle capacity while meeting the refresh interval. A failed downstream task does not automatically reverse successful earlier side effects.
Incorrect Answers
A:Use suitable job compute and schedule the task hourly with measured startup and SLA headroom.
B:Use suitable job compute and schedule the task hourly with measured startup and SLA headroom; Model both predecessors as dependencies and execute the final task only after their required successful completion: a failed downstream task does not automatically reverse successful earlier side effects.
C:Declare the validation task as an explicit prerequisite for publishing in the job graph; use supported repair-run behavior and make externally visible tasks idempotent. This does not replace use suitable job compute and schedule the task hourly with measured startup and SLA headroom.
Question 694
An Auto Loader pipeline ingests JSON from a landing bucket, but newly added columns disappear because schema evolution is disabled without alerting. An engineer uses a full directory list each run on a bucket containing tens of millions of files and sees growing discovery latency. What is the most appropriate plan for this situation?
- Configure supported schema inference and evolution behavior and test a staged new-column event; use checkpointed Auto Loader semantics and an idempotent target write path for recoverable ingestion.
- Evaluate Auto Loader's supported incremental file discovery mechanisms and checkpoint-backed progress; do not configure supported schema inference and evolution behavior and test a staged new-column event.
- Configure supported schema inference and evolution behavior and test a staged new-column event; evaluate Auto Loader's supported incremental file discovery mechanisms and checkpoint-backed progress.
- Capture rescued or malformed input separately and preserve raw evidence for controlled quarantine; evaluate Auto Loader's supported incremental file discovery mechanisms and checkpoint-backed progress.
Explanation
Correct Answer
C:Source contract changes should produce a deliberate schema transition rather than silent loss. Incremental discovery scales better than repeatedly traversing a large historical file inventory.
Incorrect Answers
A:Configure supported schema inference and evolution behavior and test a staged new-column event; use checkpointed Auto Loader semantics and an idempotent target write path for recoverable ingestion: incremental discovery scales better than repeatedly traversing a large historical file inventory.
B:Configure supported schema inference and evolution behavior and test a staged new-column event.
D:Capture rescued or malformed input separately and preserve raw evidence for controlled quarantine; evaluate Auto Loader's supported incremental file discovery mechanisms and checkpoint-backed progress. This does not replace configure supported schema inference and evolution behavior and test a staged new-column event.
Question 695
A non-idempotent task bills a third-party service on every retry; automatic retries turn a single outage into repeated charges. A workflow uses a large shared cluster for a five-minute daily metadata update and incurs long idle periods. Which course of action addresses the stated issues?
- Right-size the task's driver and memory configuration based on the Spark UI and actual collection behavior; select appropriately sized on-demand or serverless job compute and measure total cost including startup.
- Disable unguarded retries or introduce idempotency keys for external side effects before enabling recovery attempts; Reconcile supported serverless environment dependencies and versions with the packaged job artifact.
- Select appropriately sized on-demand or serverless job compute and measure total cost including startup; do not Disable unguarded retries or introduce idempotency keys for external side effects before enabling recovery attempts.
- Disable unguarded retries or introduce idempotency keys for external side effects before enabling recovery attempts; select appropriately sized on-demand or serverless job compute and measure total cost including startup.
Explanation
Correct Answer
D:Retried tasks can repeat effects outside Delta transactions. An oversized continuously available cluster may cost far more than the actual task demands.
Incorrect Answers
A:Right-size the task's driver and memory configuration based on the Spark UI and actual collection behavior. This does not replace disable unguarded retries or introduce idempotency keys for external side effects before enabling recovery attempts.
B:Disable unguarded retries or introduce idempotency keys for external side effects before enabling recovery attempts; Reconcile supported serverless environment dependencies and versions with the packaged job artifact: an oversized continuously available cluster may cost far more than the actual task demands.
C:Select appropriately sized on-demand or serverless job compute and measure total cost including startup; do not Disable unguarded retries or introduce idempotency keys for external side effects before enabling recovery attempts: disable unguarded retries or introduce idempotency keys for external side effects before enabling recovery attempts.
Question 696
A pipeline test calls live external storage and fails unpredictably when access tokens expire. A DataFrame.transform chain passes unit tests individually but produces wrong totals when three functions run together. Which response best addresses these needs?
- Use schema and DataFrame equality assertions that validate names, types, and expected records; add an integration test for the composed transformation and compare representative expected aggregates.
- Use controlled local or test-catalog fixtures for unit tests and reserve integration tests for explicitly managed external systems; add a targeted fixture that asserts key uniqueness and expected join cardinality.
- Add an integration test for the composed transformation and compare representative expected aggregates; do not use controlled local or test-catalog fixtures for unit tests and reserve integration tests for explicitly managed external systems.
- Use controlled local or test-catalog fixtures for unit tests and reserve integration tests for explicitly managed external systems; add an integration test for the composed transformation and compare representative expected aggregates.
Explanation
Correct Answer
D:Test isolation separates code behavior from infrastructure availability. Valid individual components do not guarantee the composed pipeline preserves business invariants.
Incorrect Answers
A:Use schema and DataFrame equality assertions that validate names, types, and expected records; add an integration test for the composed transformation and compare representative expected aggregates. This does not replace use controlled local or test-catalog fixtures for unit tests and reserve integration tests for explicitly managed external systems.
B:Use controlled local or test-catalog fixtures for unit tests and reserve integration tests for explicitly managed external systems; add a targeted fixture that asserts key uniqueness and expected join cardinality: valid individual components do not guarantee the composed pipeline preserves business invariants.
C:Use controlled local or test-catalog fixtures for unit tests and reserve integration tests for explicitly managed external systems.
Question 697
A shared DataFrame transform mutates global configuration and succeeds alone but returns different results when called after another test. A Python ingestion helper catches every exception and returns an empty DataFrame, causing a downstream success report with missing data. What is the most appropriate plan for this situation?
- Raise or surface actionable failures with source context instead of treating arbitrary ingestion exceptions as valid empty input; do not Pass configuration explicitly and make the transformation deterministic for the same input DataFrame.
- Pass configuration explicitly and make the transformation deterministic for the same input DataFrame; Inject test DataFrames or fixtures and test output schemas and values independently of production tables.
- Replace full driver collection with distributed assertions, aggregates, or bounded samples; Raise or surface actionable failures with source context instead of treating arbitrary ingestion exceptions as valid empty input.
- Pass configuration explicitly and make the transformation deterministic for the same input DataFrame; Raise or surface actionable failures with source context instead of treating arbitrary ingestion exceptions as valid empty input.
Explanation
Correct Answer
D:Hidden mutable state makes ETL functions order-dependent and difficult to test. Swallowing failures converts an operational outage into silent data loss.
Incorrect Answers
A:Raise or surface actionable failures with source context instead of treating arbitrary ingestion exceptions as valid empty input; do not Pass configuration explicitly and make the transformation deterministic for the same input DataFrame: pass configuration explicitly and make the transformation deterministic for the same input DataFrame.
B:Pass configuration explicitly and make the transformation deterministic for the same input DataFrame; Inject test DataFrames or fixtures and test output schemas and values independently of production tables: swallowing failures converts an operational outage into silent data loss.
C:Replace full driver collection with distributed assertions, aggregates, or bounded samples; Raise or surface actionable failures with source context instead of treating arbitrary ingestion exceptions as valid empty input. This does not replace pass configuration explicitly and make the transformation deterministic for the same input DataFrame.
Question 698
A developer writes a Python loop that creates the same named pipeline table repeatedly, causing collisions during graph construction. A conditional transformation silently skips a source table when a configuration key is missing, but the pipeline still reports a partial success. Which course of action addresses the stated issues?
- Generate deterministic distinct dataset names and validate the loop's declarations before pipeline evaluation; Parameterize unique regional outputs and task identities while retaining shared transformation code.
- Resolve the supported environment condition before declaring the relevant pipeline input and validate each deployment target; validate required branch configuration and fail clearly when no supported source selection exists.
- Generate deterministic distinct dataset names and validate the loop's declarations before pipeline evaluation; validate required branch configuration and fail clearly when no supported source selection exists.
- Validate required branch configuration and fail clearly when no supported source selection exists; do not Generate deterministic distinct dataset names and validate the loop's declarations before pipeline evaluation.
Explanation
Correct Answer
C:Programmatic declarations must produce a valid and nonconflicting dependency graph. Missing conditions should surface as configuration errors rather than incomplete successful data.
Incorrect Answers
A:Generate deterministic distinct dataset names and validate the loop's declarations before pipeline evaluation; Parameterize unique regional outputs and task identities while retaining shared transformation code: missing conditions should surface as configuration errors rather than incomplete successful data.
B:Resolve the supported environment condition before declaring the relevant pipeline input and validate each deployment target. This does not replace generate deterministic distinct dataset names and validate the loop's declarations before pipeline evaluation.
D:Generate deterministic distinct dataset names and validate the loop's declarations before pipeline evaluation.
Question 699
A production job installs an unpinned PyPI library and begins failing after a minor upstream release introduces an incompatible API. Two jobs share a notebook yet require conflicting package versions, and a cluster-scoped library upgrade breaks the older workflow. Which response best addresses these needs?
- Pin and test compatible library versions in the job's environment before promoting the dependency update; Isolate compatible dependency sets by supported task or compute configuration rather than forcing both jobs onto one shared version.
- Pin and test compatible library versions in the job's environment before promoting the dependency update; use a vetted artifact source with integrity controls and record the approved package version in deployment configuration.
- Isolate compatible dependency sets by supported task or compute configuration rather than forcing both jobs onto one shared version; do not Pin and test compatible library versions in the job's environment before promoting the dependency update.
- Verify the target compute environment's supported library and native dependency requirements before selecting or rebuilding the package; Isolate compatible dependency sets by supported task or compute configuration rather than forcing both jobs onto one shared version.
Explanation
Correct Answer
A:Reproducible dependency versions prevent unreviewed upstream changes from breaking scheduled workloads. Dependency isolation limits cross-job regressions when release cadences differ.
Incorrect Answers
B:Pin and test compatible library versions in the job's environment before promoting the dependency update; use a vetted artifact source with integrity controls and record the approved package version in deployment configuration: dependency isolation limits cross-job regressions when release cadences differ.
C:Isolate compatible dependency sets by supported task or compute configuration rather than forcing both jobs onto one shared version; do not Pin and test compatible library versions in the job's environment before promoting the dependency update: dependency isolation limits cross-job regressions when release cadences differ; requirement 1 requires: pinning and test compatible library versions in the job's environment before promoting the dependency update.
D:Verify the target compute environment's supported library and native dependency requirements before selecting or rebuilding the package; Isolate compatible dependency sets by supported task or compute configuration rather than forcing both jobs onto one shared version; successful local installation does not establish binary compatibility with the target runtime; requirement 1 requires: pinning and test compatible library versions in the job's environment before promoting the dependency update.
Question 700
A production job installs an unpinned PyPI library and begins failing after a minor upstream release introduces an incompatible API. A team adds a library from an unreviewed archive URL to production after a developer's interactive test succeeds. What is the most appropriate plan for this situation?
- Verify the target compute environment's supported library and native dependency requirements before selecting or rebuilding the package; use a vetted artifact source with integrity controls and record the approved package version in deployment configuration.
- Pin and test compatible library versions in the job's environment before promoting the dependency update; Isolate compatible dependency sets by supported task or compute configuration rather than forcing both jobs onto one shared version.
- Pin and test compatible library versions in the job's environment before promoting the dependency update; use a vetted artifact source with integrity controls and record the approved package version in deployment configuration.
- Use a vetted artifact source with integrity controls and record the approved package version in deployment configuration; do not Pin and test compatible library versions in the job's environment before promoting the dependency update.
Explanation
Correct Answer
C:Reproducible dependency versions prevent unreviewed upstream changes from breaking scheduled workloads. Production dependency provenance matters independently of whether an import succeeds interactively.
Incorrect Answers
A:Verify the target compute environment's supported library and native dependency requirements before selecting or rebuilding the package; use a vetted artifact source with integrity controls and record the approved package version in deployment configuration. This does not replace pin and test compatible library versions in the job's environment before promoting the dependency update.
B:Pin and test compatible library versions in the job's environment before promoting the dependency update; Isolate compatible dependency sets by supported task or compute configuration rather than forcing both jobs onto one shared version: production dependency provenance matters independently of whether an import succeeds interactively.
D:Pin and test compatible library versions in the job's environment before promoting the dependency update.
Certified Data Engineer Professional Practice Tests