nerdexam
DatabricksDatabricks

CERTIFIED-MACHINE-LEARNING-PROFESSIONAL · Question #32

CERTIFIED-MACHINE-LEARNING-PROFESSIONAL Question #32: Real Exam Question with Answer & Explanation

The correct answer is E: client.delete_registered_model. client.delete_registered_model (E) is the correct MLflow API call for removing an entire model - along with all its versions and metadata - from the Model Registry. Option D (client.delete_model) doesn't exist in the MLflow client API; it's a plausible-sounding fabrication. Optio

Question

Which of the following MLflow operations can be used to delete a model from the MLflow Model Registry?

Options

  • Aclient.transition_model_version_stage
  • Bclient.delete_model_version
  • Cclient.update_registered_model
  • Dclient.delete_model
  • Eclient.delete_registered_model

Explanation

client.delete_registered_model (E) is the correct MLflow API call for removing an entire model - along with all its versions and metadata - from the Model Registry. Option D (client.delete_model) doesn't exist in the MLflow client API; it's a plausible-sounding fabrication. Option B (client.delete_model_version) does exist but only deletes a specific version, not the whole registered model. Option A (client.transition_model_version_stage) changes a version's stage (e.g., Staging → Production) and deletes nothing. Option C (client.update_registered_model) modifies a model's name or description, leaving it intact.

Memory tip: Think "registered" = the whole entry in the registry. To nuke the whole thing, your method name must include registered_model - delete_registered_model. If it just says delete_model_version, it's scoped to one version only.

Community Discussion

No community discussion yet for this question.

Full CERTIFIED-MACHINE-LEARNING-PROFESSIONAL PracticeBrowse All CERTIFIED-MACHINE-LEARNING-PROFESSIONAL Questions