Question 1
Which component should trigger an alert when a monitored metric, such as drift on a key feature, exceeds a threshold?
- A SQL alert on the drift metrics table — Correct
- A Git commit hook
- A Unity Catalog grant
- A cluster policy
Correct answer
A SQL alert on the drift metrics table
Explanation
Monitor metric tables can be queried by alerts that notify teams or start jobs.
Question 2
Which Databricks capability detects drift in features and predictions of an inference table over time?
- Data profiling with an inference profile — Correct
- Git folders
- The SQL warehouse query history
- Unity Catalog lineage
Correct answer
Data profiling with an inference profile
Explanation
Data profiling computes profile and drift metrics over time for tables, including inference tables.
Question 3
A real-time model serving endpoint needs user features with low-latency lookups. What should be set up?
- Copy the features into the model's artifact folder before deployment
- Publish the feature table to an online feature store — Correct
- Use fe.score_batch on each incoming request
- Query the offline Delta feature table from the endpoint with a SQL warehouse for each request
Correct answer
Publish the feature table to an online feature store
Explanation
Online stores provide low-latency feature lookup for served models logged with feature metadata.
Question 4
Which statement about inference tables for a Model Serving endpoint is correct?
- They replace the model registry
- They store the model's training data
- They are only available for batch inference
- They log requests and responses to a Delta table — Correct
Correct answer
They log requests and responses to a Delta table
Explanation
Inference tables capture payloads, which can be joined with labels and monitored.
Question 5
A model is deployed as batch inference with spark_udf. Which statement is correct?
- The model runs only on the driver
- Executors load the model and score partitions in parallel — Correct
- Predictions are computed by the SQL warehouse
- The model must be converted to SQL first
Correct answer
Executors load the model and score partitions in parallel
Explanation
spark_udf distributes model inference across executors.
Question 6
A custom model needs preprocessing logic not supported by built-in flavors. How can it be deployed to Model Serving?
- Upload a Docker image directly to Unity Catalog
- Custom models cannot be served
- Wrap it in a custom pyfunc PythonModel and serve it — Correct
- Write the logic in a SQL alert
Correct answer
Wrap it in a custom pyfunc PythonModel and serve it
Explanation
Custom pyfunc models wrap arbitrary Python logic and are served like other MLflow models.
Question 7
A team wants 10% of production traffic sent to a challenger model and 90% to the champion on the same endpoint. What should be configured?
- Create two endpoints and ask clients to pick randomly
- Serve both on one endpoint with a 90/10 split — Correct
- Use batch inference for the challenger only
- Register both versions under one alias
Correct answer
Serve both on one endpoint with a 90/10 split
Explanation
Endpoints can serve multiple served entities with configurable traffic percentages for A/B testing or canary releases.
Question 8
A monitor shows that the distribution of the feature income shifted significantly in the last two weeks, but labels are not yet available. What is the best next step?
- Delete the monitor
- Ignore it, because drift never affects performance
- Investigate the cause and assess retraining once labels arrive — Correct
- Immediately roll back to a model trained five years ago
Correct answer
Investigate the cause and assess retraining once labels arrive
Explanation
Drift is a signal to investigate; performance should be confirmed with labels before retraining or rollback decisions.
Question 9
Which statement about Model Serving endpoint permissions is correct?
- Endpoint permissions such as CAN QUERY — Correct
- Anyone with SELECT on a table can query any endpoint
- Endpoints cannot be secured
- Endpoints are public by default
Correct answer
Endpoint permissions such as CAN QUERY
Explanation
Endpoints have their own access control lists.
Question 10
A payment app must score each transaction for fraud within 100 ms while the customer waits. Which deployment approach fits?
- Manual scoring in a notebook
- Real-time Model Serving — Correct
- Nightly batch scoring
- Weekly streaming job
Correct answer
Real-time Model Serving
Explanation
Low-latency, per-request predictions require real-time serving.