Designing and Implementing a Data Science Solution on Azure — Question 118

You manage an Azure Machine Learning workspace.

You must log multiple metrics by using MLflow.

You need to maximize logging performance.

What are two possible ways to achieve this goal? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

Answer options

Correct answer: A, B

Explanation

Using MLflowClient.log_batch allows you to log multiple metrics in a single call, which improves performance. Additionally, mlflow.log_metrics enables the logging of multiple metrics at once, further enhancing efficiency. The other options, mlflow.log_metric and mlflow.log_param, are limited to logging one metric or parameter at a time, making them less efficient for maximizing logging performance.