DatabricksProfessional levelPage 2 of 3

Databricks Machine Learning Professional exam dumps: questions 101 to 200 of 279

Page 2 of the free Databricks Machine Learning Professional question bank for the Databricks Certified Machine Learning Professional exam. Questions 101 to 200 are listed below, the first 5 in full with answers and explanations. Back to page 1 for the exam overview and FAQ.

Question bank last updated January 2025

Free Databricks Machine Learning Professional practice questions

Questions 101 to 105 of 279

Pick an answer before you open the explanation. Each question also has its own page with a permalink.

Databricks Machine Learning Professional Question 101

Select 3

You are working on a machine learning workflow in Databricks where you need to run a batch inference job on a large dataset. You are considering whether to use a Job cluster or an all-purpose cluster. What are the advantages of using a Job cluster for this task?

  1. A

    Job clusters automatically terminate after the job is complete, reducing costs.

  2. B

    Job clusters provide better runtime performance compared to all-purpose clusters for all workloads.

  3. C

    Job clusters are dedicated to specific tasks, ensuring no interference from other workloads.

  4. D

    Job clusters allow for reusable cluster configurations for multiple interactive users.

  5. E

    Job clusters can be customized for each job, enabling optimized resource utilization.

Show answer and explanation

Correct answers: A, C, E

Explanation

Job clusters in Databricks are designed for single-use, ephemeral workloads like batch processing or scheduled tasks. They offer benefits such as automatic termination, task isolation, and customizable configurations, making them cost-effective and resource-efficient for job-specific tasks. Unlike all-purpose clusters, they are not intended for interactive or multi-user workflows.

  • A. Correct.

    Correct: Job clusters automatically terminate once the job finishes, which helps reduce unnecessary costs by not keeping the cluster running when it is no longer needed.

  • B. Incorrect.

    Incorrect: While Job clusters are optimized for job execution, they do not inherently guarantee better performance for all workloads compared to all-purpose clusters. Performance depends on the workload and cluster configuration.

  • C. Correct.

    Correct: Job clusters are isolated and dedicated to the specific job they are created for, avoiding interference from other workloads, unlike all-purpose clusters which may host multiple concurrent tasks.

  • D. Incorrect.

    Incorrect: Job clusters are typically ephemeral and designed for single-use, meaning they are not intended for reuse across multiple users or sessions. All-purpose clusters are better suited for this purpose.

  • E. Correct.

    Correct: Job clusters can be configured specifically for the requirements of a given job, allowing you to allocate resources optimally and avoid over- or under-provisioning.

Databricks Machine Learning Professional Question 102

Single answer

You are designing a machine learning workflow on Databricks and need a cluster to execute a batch inference job that runs once daily. Cost optimization and automated resource management are key considerations for your team. Why might you choose a Job cluster over an All-purpose cluster for this task?

  1. A

    Job clusters automatically shut down after the job is completed, reducing costs.

  2. B

    Job clusters are pre-configured with libraries required for most machine learning tasks.

  3. C

    Job clusters can be reused across multiple jobs, improving resource utilization.

  4. D

    Job clusters provide better scalability compared to All-purpose clusters.

Show answer and explanation

Correct answer: A

Explanation

Job clusters are specifically designed for single-job execution and are automatically terminated once the job is finished, making them an excellent choice for cost optimization in tasks like batch inference jobs. In contrast, All-purpose clusters are designed for long-running, interactive workloads, which can lead to higher costs if not actively managed.

  • A. Correct.

    Job clusters are ephemeral and are automatically terminated after the job execution is complete, which helps minimize costs by avoiding unnecessary resource usage.

  • B. Incorrect.

    This is incorrect because libraries must still be explicitly configured or installed for Job clusters, just like All-purpose clusters.

  • C. Incorrect.

    This is incorrect as Job clusters are designed for single-use and are not intended to be reused across multiple jobs. All-purpose clusters are better suited for shared, interactive workloads.

  • D. Incorrect.

    This is incorrect because both Job clusters and All-purpose clusters can scale similarly, depending on the job requirements and configurations.

Databricks Machine Learning Professional Question 103

Select 3

You are tasked with running a one-time data preprocessing job that involves training a machine learning model in Databricks. The job will run for a few hours and does not require real-time user interaction. Why would you choose a job cluster over an all-purpose cluster for this task?

  1. A

    Job clusters are automatically terminated after the job completes, reducing unnecessary cloud costs.

  2. B

    Job clusters support higher compute performance compared to all-purpose clusters.

  3. C

    Job clusters are specifically configured and optimized for the workload of a single job.

  4. D

    Job clusters allow multiple users to collaborate in real time while the job is running.

  5. E

    Job clusters are created on demand, ensuring a clean environment free of prior configurations.

Show answer and explanation

Correct answers: A, C, E

Explanation

Job clusters are ideal for one-time or scheduled tasks, such as data preprocessing or training machine learning models, because they are created on demand for a specific job and automatically terminated upon job completion. This reduces costs, ensures an isolated environment, and optimizes the cluster for the specific workload. Unlike all-purpose clusters, job clusters are not designed for real-time collaboration or persistent use.

  • A. Correct.

    Correct: Job clusters are terminated automatically once the job completes, which helps optimize cloud resource usage and reduce costs.

  • B. Incorrect.

    Incorrect: Job clusters do not inherently provide higher compute performance compared to all-purpose clusters; performance is determined by the cluster configuration.

  • C. Correct.

    Correct: Job clusters are designed to handle the workload of a single job and are optimized for that specific job's requirements.

  • D. Incorrect.

    Incorrect: Job clusters do not support real-time collaboration as they are intended for automated, single-job workloads. All-purpose clusters are better suited for this kind of interactive use case.

  • E. Correct.

    Correct: Job clusters are created on demand for each job, ensuring a clean and isolated environment free of prior configurations or interference from other jobs.

Databricks Machine Learning Professional Question 104

Single answer

You are a machine learning engineer working with Databricks, and your team has implemented a CI/CD pipeline for managing MLflow models. You want to automate the retraining of your model whenever it transitions from the 'Staging' stage to the 'Production' stage in MLflow. How can you achieve this in Databricks?

  1. A

    Create a Databricks Job with a webhook trigger, configure the webhook to listen for 'model_version_stage_transition' events in MLflow, and write logic to retrain the model.

  2. B

    Configure an MLflow Model Registry lifecycle event to automatically retrain the model when a stage transition occurs.

  3. C

    Create a Databricks Job with a time-based schedule and include logic to check for model stage transitions in MLflow.

  4. D

    Use Databricks AutoML to detect stage transitions and automatically retrain the model.

Show answer and explanation

Correct answer: A

Explanation

To automate tasks in Databricks when a model transitions between stages, a Databricks Job triggered by an MLflow webhook is the appropriate solution. MLflow provides a 'model_version_stage_transition' event that can be used to trigger such Jobs, enabling you to implement custom logic such as retraining the model.

  • A. Correct.

    This is the correct solution. Databricks Jobs can be triggered using webhooks, and MLflow provides a 'model_version_stage_transition' event that can be used to trigger actions like retraining models.

  • B. Incorrect.

    MLflow Model Registry does not have built-in support for automatically executing custom logic (like retraining) during stage transitions. You need to use a Databricks Job for this purpose.

  • C. Incorrect.

    A time-based schedule would not directly respond to stage transitions, making it less efficient and not aligned with the requirements of the scenario.

  • D. Incorrect.

    Databricks AutoML cannot detect MLflow model stage transitions or automate retraining based on these transitions. It is used for initial model development instead.

Databricks Machine Learning Professional Question 105

Single answer

A machine learning team at your organization has deployed a model to the 'Staging' stage in the MLflow Model Registry. They want to automatically trigger a Databricks Job to validate the model whenever it transitions to the 'Production' stage. How can you configure this workflow?

  1. A

    Create a Databricks Job and set the model transition event trigger to execute the Job whenever the model transitions to the 'Production' stage.

  2. B

    Use the Databricks REST API to poll the MLflow Model Registry for stage transitions and manually trigger the Job when the model reaches the 'Production' stage.

  3. C

    Set up an MLflow Webhook that listens for model transition events to the 'Production' stage and triggers the Databricks Job.

  4. D

    Manually monitor the MLflow Model Registry and trigger the Databricks Job using the UI when the model transitions to the 'Production' stage.

Show answer and explanation

Correct answer: C

Explanation

To automate the triggering of a Databricks Job when a model transitions to the 'Production' stage, the recommended approach is to use MLflow Webhooks. MLflow Webhooks can listen for specific model registry events (e.g., stage transitions) and trigger external actions, such as running a Databricks Job. This is the most efficient and scalable solution compared to manual monitoring or polling via the API.

  • A. Incorrect.

    Incorrect: Databricks Jobs do not have built-in triggers for MLflow model transition events. You need another mechanism, such as MLflow Webhooks, to achieve this automation.

  • B. Incorrect.

    Incorrect: Polling the MLflow Model Registry using the REST API is inefficient and not ideal for triggering Jobs. It is better to use event-driven mechanisms such as Webhooks.

  • C. Correct.

    Correct: MLflow Webhooks can listen for model transition events, such as transitioning to the 'Production' stage, and trigger external actions like Databricks Jobs.

  • D. Incorrect.

    Incorrect: Manually monitoring the MLflow Model Registry is not automated and does not meet the requirement of triggering the Job automatically.

Timed practice exam

Take a Databricks Machine Learning Professional practice test under exam conditions

60 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam

Databricks Machine Learning Professional practice questions 101 to 200 of 279

Every question has a page with the answer and explanation. Numbers are stable, so you can bookmark or share them. The bank is split into 3 pages of up to 100 questions.

  1. 101.You are working on a machine learning workflow in Databricks where you need to run a batch inference job on a...
  2. 102.You are designing a machine learning workflow on Databricks and need a cluster to execute a batch inference...
  3. 103.You are tasked with running a one-time data preprocessing job that involves training a machine learning model...
  4. 104.You are a machine learning engineer working with Databricks, and your team has implemented a CI/CD pipeline...
  5. 105.A machine learning team at your organization has deployed a model to the 'Staging' stage in the MLflow Model...
  6. 106.You are working on a machine learning project in Databricks, where your team uses MLflow to manage the...
  7. 107.A data science team has deployed a machine learning model in Databricks' MLflow Model Registry. They want to...
  8. 108.You are tasked with setting up a Databricks job that triggers an external system via a webhook upon...
  9. 109.You are working on automating a Databricks ML pipeline, and you need to trigger a Databricks Job when an...
  10. 110.You are tasked with designing a Databricks workflow where a notification must be sent to an external...
  11. 111.You are tasked with setting up a webhook in Databricks to trigger an external system when a specific job...
  12. 112.You are setting up a webhook in Databricks to monitor the completion of a machine learning model training...
  13. 113.You are deploying a machine learning model on Databricks and want to send a notification via a webhook...
  14. 114.You are configuring a webhook to notify a monitoring system whenever a Databricks machine learning experiment...
  15. 115.You are working on a Databricks ML project where you have configured a webhook to notify an external...
  16. 116.You are designing a machine learning pipeline in Databricks to automate predictions for incoming data. You...
  17. 117.You are building a machine learning pipeline in Databricks to automate model retraining whenever new data is...
  18. 118.You are building a machine learning pipeline in Databricks and need to trigger a notification to a...
  19. 119.You are designing a machine learning pipeline in Databricks and want to trigger a real-time notification to a...
  20. 120.You are managing a Databricks MLflow experiment and need to list all the webhooks associated with the...
  21. 121.You are managing a Databricks workspace and need to clean up unused webhooks associated with your MLflow...
  22. 122.You are managing an MLflow experiment in Databricks and need to clean up unnecessary webhooks as part of your...
  23. 123.You are managing webhooks in a Databricks workspace for an MLflow tracking server. You want to list all...
  24. 124.A data scientist has trained a machine learning model in Databricks and now needs to deploy it to process...
  25. 125.You are tasked with deploying a machine learning model to perform batch inference for a large dataset stored...
  26. 126.You are tasked with deploying a trained machine learning model on Databricks to predict customer churn risk...
  27. 127.You are tasked with deploying a machine learning model for batch inference in Databricks. The model is...
  28. 128.A retail company uses a machine learning model to predict product demand across its stores for the upcoming...
  29. 129.A company wants to use a machine learning model to predict customer churn for its subscription service. The...
  30. 130.A data engineering team has developed a machine learning model to predict customer churn for a...
  31. 131.A data science team has built a machine learning model to predict customer churn for a subscription-based...
  32. 132.A data scientist is tasked with deploying a machine learning model for batch inference in Databricks. The...
  33. 133.You are tasked with deploying a machine learning model in Databricks to generate predictions for a large...
  34. 134.You are tasked with deploying a machine learning model using batch deployment in Databricks. The model needs...
  35. 135.You are tasked with deploying a machine learning model in a batch inference pipeline on Databricks. The goal...
  36. 136.A data engineering team has precomputed batch predictions using a machine learning model for a recommendation...
  37. 137.A data team is building a recommendation system for a retail website. To ensure users experience low latency...
  38. 138.A retail company uses a machine learning model to predict customer churn. To improve live serving latency,...
  39. 139.A data science team is building a machine learning solution for real-time fraud detection on a financial...
  40. 140.A company is using Databricks to train machine learning models on large datasets stored in Delta Lake....
  41. 141.A data science team is working with a dataset that is accessed infrequently during model training but needs...
  42. 142.A data science team is working on a machine learning project using Databricks. They are currently storing...
  43. 143.You are tasked with training a machine learning model on a dataset stored in a data lake using Databricks....
  44. 144.You have trained a machine learning model for predicting customer churn and registered the model in the...
  45. 145.You are working on a Databricks project where a model has been registered in the Model Registry under the...
  46. 146.You are working on a machine learning project in Databricks, and you need to load a registered model from the...
  47. 147.You are working on a machine learning project in Databricks and have registered a trained model named...
  48. 148.You have trained a machine learning model locally and now want to deploy it using a single-node setup in...
  49. 149.You have trained a machine learning model on a single machine and now need to deploy it to process...
  50. 150.You are tasked with deploying a trained single-node machine learning model in a Databricks environment to...
  51. 151.You have trained a single-node machine learning model locally and now want to deploy it in a distributed...
  52. 152.A machine learning team has built a model for predicting customer churn and is storing the predictions in a...
  53. 153.You are working on a machine learning project that generates predictions for millions of rows in a Delta...
  54. 154.You are working on a machine learning project where you store model predictions in a Delta table. Analysts...
  55. 155.You are working on a machine learning pipeline in Databricks and storing prediction results in a Delta table....
  56. 156.You are working with a large dataset in Databricks that contains millions of rows of customer transactions....
  57. 157.You are working with a large dataset containing transaction data for an e-commerce platform. The dataset is...
  58. 158.You are working with a large dataset in Delta Lake stored on Databricks, and your machine learning pipeline...
  59. 159.You are working with a large dataset of customer transactions in a Delta table stored in a Databricks...
  60. 160.You are working on a machine learning project in Databricks where you need to score a large volume of data...
  61. 161.You are working on a machine learning pipeline in Databricks, where you need to score a batch of predictions...
  62. 162.A data science team is tasked with scoring a large batch of incoming data for fraud detection using a...
  63. 163.A data science team has trained a machine learning model on Databricks and plans to use it for scoring large...
  64. 164.You are working on a machine learning application that processes real-time data using Structured Streaming in...
  65. 165.You are tasked with building a machine learning pipeline in Databricks that processes a continuous stream of...
  66. 166.You are building a machine learning pipeline in Databricks to process streaming data from a Kafka source. The...
  67. 167.You are tasked with building a machine learning pipeline on Databricks to predict fraudulent transactions in...
  68. 168.A data engineering team is building an ETL pipeline to process real-time sensor data from IoT devices and...
  69. 169.A retail company wants to build an ETL pipeline that processes real-time customer transactions to generate...
  70. 170.You are building a real-time ETL pipeline to process streaming sensor data from IoT devices and store the...
  71. 171.A data engineering team is building an ETL pipeline to process real-time sensor data from IoT devices. They...
  72. 172.A data engineering team has developed a machine learning model to predict customer churn based on incoming...
  73. 173.A retail company wants to build a machine learning model to predict fraudulent transactions as they occur in...
  74. 174.A retail company wants to implement a machine learning model in production that predicts whether a customer...
  75. 175.A retail company wants to build a machine learning solution to predict fraud in real-time transactions. They...
  76. 176.A company is deploying a real-time fraud detection system using Databricks Structured Streaming. The system...
  77. 177.A retail company is deploying a real-time recommendation system for its e-commerce platform using a...
  78. 178.A retail company is deploying a machine learning model for real-time fraud detection on financial...
  79. 179.A retail company is using Databricks to deploy a real-time product recommendation engine for their e-commerce...
  80. 180.You are working on a machine learning pipeline using Structured Streaming in Databricks. Your streaming data...
  81. 181.You are working on a real-time data ingestion pipeline using Apache Spark Structured Streaming in Databricks....
  82. 182.You are building a real-time fraud detection system using Databricks Structured Streaming. The incoming...
  83. 183.You are developing a streaming application in Databricks using Structured Streaming to process real-time...
  84. 184.You are tasked with deploying a machine learning model for continuous time-based predictions in a streaming...
  85. 185.A retail company wants to implement a machine learning model to forecast the number of sales in their stores...
  86. 186.A retail company uses a Databricks streaming deployment to predict the daily demand for various products in...
  87. 187.You are tasked with building a real-time machine learning model deployment for predicting energy consumption...
  88. 188.You are tasked with converting a batch inference pipeline into a streaming inference pipeline for a machine...
  89. 189.You have developed a batch inference pipeline using Databricks that processes a large dataset stored in a...
  90. 190.You are tasked with converting an existing machine learning batch inference pipeline to a streaming inference...
  91. 191.You are tasked with converting a batch inference pipeline into a streaming inference pipeline in Databricks...
  92. 192.You are tasked with converting a batch machine learning inference pipeline into a streaming deployment...
  93. 193.You are tasked with converting a batch machine learning deployment pipeline to a streaming deployment...
  94. 194.You are tasked with deploying a Databricks machine learning model for real-time predictions. The current...
  95. 195.You have developed a machine learning model to predict product demand using a batch inference pipeline that...
  96. 196.You are tasked with building a real-time machine learning pipeline for fraud detection using Databricks. The...
  97. 197.You are tasked with building a real-time recommendation system on Databricks that provides personalized...
  98. 198.You are tasked with building a real-time recommendation system for a video streaming platform using...
  99. 199.You are tasked with building a real-time machine learning pipeline for a stock price prediction application...
  100. 200.A retail company uses a machine learning model to provide personalized product recommendations to customers...