Databricks Certified Machine Learning Associate Practice Test 59
Question 580
During a Databricks deployment readiness review, an ML engineer evaluates batch, streaming and interactive inference requirements. A separate control validation examines: An approved endpoint is reachable but client requests fail because the JSON payload uses incorrect feature names. 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 historical exam guide names Delta Live Tables for streaming inference; supported current Lakeflow terminology may differ by version.
- The endpoint returns expected predictions for schema-valid samples and clear errors for invalid ones.
- Create and register a complete supported MLflow custom model including required preprocessing code.
- End users receive approved inference results without being able to extract service secrets.
- Construct authenticated requests with the required input shape and validate reference examples.
- Serving requests must conform to the deployed model's input signature and supported endpoint protocol.
Explanation
Correct Answers
B:The endpoint returns expected predictions for schema-valid samples and clear errors for invalid ones. An approved endpoint is reachable but client requests fail because the JSON payload uses incorrect feature names. The reported situation is: An approved endpoint is reachable but client requests fail because the JSON payload uses incorrect feature names.
E:Construct authenticated requests with the required input shape and validate reference examples. Inspect endpoint readiness, request JSON, schema types, response errors and access token scope.
F:Serving requests must conform to the deployed model's input signature and supported endpoint protocol. An approved endpoint is reachable but client requests fail because the JSON payload uses incorrect feature names.
Incorrect Answers
A: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 Query model-serving endpoint with valid request schema issue.
C:Create and register a complete supported MLflow custom model including required preprocessing code. Although useful for Package custom inference logic with model artifact, this does not establish the requested Query model-serving endpoint with valid request schema result.
D:End users receive approved inference results without being able to extract service secrets. That is a Keep inference credentials out of client-side code consideration; the immediate issue lies in Query model-serving endpoint with valid request schema.
Question 581
During a Databricks deployment readiness review, an ML engineer evaluates batch, streaming and interactive inference requirements. The observed issue is: A browser demo embeds a long-lived Databricks service credential in public JavaScript to call the serving endpoint. 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.
- Real-time serving supports synchronous predictions when the product requires bounded per-request latency.
- A fitted model can score a pandas batch directly when input fits memory and matches its feature schema.
- Authenticated model serving needs protected token handling and least-privilege service access.
- Model serving requires authorized registry/model access in addition to endpoint configuration.
Explanation
Correct Answer
C:Authenticated model serving needs protected token handling and least-privilege service access. Inspect credential placement, endpoint ACLs, token lifetime and client/network exposure. Move privileged inference calls behind an authorized server component and rotate exposed credentials.
Incorrect Answers
A:Real-time serving supports synchronous predictions when the product requires bounded per-request latency. It addresses Choose low-latency real-time inference for synchronous requests, not the Keep inference credentials out of client-side code requirement described.
B:A fitted model can score a pandas batch directly when input fits memory and matches its feature schema. The relevant distinction here is Keep inference credentials out of client-side code; Perform pandas batch inference on small local frame is a separate concern.
D:Model serving requires authorized registry/model access in addition to endpoint configuration. The scenario calls for Keep inference credentials out of client-side code reasoning rather than a Validate endpoint permissions and model registry identity analysis.
Question 582
During a Databricks deployment readiness review, an ML engineer evaluates batch, streaming and interactive inference requirements. The observed issue is: A browser demo embeds a long-lived Databricks service credential in public JavaScript to call the serving endpoint. 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 logged model flavor, serialized artifacts, dependency environment and request schema.
- Inspect credential placement, endpoint ACLs, token lifetime and client/network exposure.
- Inspect registered model compatibility, streaming input schema and supported UDF execution in the target runtime.
- Inspect frame size, column ordering, dtypes and model input signature before prediction.
Explanation
Correct Answer
B:Inspect credential placement, endpoint ACLs, token lifetime and client/network exposure. Authenticated model serving needs protected token handling and least-privilege service access. End users receive approved inference results without being able to extract service secrets.
Incorrect Answers
A:Inspect logged model flavor, serialized artifacts, dependency environment and request schema. The option addresses Package custom inference logic with model artifact, which is distinct from the Keep inference credentials out of client-side code issue here.
C:Inspect registered model compatibility, streaming input schema and supported UDF execution in the target runtime. It addresses Run model inference inside declarative streaming pipeline, not the Keep inference credentials out of client-side code requirement described.
D:Inspect frame size, column ordering, dtypes and model input signature before prediction. The relevant distinction here is Keep inference credentials out of client-side code; Perform pandas batch inference on small local frame is a separate concern.
Question 583
During a Databricks deployment readiness review, an ML engineer evaluates batch, streaming and interactive inference requirements. The observed issue is: A browser demo embeds a long-lived Databricks service credential in public JavaScript to call the serving endpoint. 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.
- Deploy an approved scheduled batch-scoring job that writes governed prediction output to a Delta table.
- Report routing share separately from model accuracy and monitor each served version independently.
- Use a governed model-serving endpoint with defined request schema, access control and latency SLO.
- Move privileged inference calls behind an authorized server component and rotate exposed credentials.
Explanation
Correct Answer
D:Move privileged inference calls behind an authorized server component and rotate exposed credentials. Authenticated model serving needs protected token handling and least-privilege service access. Inspect credential placement, endpoint ACLs, token lifetime and client/network exposure.
Incorrect Answers
A:Deploy an approved scheduled batch-scoring job that writes governed prediction output to a Delta table. That is a Choose scheduled batch inference for nightly score output consideration; the immediate issue lies in Keep inference credentials out of client-side code.
B:Report routing share separately from model accuracy and monitor each served version independently. It does not test the Keep inference credentials out of client-side code condition; it instead concerns Avoid confusing traffic percentage with model confidence.
C:Use a governed model-serving endpoint with defined request schema, access control and latency SLO. The option addresses Choose low-latency real-time inference for synchronous requests, which is distinct from the Keep inference credentials out of client-side code issue here.
Question 584
During a Databricks deployment readiness review, an ML engineer evaluates batch, streaming and interactive inference requirements. A separate control validation examines: A browser demo embeds a long-lived Databricks service credential in public JavaScript to call the serving endpoint. 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.
- End users receive approved inference results without being able to extract service secrets.
- Inspect credential placement, endpoint ACLs, token lifetime and client/network exposure.
- Inspect principal identity, Unity Catalog privileges, model URI and endpoint event logs.
- Inspect checkpoint identity, event keys, write mode, replay behavior and duplicate alert counts.
- Events yield timely scored outputs and late data is handled under a documented policy.
Explanation
Correct Answers
A:End users receive approved inference results without being able to extract service secrets. A browser demo embeds a long-lived Databricks service credential in public JavaScript to call the serving endpoint.
B:Inspect credential placement, endpoint ACLs, token lifetime and client/network exposure. A browser demo embeds a long-lived Databricks service credential in public JavaScript to call the serving endpoint.
Incorrect Answers
C:Inspect principal identity, Unity Catalog privileges, model URI and endpoint event logs. That is a Validate endpoint permissions and model registry identity consideration; the immediate issue lies in Keep inference credentials out of client-side code.
D:Inspect checkpoint identity, event keys, write mode, replay behavior and duplicate alert counts. It does not test the Keep inference credentials out of client-side code condition; it instead concerns Control stateful streaming replay for model predictions.
E:Events yield timely scored outputs and late data is handled under a documented policy. The option addresses Choose streaming inference for continuous event pipelines, which is distinct from the Keep inference credentials out of client-side code issue here.
Question 585
During a Databricks deployment readiness review, an ML engineer evaluates batch, streaming and interactive inference requirements. A separate control validation examines: A browser demo embeds a long-lived Databricks service credential in public JavaScript to call the serving endpoint. 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.
- End users receive approved inference results without being able to extract service secrets.
- The authorized endpoint serves the intended artifact without allowing unrelated model access.
- Move privileged inference calls behind an authorized server component and rotate exposed credentials.
- Authenticated model serving needs protected token handling and least-privilege service access.
- Load the approved model and call the supported predict method on a schema-conforming pandas frame.
- The historical exam guide names Delta Live Tables for streaming inference; supported current Lakeflow terminology may differ by version.
Explanation
Correct Answers
A:End users receive approved inference results without being able to extract service secrets. A browser demo embeds a long-lived Databricks service credential in public JavaScript to call the serving endpoint. The reported situation is: A browser demo embeds a long-lived Databricks service credential in public JavaScript to call the serving endpoint.
C:Move privileged inference calls behind an authorized server component and rotate exposed credentials. Inspect credential placement, endpoint ACLs, token lifetime and client/network exposure.
D:Authenticated model serving needs protected token handling and least-privilege service access. A browser demo embeds a long-lived Databricks service credential in public JavaScript to call the serving endpoint.
Incorrect Answers
B:The authorized endpoint serves the intended artifact without allowing unrelated model access. This would be pertinent to Validate endpoint permissions and model registry identity, but does not resolve the stated Keep inference credentials out of client-side code issue.
E:Load the approved model and call the supported predict method on a schema-conforming pandas frame. That is a Perform pandas batch inference on small local frame consideration; the immediate issue lies in Keep inference credentials out of client-side code.
F:The historical exam guide names Delta Live Tables for streaming inference; supported current Lakeflow terminology may differ by version. It does not test the Keep inference credentials out of client-side code condition; it instead concerns Run model inference inside declarative streaming pipeline.
Question 586
During a Databricks deployment readiness review, an ML engineer evaluates batch, streaming and interactive inference requirements. The observed issue is: A team declares a new endpoint launch successful because health probes pass, while most returned scores are invalid. 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.
- Supported serving endpoint traffic allocation can route defined proportions to separate served model configurations.
- A custom served model must package the supported inference code, dependencies and input-output signature.
- Serving requests must conform to the deployed model's input signature and supported endpoint protocol.
- Deployment health and model prediction quality are separate acceptance dimensions that must both be tested.
Explanation
Correct Answer
D:Deployment health and model prediction quality are separate acceptance dimensions that must both be tested. Inspect endpoint ready state, request latency, schema error rate and labeled reference predictions. Run a smoke test plus independent prediction-validation suite before shifting production traffic.
Incorrect Answers
A:Supported serving endpoint traffic allocation can route defined proportions to separate served model configurations. That concerns Split endpoint traffic between champion and challenger, while this case turns on Measure serving endpoint readiness independently of model accuracy.
B: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 Measure serving endpoint readiness independently of model accuracy requirement described.
C:Serving requests must conform to the deployed model's input signature and supported endpoint protocol. The relevant distinction here is Measure serving endpoint readiness independently of model accuracy; Query model-serving endpoint with valid request schema is a separate concern.
Question 587
During a Databricks deployment readiness review, an ML engineer evaluates batch, streaming and interactive inference requirements. The observed issue is: A team declares a new endpoint launch successful because health probes pass, while most returned scores are invalid. 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 existing endpoint configuration, model version references, allocation percentages and rollback plan.
- Inspect endpoint ready state, request latency, schema error rate and labeled reference predictions.
- Compare routing counters, response probability meaning, validation metrics and model versions.
- Inspect principal identity, Unity Catalog privileges, model URI and endpoint event logs.
Explanation
Correct Answer
B:Inspect endpoint ready state, request latency, schema error rate and labeled reference predictions. Deployment health and model prediction quality are separate acceptance dimensions that must both be tested. The endpoint meets operational SLOs and produces correct reference predictions on approved inputs.
Incorrect Answers
A:Inspect existing endpoint configuration, model version references, allocation percentages and rollback plan. It does not test the Measure serving endpoint readiness independently of model accuracy condition; it instead concerns Split endpoint traffic between champion and challenger.
C:Compare routing counters, response probability meaning, validation metrics and model versions. That concerns Avoid confusing traffic percentage with model confidence, while this case turns on Measure serving endpoint readiness independently of model accuracy.
D:Inspect principal identity, Unity Catalog privileges, model URI and endpoint event logs. It addresses Validate endpoint permissions and model registry identity, not the Measure serving endpoint readiness independently of model accuracy requirement described.
Question 588
During a Databricks deployment readiness review, an ML engineer evaluates batch, streaming and interactive inference requirements. The observed issue is: A team declares a new endpoint launch successful because health probes pass, while most returned scores are invalid. 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.
- Use an approved canary traffic split with measurement and explicit promotion criteria.
- Implement an approved Structured Streaming or supported declarative pipeline inference path.
- Run a smoke test plus independent prediction-validation suite before shifting production traffic.
- Apply a version-appropriate supported model scoring function within the controlled declarative streaming pipeline.
Explanation
Correct Answer
C:Run a smoke test plus independent prediction-validation suite before shifting production traffic. Deployment health and model prediction quality are separate acceptance dimensions that must both be tested. Inspect endpoint ready state, request latency, schema error rate and labeled reference predictions.
Incorrect Answers
A: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 Measure serving endpoint readiness independently of model accuracy result.
B:Implement an approved Structured Streaming or supported declarative pipeline inference path. That is a Choose streaming inference for continuous event pipelines consideration; the immediate issue lies in Measure serving endpoint readiness independently of model accuracy.
D:Apply a version-appropriate supported model scoring function within the controlled declarative streaming pipeline. The option addresses Run model inference inside declarative streaming pipeline, which is distinct from the Measure serving endpoint readiness independently of model accuracy issue here.
Question 589
During a Databricks deployment readiness review, an ML engineer evaluates batch, streaming and interactive inference requirements. A separate control validation examines: A team declares a new endpoint launch successful because health probes pass, while most returned scores are invalid. 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 endpoint ready state, request latency, schema error rate and labeled reference predictions.
- The endpoint returns expected predictions for schema-valid samples and clear errors for invalid ones.
- Inspect logged model flavor, serialized artifacts, dependency environment and request schema.
- Inspect registered model compatibility, streaming input schema and supported UDF execution in the target runtime.
- The endpoint meets operational SLOs and produces correct reference predictions on approved inputs.
Explanation
Correct Answers
A:Inspect endpoint ready state, request latency, schema error rate and labeled reference predictions. A team declares a new endpoint launch successful because health probes pass, while most returned scores are invalid.
E:The endpoint meets operational SLOs and produces correct reference predictions on approved inputs. A team declares a new endpoint launch successful because health probes pass, while most returned scores are invalid.
Incorrect Answers
B:The endpoint returns expected predictions for schema-valid samples and clear errors for invalid ones. The scenario calls for Measure serving endpoint readiness independently of model accuracy reasoning rather than a Query model-serving endpoint with valid request schema analysis.
C:Inspect logged model flavor, serialized artifacts, dependency environment and request schema. Although useful for Package custom inference logic with model artifact, this does not establish the requested Measure serving endpoint readiness independently of model accuracy result.
D:Inspect registered model compatibility, streaming input schema and supported UDF execution in the target runtime. That is a Run model inference inside declarative streaming pipeline consideration; the immediate issue lies in Measure serving endpoint readiness independently of model accuracy.
Question 590
During a Databricks deployment readiness review, an ML engineer evaluates batch, streaming and interactive inference requirements. A separate control validation examines: A team declares a new endpoint launch successful because health probes pass, while most returned scores are invalid. 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.
- Deployment health and model prediction quality are separate acceptance dimensions that must both be tested.
- Traffic split controls request routing and is independent of predictive quality or confidence.
- Run a smoke test plus independent prediction-validation suite before shifting production traffic.
- The authorized endpoint serves the intended artifact without allowing unrelated model access.
- Construct authenticated requests with the required input shape and validate reference examples.
- The endpoint meets operational SLOs and produces correct reference predictions on approved inputs.
Explanation
Correct Answers
A:Deployment health and model prediction quality are separate acceptance dimensions that must both be tested. A team declares a new endpoint launch successful because health probes pass, while most returned scores are invalid.
C:Run a smoke test plus independent prediction-validation suite before shifting production traffic. Inspect endpoint ready state, request latency, schema error rate and labeled reference predictions.
F:The endpoint meets operational SLOs and produces correct reference predictions on approved inputs. A team declares a new endpoint launch successful because health probes pass, while most returned scores are invalid. The reported situation is: A team declares a new endpoint launch successful because health probes pass, while most returned scores are invalid.
Incorrect Answers
B:Traffic split controls request routing and is independent of predictive quality or confidence. The relevant distinction here is Measure serving endpoint readiness independently of model accuracy; Avoid confusing traffic percentage with model confidence is a separate concern.
D:The authorized endpoint serves the intended artifact without allowing unrelated model access. The scenario calls for Measure serving endpoint readiness independently of model accuracy reasoning rather than a Validate endpoint permissions and model registry identity analysis.
E:Construct authenticated requests with the required input shape and validate reference examples. Although useful for Query model-serving endpoint with valid request schema, this does not establish the requested Measure serving endpoint readiness independently of model accuracy result.