Databricks Certified Machine Learning Associate Practice Test 56
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.
Question 551
During a Databricks deployment readiness review, an ML engineer evaluates batch, streaming and interactive inference requirements. The observed issue is: A deployment notebook specifies a valid model version but its service principal lacks access to the registered artifact. 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.
- Traffic split controls request routing and is independent of predictive quality or confidence.
- Streaming inference applies model transformations continuously to incoming events under defined event-time semantics.
- Model serving requires authorized registry/model access in addition to endpoint configuration.
- A custom served model must package the supported inference code, dependencies and input-output signature.
Explanation
Correct Answer
C:Model serving requires authorized registry/model access in addition to endpoint configuration. Inspect principal identity, Unity Catalog privileges, model URI and endpoint event logs. Grant narrowly scoped registry access and create the endpoint using the approved model version.
Incorrect Answers
A:Traffic split controls request routing and is independent of predictive quality or confidence. It does not test the Validate endpoint permissions and model registry identity condition; it instead concerns Avoid confusing traffic percentage with model confidence.
B: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 Validate endpoint permissions and model registry identity issue here.
D:A custom served model must package the supported inference code, dependencies and input-output signature. It addresses Package custom inference logic with model artifact, not the Validate endpoint permissions and model registry identity requirement described.
Question 552
During a Databricks deployment readiness review, an ML engineer evaluates batch, streaming and interactive inference requirements. The observed issue is: A deployment notebook specifies a valid model version but its service principal lacks access to the registered artifact. 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 frame size, column ordering, dtypes and model input signature before prediction.
- Inspect existing endpoint configuration, model version references, allocation percentages and rollback plan.
- Inspect principal identity, Unity Catalog privileges, model URI and endpoint event logs.
Explanation
Correct Answer
D:Inspect principal identity, Unity Catalog privileges, model URI and endpoint event logs. Model serving requires authorized registry/model access in addition to endpoint configuration. The authorized endpoint serves the intended artifact without allowing unrelated model access.
Incorrect Answers
A:Inspect event arrival rates, detection delay, windowing needs and supported scoring logic. Although useful for Choose streaming inference for continuous event pipelines, this does not establish the requested Validate endpoint permissions and model registry identity result.
B:Inspect frame size, column ordering, dtypes and model input signature before prediction. That is a Perform pandas batch inference on small local frame consideration; the immediate issue lies in Validate endpoint permissions and model registry identity.
C:Inspect existing endpoint configuration, model version references, allocation percentages and rollback plan. It does not test the Validate endpoint permissions and model registry identity condition; it instead concerns Split endpoint traffic between champion and challenger.
Question 553
During a Databricks deployment readiness review, an ML engineer evaluates batch, streaming and interactive inference requirements. The observed issue is: A deployment notebook specifies a valid model version but its service principal lacks access to the registered artifact. 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 an approved canary traffic split with measurement and explicit promotion criteria.
- Grant narrowly scoped registry access and create the endpoint using the approved model version.
Explanation
Correct Answer
D:Grant narrowly scoped registry access and create the endpoint using the approved model version. Model serving requires authorized registry/model access in addition to endpoint configuration. Inspect principal identity, Unity Catalog privileges, model URI and endpoint event logs.
Incorrect Answers
A:Implement an approved Structured Streaming or supported declarative pipeline inference path. This would be pertinent to Choose streaming inference for continuous event pipelines, but does not resolve the stated Validate endpoint permissions and model registry identity issue.
B:Configure supported checkpoint and deduplication behavior with a stable event identifier. The scenario calls for Validate endpoint permissions and model registry identity reasoning rather than a Control stateful streaming replay for model predictions analysis.
C:Use an approved canary traffic split with measurement and explicit promotion criteria. Although useful for Split endpoint traffic between champion and challenger, this does not establish the requested Validate endpoint permissions and model registry identity result.
Question 554
During a Databricks deployment readiness review, an ML engineer evaluates batch, streaming and interactive inference requirements. A separate control validation examines: A deployment notebook specifies a valid model version but its service principal lacks access to the registered artifact. 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 principal identity, Unity Catalog privileges, model URI and endpoint event logs.
- Inspect logged model flavor, serialized artifacts, dependency environment and request schema.
- Compare API response deadline, fraud decision point, model loading behavior and dependency latency.
- The endpoint returns expected predictions for schema-valid samples and clear errors for invalid ones.
- The authorized endpoint serves the intended artifact without allowing unrelated model access.
Explanation
Correct Answers
A:Inspect principal identity, Unity Catalog privileges, model URI and endpoint event logs. A deployment notebook specifies a valid model version but its service principal lacks access to the registered artifact.
E:The authorized endpoint serves the intended artifact without allowing unrelated model access. A deployment notebook specifies a valid model version but its service principal lacks access to the registered artifact.
Incorrect Answers
B:Inspect logged model flavor, serialized artifacts, dependency environment and request schema. The relevant distinction here is Validate endpoint permissions and model registry identity; Package custom inference logic with model artifact is a separate concern.
C:Compare API response deadline, fraud decision point, model loading behavior and dependency latency. This would be pertinent to Choose low-latency real-time inference for synchronous requests, but does not resolve the stated Validate endpoint permissions and model registry identity issue.
D:The endpoint returns expected predictions for schema-valid samples and clear errors for invalid ones. The scenario calls for Validate endpoint permissions and model registry identity reasoning rather than a Query model-serving endpoint with valid request schema analysis.
Question 555
During a Databricks deployment readiness review, an ML engineer evaluates batch, streaming and interactive inference requirements. A separate control validation examines: A deployment notebook specifies a valid model version but its service principal lacks access to the registered artifact. 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.
- Traffic split controls request routing and is independent of predictive quality or confidence.
- Grant narrowly scoped registry access and create the endpoint using the approved model version.
- Model serving requires authorized registry/model access in addition to endpoint configuration.
- The batch produces one prediction per input row with validated identifiers and output types.
- The authorized endpoint serves the intended artifact without allowing unrelated model access.
- Run a smoke test plus independent prediction-validation suite before shifting production traffic.
Explanation
Correct Answers
B:Grant narrowly scoped registry access and create the endpoint using the approved model version. Inspect principal identity, Unity Catalog privileges, model URI and endpoint event logs.
C:Model serving requires authorized registry/model access in addition to endpoint configuration. A deployment notebook specifies a valid model version but its service principal lacks access to the registered artifact.
E:The authorized endpoint serves the intended artifact without allowing unrelated model access. A deployment notebook specifies a valid model version but its service principal lacks access to the registered artifact. The reported situation is: A deployment notebook specifies a valid model version but its service principal lacks access to the registered artifact.
Incorrect Answers
A:Traffic split controls request routing and is independent of predictive quality or confidence. The option addresses Avoid confusing traffic percentage with model confidence, which is distinct from the Validate endpoint permissions and model registry identity issue here.
D:The batch produces one prediction per input row with validated identifiers and output types. The relevant distinction here is Validate endpoint permissions and model registry identity; Perform pandas batch inference on small local frame is a separate concern.
F:Run a smoke test plus independent prediction-validation suite before shifting production traffic. The scenario calls for Validate endpoint permissions and model registry identity reasoning rather than a Measure serving endpoint readiness independently of model accuracy analysis.
Question 556
During a Databricks deployment readiness review, an ML engineer evaluates batch, streaming and interactive inference requirements. The observed issue is: A data scientist has a manageable in-memory pandas DataFrame and needs scores for a monthly analyst review. 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.
- Pandas inference assumes local memory availability, so large distributed batches may need partitioned scoring.
- Serving requests must conform to the deployed model's input signature and supported endpoint protocol.
- A fitted model can score a pandas batch directly when input fits memory and matches its feature schema.
Explanation
Correct Answer
D:A fitted model can score a pandas batch directly when input fits memory and matches its feature schema. Inspect frame size, column ordering, dtypes and model input signature before prediction. Load the approved model and call the supported predict method on a schema-conforming pandas frame.
Incorrect Answers
A:Streaming inference applies model transformations continuously to incoming events under defined event-time semantics. That is a Choose streaming inference for continuous event pipelines consideration; the immediate issue lies in Perform pandas batch inference on small local frame.
B:Pandas inference assumes local memory availability, so large distributed batches may need partitioned scoring. It does not test the Perform pandas batch inference on small local frame condition; it instead concerns Avoid driver-memory failure during giant pandas scoring.
C:Serving requests must conform to the deployed model's input signature and supported endpoint protocol. The option addresses Query model-serving endpoint with valid request schema, which is distinct from the Perform pandas batch inference on small local frame issue here.
Question 557
During a Databricks deployment readiness review, an ML engineer evaluates batch, streaming and interactive inference requirements. The observed issue is: A data scientist has a manageable in-memory pandas DataFrame and needs scores for a monthly analyst review. 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.
- Compare routing counters, response probability meaning, validation metrics and model versions.
- Inspect checkpoint identity, event keys, write mode, replay behavior and duplicate alert counts.
- Inspect frame size, column ordering, dtypes and model input signature before prediction.
- Inspect event arrival rates, detection delay, windowing needs and supported scoring logic.
Explanation
Correct Answer
C:Inspect frame size, column ordering, dtypes and model input signature before prediction. A fitted model can score a pandas batch directly when input fits memory and matches its feature schema. The batch produces one prediction per input row with validated identifiers and output types.
Incorrect Answers
A:Compare routing counters, response probability meaning, validation metrics and model versions. The scenario calls for Perform pandas batch inference on small local frame reasoning rather than a Avoid confusing traffic percentage with model confidence analysis.
B:Inspect checkpoint identity, event keys, write mode, replay behavior and duplicate alert counts. Although useful for Control stateful streaming replay for model predictions, this does not establish the requested Perform pandas batch inference on small local frame result.
D:Inspect event arrival rates, detection delay, windowing needs and supported scoring logic. It does not test the Perform pandas batch inference on small local frame condition; it instead concerns Choose streaming inference for continuous event pipelines.
Question 558
During a Databricks deployment readiness review, an ML engineer evaluates batch, streaming and interactive inference requirements. The observed issue is: A data scientist has a manageable in-memory pandas DataFrame and needs scores for a monthly analyst review. 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.
- Move privileged inference calls behind an authorized server component and rotate exposed credentials.
- Load the approved model and call the supported predict method on a schema-conforming pandas frame.
- Run a smoke test plus independent prediction-validation suite before shifting production traffic.
- Use approved partitioned or distributed batch inference instead of collecting everything into driver memory.
Explanation
Correct Answer
B:Load the approved model and call the supported predict method on a schema-conforming pandas frame. A fitted model can score a pandas batch directly when input fits memory and matches its feature schema. Inspect frame size, column ordering, dtypes and model input signature before prediction.
Incorrect Answers
A:Move privileged inference calls behind an authorized server component and rotate exposed credentials. The relevant distinction here is Perform pandas batch inference on small local frame; Keep inference credentials out of client-side code is a separate concern.
C:Run a smoke test plus independent prediction-validation suite before shifting production traffic. The scenario calls for Perform pandas batch inference on small local frame reasoning rather than a Measure serving endpoint readiness independently of model accuracy analysis.
D:Use approved partitioned or distributed batch inference instead of collecting everything into driver memory. Although useful for Avoid driver-memory failure during giant pandas scoring, this does not establish the requested Perform pandas batch inference on small local frame result.
Question 559
During a Databricks deployment readiness review, an ML engineer evaluates batch, streaming and interactive inference requirements. A separate control validation examines: A data scientist has a manageable in-memory pandas DataFrame and needs scores for a monthly analyst review. 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.
- Inspect frame size, column ordering, dtypes and model input signature before prediction.
- The batch produces one prediction per input row with validated identifiers and output types.
- Inspect credential placement, endpoint ACLs, token lifetime and client/network exposure.
- The endpoint meets operational SLOs and produces correct reference predictions on approved inputs.
Explanation
Correct Answers
B:Inspect frame size, column ordering, dtypes and model input signature before prediction. A data scientist has a manageable in-memory pandas DataFrame and needs scores for a monthly analyst review.
C:The batch produces one prediction per input row with validated identifiers and output types. A data scientist has a manageable in-memory pandas DataFrame and needs scores for a monthly analyst review.
Incorrect Answers
A:Inspect consumer schedule, data arrival times, throughput needs and end-to-end prediction latency requirements. That concerns Choose scheduled batch inference for nightly score output, while this case turns on Perform pandas batch inference on small local frame.
D:Inspect credential placement, endpoint ACLs, token lifetime and client/network exposure. This would be pertinent to Keep inference credentials out of client-side code, but does not resolve the stated Perform pandas batch inference on small local frame issue.
E:The endpoint meets operational SLOs and produces correct reference predictions on approved inputs. The scenario calls for Perform pandas batch inference on small local frame reasoning rather than a Measure serving endpoint readiness independently of model accuracy analysis.
Question 560
During a Databricks deployment readiness review, an ML engineer evaluates batch, streaming and interactive inference requirements. A separate control validation examines: A data scientist has a manageable in-memory pandas DataFrame and needs scores for a monthly analyst review. 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.
- Grant narrowly scoped registry access and create the endpoint using the approved model version.
- Load the approved model and call the supported predict method on a schema-conforming pandas frame.
- The batch produces one prediction per input row with validated identifiers and output types.
- A fitted model can score a pandas batch directly when input fits memory and matches its feature schema.
- Serving requests must conform to the deployed model's input signature and supported endpoint protocol.
Explanation
Correct Answers
C:Load the approved model and call the supported predict method on a schema-conforming pandas frame. Inspect frame size, column ordering, dtypes and model input signature before prediction.
D:The batch produces one prediction per input row with validated identifiers and output types. A data scientist has a manageable in-memory pandas DataFrame and needs scores for a monthly analyst review. The reported situation is: A data scientist has a manageable in-memory pandas DataFrame and needs scores for a monthly analyst review.
E:A fitted model can score a pandas batch directly when input fits memory and matches its feature schema. A data scientist has a manageable in-memory pandas DataFrame and needs scores for a monthly analyst review.
Incorrect Answers
A:Events yield timely scored outputs and late data is handled under a documented policy. It does not test the Perform pandas batch inference on small local frame condition; it instead concerns Choose streaming inference for continuous event pipelines.
B:Grant narrowly scoped registry access and create the endpoint using the approved model version. The option addresses Validate endpoint permissions and model registry identity, which is distinct from the Perform pandas batch inference on small local frame issue here.
F:Serving requests must conform to the deployed model's input signature and supported endpoint protocol. This would be pertinent to Query model-serving endpoint with valid request schema, but does not resolve the stated Perform pandas batch inference on small local frame issue.