Exam Certified Machine Learning Professional All QuestionsBrowse all questions from this exam
Question 56

A machine learning engineer is attempting to create a webhook that will trigger a Databricks Job job_id when a model version for model model transitions into any MLflow Model Registry stage.

They have the following incomplete code block:

Which of the following lines of code can be used to fill in the blank so that the code block accomplishes the task?

    Correct Answer: D

    To accomplish the task of triggering the webhook whenever a model version transitions into any MLflow Model Registry stage, the appropriate event to use in the job_json is 'MODEL_VERSION_TRANSITIONED_STAGE'. This event encompasses all transitions, including to staging and production. The other options, such as 'MODEL_VERSION_TRANSITIONED_TO_STAGING' or 'MODEL_VERSION_TRANSITIONED_TO_PRODUCTION,' would only trigger for specific stage transitions, not all possible stages.

Discussion
victorcolomeOption: D

Answer is D. Check Webhook events documentation: https://docs.databricks.com/en/mlflow/model-registry-webhooks.html#webhook-events

IT3008Option: D

Answer: D

GVR76Option: D

The answer is D. "MODEL_VERSION_TRANSITIONED_STAGE". Explanation: Webhook Trigger Events: The events argument in create_registry_webhook specifies which events will activate the webhook. General Stage Transition: To trigger the webhook for model version transitions into any stage, we need the general event "MODEL_VERSION_TRANSITIONED_STAGE". This encompasses transitions to all stages, not just specific ones.