Certified Machine Learning Professional Exam QuestionsBrowse all questions from this exam

Certified Machine Learning Professional Exam - Question 60


A machine learning engineer has created a webhook with the following code block:

Which of the following code blocks will trigger this webhook to run the associate job?

Show Answer
Correct Answer: C

The correct code block to trigger the webhook is the one that includes the transition_model_version_stage() method with the necessary parameter specifying the target stage, as this matches the event 'MODEL_VERSION_TRANSITIONED_TO_STAGING' defined in the webhook. The proper format and function usage ensure the webhook will be triggered appropriately.

Discussion

2 comments
Sign in to comment
GVR76Option: E
Jan 10, 2024

Answer is E

hugodscarvalhoOption: E
Jan 27, 2024

The correct method is transition_model_version_stage(), the model should be the same as defined in the webhook: "model" and not "new_model", and the method only requires specifying the target stage, there's no "from" or "to" arguments.