Databricks Certified Machine Learning Associate Practice Test 55
Question 540
During a Databricks deployment readiness review, an ML engineer evaluates batch, streaming and interactive inference requirements. A separate control validation examines: An online checkout must decide fraud risk before authorizing a payment but receives a score from yesterday's batch run. Changes require named owner approval and safe rollback. The acceptance review requires three complementary roles: governing principle, bounded corrective action and measurable result. Select EXACTLY THREE: the governing technical principle, proportionate action AND independently verifiable success result.
- The nightly predictions are available before planning begins with no unnecessary always-on serving load.
- Construct authenticated requests with the required input shape and validate reference examples.
- Real-time serving supports synchronous predictions when the product requires bounded per-request latency.
- Streaming inference applies model transformations continuously to incoming events under defined event-time semantics.
- Use a governed model-serving endpoint with defined request schema, access control and latency SLO.
- Each authorized checkout receives a valid score inside the transactional decision deadline.
Explanation
Correct Answers
C:Real-time serving supports synchronous predictions when the product requires bounded per-request latency. An online checkout must decide fraud risk before authorizing a payment but receives a score from yesterday's batch run.
E:Use a governed model-serving endpoint with defined request schema, access control and latency SLO. Compare API response deadline, fraud decision point, model loading behavior and dependency latency.
F:Each authorized checkout receives a valid score inside the transactional decision deadline. An online checkout must decide fraud risk before authorizing a payment but receives a score from yesterday's batch run. The reported situation is: An online checkout must decide fraud risk before authorizing a payment but receives a score from yesterday's batch run.
Incorrect Answers
A:The nightly predictions are available before planning begins with no unnecessary always-on serving load. The relevant distinction here is Choose low-latency real-time inference for synchronous requests; Choose scheduled batch inference for nightly score output is a separate concern.
B:Construct authenticated requests with the required input shape and validate reference examples. This would be pertinent to Query model-serving endpoint with valid request schema, but does not resolve the stated Choose low-latency real-time inference for synchronous requests issue.
D:Streaming inference applies model transformations continuously to incoming events under defined event-time semantics. Although useful for Choose streaming inference for continuous event pipelines, this does not establish the requested Choose low-latency real-time inference for synchronous requests result.
Question 541
During a Databricks deployment readiness review, an ML engineer evaluates batch, streaming and interactive inference requirements. The observed issue is: A factory generates sensor readings continuously and expects alerts within seconds, but the current pipeline runs hourly. The review distinguishes symptoms from root cause. The team must select the technical principle that explains the requirement, not a neighboring unrelated feature. Which underlying Databricks or machine-learning principle BEST explains the stated need? Choose ONE best answer.
- Deployment health and model prediction quality are separate acceptance dimensions that must both be tested.
- Streaming inference applies model transformations continuously to incoming events under defined event-time semantics.
- Traffic split controls request routing and is independent of predictive quality or confidence.
- Pandas inference assumes local memory availability, so large distributed batches may need partitioned scoring.
Explanation
Correct Answer
B:Streaming inference applies model transformations continuously to incoming events under defined event-time semantics. Inspect event arrival rates, detection delay, windowing needs and supported scoring logic. Implement an approved Structured Streaming or supported declarative pipeline inference path.
Incorrect Answers
A:Deployment health and model prediction quality are separate acceptance dimensions that must both be tested. That concerns Measure serving endpoint readiness independently of model accuracy, while this case turns on Choose streaming inference for continuous event pipelines.
C:Traffic split controls request routing and is independent of predictive quality or confidence. The relevant distinction here is Choose streaming inference for continuous event pipelines; Avoid confusing traffic percentage with model confidence is a separate concern.
D:Pandas inference assumes local memory availability, so large distributed batches may need partitioned scoring. This would be pertinent to Avoid driver-memory failure during giant pandas scoring, but does not resolve the stated Choose streaming inference for continuous event pipelines issue.
Question 542
During a Databricks deployment readiness review, an ML engineer evaluates batch, streaming and interactive inference requirements. The observed issue is: A factory generates sensor readings continuously and expects alerts within seconds, but the current pipeline runs hourly. The review distinguishes symptoms from root cause. The team needs the most discriminating technical evidence before changing the solution, not an unsupported assumption. Which diagnostic check BEST distinguishes the actual cause or requirement? Choose ONE best answer.
- Inspect event arrival rates, detection delay, windowing needs and supported scoring logic.
- Inspect endpoint ready state, request latency, schema error rate and labeled reference predictions.
- Inspect registered model compatibility, streaming input schema and supported UDF execution in the target runtime.
- Measure data size, driver memory, model serialization requirements and Spark partition capacity.
Explanation
Correct Answer
A:Inspect event arrival rates, detection delay, windowing needs and supported scoring logic. Streaming inference applies model transformations continuously to incoming events under defined event-time semantics. Events yield timely scored outputs and late data is handled under a documented policy.
Incorrect Answers
B:Inspect endpoint ready state, request latency, schema error rate and labeled reference predictions. The option addresses Measure serving endpoint readiness independently of model accuracy, which is distinct from the Choose streaming inference for continuous event pipelines issue here.
C:Inspect registered model compatibility, streaming input schema and supported UDF execution in the target runtime. That concerns Run model inference inside declarative streaming pipeline, while this case turns on Choose streaming inference for continuous event pipelines.
D:Measure data size, driver memory, model serialization requirements and Spark partition capacity. It addresses Avoid driver-memory failure during giant pandas scoring, not the Choose streaming inference for continuous event pipelines requirement described. The observed condition is: A factory generates sensor readings continuously and expects alerts within seconds, but the current pipeline runs hourly.
Question 543
During a Databricks deployment readiness review, an ML engineer evaluates batch, streaming and interactive inference requirements. The observed issue is: A factory generates sensor readings continuously and expects alerts within seconds, but the current pipeline runs hourly. The review distinguishes symptoms from root cause. The owner requires a proportionate, authorized technical correction that can be verified independently. Which scoped solution approach BEST resolves the issue without unnecessary operational risk? Choose ONE best answer.
- Implement an approved Structured Streaming or supported declarative pipeline inference path.
- Configure supported checkpoint and deduplication behavior with a stable event identifier.
- Use approved partitioned or distributed batch inference instead of collecting everything into driver memory.
- Run a smoke test plus independent prediction-validation suite before shifting production traffic.
Explanation
Correct Answer
A:Implement an approved Structured Streaming or supported declarative pipeline inference path. Streaming inference applies model transformations continuously to incoming events under defined event-time semantics. Inspect event arrival rates, detection delay, windowing needs and supported scoring logic.
Incorrect Answers
B:Configure supported checkpoint and deduplication behavior with a stable event identifier. That is a Control stateful streaming replay for model predictions consideration; the immediate issue lies in Choose streaming inference for continuous event pipelines.
C:Use approved partitioned or distributed batch inference instead of collecting everything into driver memory. It does not test the Choose streaming inference for continuous event pipelines condition; it instead concerns Avoid driver-memory failure during giant pandas scoring.
D:Run a smoke test plus independent prediction-validation suite before shifting production traffic. The option addresses Measure serving endpoint readiness independently of model accuracy, which is distinct from the Choose streaming inference for continuous event pipelines issue here.
Question 544
During a Databricks deployment readiness review, an ML engineer evaluates batch, streaming and interactive inference requirements. A separate control validation examines: A factory generates sensor readings continuously and expects alerts within seconds, but the current pipeline runs hourly. Changes require named owner approval and safe rollback. The reviewer requests two independent contributions: one direct diagnostic and a measurable post-change result. Select EXACTLY TWO: the case-specific pre-change evidence check AND the independent post-change acceptance outcome.
- Inspect consumer schedule, data arrival times, throughput needs and end-to-end prediction latency requirements.
- Compare routing counters, response probability meaning, validation metrics and model versions.
- Events yield timely scored outputs and late data is handled under a documented policy.
- Inspect event arrival rates, detection delay, windowing needs and supported scoring logic.
- Telemetry confirms the intended proportions and the challenger meets quality and latency thresholds.
Explanation
Correct Answers
C:Events yield timely scored outputs and late data is handled under a documented policy. A factory generates sensor readings continuously and expects alerts within seconds, but the current pipeline runs hourly.
D:Inspect event arrival rates, detection delay, windowing needs and supported scoring logic. A factory generates sensor readings continuously and expects alerts within seconds, but the current pipeline runs hourly.
Incorrect Answers
A:Inspect consumer schedule, data arrival times, throughput needs and end-to-end prediction latency requirements. This would be pertinent to Choose scheduled batch inference for nightly score output, but does not resolve the stated Choose streaming inference for continuous event pipelines issue.
B:Compare routing counters, response probability meaning, validation metrics and model versions. The scenario calls for Choose streaming inference for continuous event pipelines reasoning rather than a Avoid confusing traffic percentage with model confidence analysis.
E:Telemetry confirms the intended proportions and the challenger meets quality and latency thresholds. It does not test the Choose streaming inference for continuous event pipelines condition; it instead concerns Split endpoint traffic between champion and challenger.
Question 545
During a Databricks deployment readiness review, an ML engineer evaluates batch, streaming and interactive inference requirements. A separate control validation examines: A factory generates sensor readings continuously and expects alerts within seconds, but the current pipeline runs hourly. Changes require named owner approval and safe rollback. The acceptance review requires three complementary roles: governing principle, bounded corrective action and measurable result. Select EXACTLY THREE: the governing technical principle, proportionate action AND independently verifiable success result.
- Events yield timely scored outputs and late data is handled under a documented policy.
- The complete dataset scores within resources while retaining source-to-output row mapping.
- Streaming inference applies model transformations continuously to incoming events under defined event-time semantics.
- Implement an approved Structured Streaming or supported declarative pipeline inference path.
- Supported serving endpoint traffic allocation can route defined proportions to separate served model configurations.
- Configure supported checkpoint and deduplication behavior with a stable event identifier.
Explanation
Correct Answers
A:Events yield timely scored outputs and late data is handled under a documented policy. A factory generates sensor readings continuously and expects alerts within seconds, but the current pipeline runs hourly. The reported situation is: A factory generates sensor readings continuously and expects alerts within seconds, but the current pipeline runs hourly.
C:Streaming inference applies model transformations continuously to incoming events under defined event-time semantics. A factory generates sensor readings continuously and expects alerts within seconds, but the current pipeline runs hourly.
D:Implement an approved Structured Streaming or supported declarative pipeline inference path. Inspect event arrival rates, detection delay, windowing needs and supported scoring logic.
Incorrect Answers
B:The complete dataset scores within resources while retaining source-to-output row mapping. The relevant distinction here is Choose streaming inference for continuous event pipelines; Avoid driver-memory failure during giant pandas scoring is a separate concern.
E:Supported serving endpoint traffic allocation can route defined proportions to separate served model configurations. Although useful for Split endpoint traffic between champion and challenger, this does not establish the requested Choose streaming inference for continuous event pipelines result.
F:Configure supported checkpoint and deduplication behavior with a stable event identifier. That is a Control stateful streaming replay for model predictions consideration; the immediate issue lies in Choose streaming inference for continuous event pipelines. The reported situation is: A factory generates sensor readings continuously and expects alerts within seconds, but the current pipeline runs hourly.
Question 546
During a Databricks deployment readiness review, an ML engineer evaluates batch, streaming and interactive inference requirements. The observed issue is: A registered estimator predicts correctly in a notebook but an endpoint fails because its custom preprocessing function was omitted. The review distinguishes symptoms from root cause. The team must select the technical principle that explains the requirement, not a neighboring unrelated feature. Which underlying Databricks or machine-learning principle BEST explains the stated need? Choose ONE best answer.
- Streaming inference applies model transformations continuously to incoming events under defined event-time semantics.
- A custom served model must package the supported inference code, dependencies and input-output signature.
- Supported serving endpoint traffic allocation can route defined proportions to separate served model configurations.
- Pandas inference assumes local memory availability, so large distributed batches may need partitioned scoring.
Explanation
Correct Answer
B:A custom served model must package the supported inference code, dependencies and input-output signature. Inspect logged model flavor, serialized artifacts, dependency environment and request schema. Create and register a complete supported MLflow custom model including required preprocessing code.
Incorrect Answers
A:Streaming inference applies model transformations continuously to incoming events under defined event-time semantics. The option addresses Choose streaming inference for continuous event pipelines, which is distinct from the Package custom inference logic with model artifact issue here.
C:Supported serving endpoint traffic allocation can route defined proportions to separate served model configurations. It addresses Split endpoint traffic between champion and challenger, not the Package custom inference logic with model artifact requirement described.
D:Pandas inference assumes local memory availability, so large distributed batches may need partitioned scoring. The relevant distinction here is Package custom inference logic with model artifact; Avoid driver-memory failure during giant pandas scoring is a separate concern.
Question 547
During a Databricks deployment readiness review, an ML engineer evaluates batch, streaming and interactive inference requirements. The observed issue is: A registered estimator predicts correctly in a notebook but an endpoint fails because its custom preprocessing function was omitted. The review distinguishes symptoms from root cause. The team needs the most discriminating technical evidence before changing the solution, not an unsupported assumption. Which diagnostic check BEST distinguishes the actual cause or requirement? Choose ONE best answer.
- Measure data size, driver memory, model serialization requirements and Spark partition capacity.
- Inspect principal identity, Unity Catalog privileges, model URI and endpoint event logs.
- Compare routing counters, response probability meaning, validation metrics and model versions.
- Inspect logged model flavor, serialized artifacts, dependency environment and request schema.
Explanation
Correct Answer
D:Inspect logged model flavor, serialized artifacts, dependency environment and request schema. A custom served model must package the supported inference code, dependencies and input-output signature. The endpoint loads the model and reproduces a known prediction from a reference request.
Incorrect Answers
A:Measure data size, driver memory, model serialization requirements and Spark partition capacity. That is a Avoid driver-memory failure during giant pandas scoring consideration; the immediate issue lies in Package custom inference logic with model artifact.
B:Inspect principal identity, Unity Catalog privileges, model URI and endpoint event logs. It does not test the Package custom inference logic with model artifact condition; it instead concerns Validate endpoint permissions and model registry identity.
C:Compare routing counters, response probability meaning, validation metrics and model versions. The option addresses Avoid confusing traffic percentage with model confidence, which is distinct from the Package custom inference logic with model artifact issue here.
Question 548
During a Databricks deployment readiness review, an ML engineer evaluates batch, streaming and interactive inference requirements. The observed issue is: A registered estimator predicts correctly in a notebook but an endpoint fails because its custom preprocessing function was omitted. The review distinguishes symptoms from root cause. The owner requires a proportionate, authorized technical correction that can be verified independently. Which scoped solution approach BEST resolves the issue without unnecessary operational risk? Choose ONE best answer.
- Create and register a complete supported MLflow custom model including required preprocessing code.
- Run a smoke test plus independent prediction-validation suite before shifting production traffic.
- Grant narrowly scoped registry access and create the endpoint using the approved model version.
- Configure supported checkpoint and deduplication behavior with a stable event identifier.
Explanation
Correct Answer
A:Create and register a complete supported MLflow custom model including required preprocessing code. A custom served model must package the supported inference code, dependencies and input-output signature. Inspect logged model flavor, serialized artifacts, dependency environment and request schema.
Incorrect Answers
B:Run a smoke test plus independent prediction-validation suite before shifting production traffic. Although useful for Measure serving endpoint readiness independently of model accuracy, this does not establish the requested Package custom inference logic with model artifact result.
C:Grant narrowly scoped registry access and create the endpoint using the approved model version. That is a Validate endpoint permissions and model registry identity consideration; the immediate issue lies in Package custom inference logic with model artifact.
D:Configure supported checkpoint and deduplication behavior with a stable event identifier. It does not test the Package custom inference logic with model artifact condition; it instead concerns Control stateful streaming replay for model predictions.
Question 549
During a Databricks deployment readiness review, an ML engineer evaluates batch, streaming and interactive inference requirements. A separate control validation examines: A registered estimator predicts correctly in a notebook but an endpoint fails because its custom preprocessing function was omitted. Changes require named owner approval and safe rollback. The reviewer requests two independent contributions: one direct diagnostic and a measurable post-change result. Select EXACTLY TWO: the case-specific pre-change evidence check AND the independent post-change acceptance outcome.
- Measure data size, driver memory, model serialization requirements and Spark partition capacity.
- Inspect existing endpoint configuration, model version references, allocation percentages and rollback plan.
- Inspect logged model flavor, serialized artifacts, dependency environment and request schema.
- The endpoint returns expected predictions for schema-valid samples and clear errors for invalid ones.
- The endpoint loads the model and reproduces a known prediction from a reference request.
Explanation
Correct Answers
C:Inspect logged model flavor, serialized artifacts, dependency environment and request schema. A registered estimator predicts correctly in a notebook but an endpoint fails because its custom preprocessing function was omitted.
E:The endpoint loads the model and reproduces a known prediction from a reference request. A registered estimator predicts correctly in a notebook but an endpoint fails because its custom preprocessing function was omitted.
Incorrect Answers
A:Measure data size, driver memory, model serialization requirements and Spark partition capacity. The relevant distinction here is Package custom inference logic with model artifact; Avoid driver-memory failure during giant pandas scoring is a separate concern.
B:Inspect existing endpoint configuration, model version references, allocation percentages and rollback plan. This would be pertinent to Split endpoint traffic between champion and challenger, but does not resolve the stated Package custom inference logic with model artifact issue.
D:The endpoint returns expected predictions for schema-valid samples and clear errors for invalid ones. Although useful for Query model-serving endpoint with valid request schema, this does not establish the requested Package custom inference logic with model artifact result.
Question 550
During a Databricks deployment readiness review, an ML engineer evaluates batch, streaming and interactive inference requirements. A separate control validation examines: A registered estimator predicts correctly in a notebook but an endpoint fails because its custom preprocessing function was omitted. Changes require named owner approval and safe rollback. The acceptance review requires three complementary roles: governing principle, bounded corrective action and measurable result. Select EXACTLY THREE: the governing technical principle, proportionate action AND independently verifiable success result.
- Load the approved model and call the supported predict method on a schema-conforming pandas frame.
- The nightly predictions are available before planning begins with no unnecessary always-on serving load.
- Create and register a complete supported MLflow custom model including required preprocessing code.
- The historical exam guide names Delta Live Tables for streaming inference; supported current Lakeflow terminology may differ by version.
- The endpoint loads the model and reproduces a known prediction from a reference request.
- A custom served model must package the supported inference code, dependencies and input-output signature.
Explanation
Correct Answers
C:Create and register a complete supported MLflow custom model including required preprocessing code. Inspect logged model flavor, serialized artifacts, dependency environment and request schema.
E:The endpoint loads the model and reproduces a known prediction from a reference request. A registered estimator predicts correctly in a notebook but an endpoint fails because its custom preprocessing function was omitted. The reported situation is: A registered estimator predicts correctly in a notebook but an endpoint fails because its custom preprocessing function was omitted.
F:A custom served model must package the supported inference code, dependencies and input-output signature. A registered estimator predicts correctly in a notebook but an endpoint fails because its custom preprocessing function was omitted.
Incorrect Answers
A:Load the approved model and call the supported predict method on a schema-conforming pandas frame. That concerns Perform pandas batch inference on small local frame, while this case turns on Package custom inference logic with model artifact.
B:The nightly predictions are available before planning begins with no unnecessary always-on serving load. It addresses Choose scheduled batch inference for nightly score output, not the Package custom inference logic with model artifact requirement described.
D:The historical exam guide names Delta Live Tables for streaming inference; supported current Lakeflow terminology may differ by version. This would be pertinent to Run model inference inside declarative streaming pipeline, but does not resolve the stated Package custom inference logic with model artifact issue.