フリー問題

Databricks Certified Machine Learning Professional のフリー問題 7 / 20 問目

問題文

A data scientist wants to run an Optuna study across the executors of a multi-node Databricks cluster and have every trial recorded in one MLflow experiment, with as little custom plumbing as possible. Which arrangement achieves that?

選択肢

  1. Use the MLflow tracking server as the study's storage backend and launch the study with the Spark-backed study class so that trials are distributed to executors.
  2. Create one MLflow run per trial in advance, then let each trial pick an unused run by polling the experiment for runs without metrics, claiming the first empty one it finds.
  3. Wrap the objective function in a scalar user-defined function and call it from a SQL query so that Spark parallelizes the trials row by row.
  4. Run the study in a single Python process on the driver and start several background threads inside the objective function.

解答・解説を確認するには

正解と解説の確認、回答の記録には無料登録が必要です。登録すると演習モードでフリー問題に回答し、正誤と解説をその場で確認できます。