Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Question 18 of 72
Free Preview · 72 of 238 · questions 1–72 of 238 are free. Sign up free to sync your progress across devices.
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
- Correct answer : A — `mlflow.log_artifact("scaler.pkl")` for the single file, and `mlflow.log_artifacts("evaluation_report")` for the folder, since the plural form uploads a directory's contents. A . `log_artifact` uploads one local file, while `log_artifacts` walks a local directory and uploads its full contents, so pairing them this way matches each call to its intended input type. B . This reverses the actual behavior: `log_artifacts` expects a directory path and `log_artifact` expects a single file path, regardless of whether that file has a recognizable extension. C . `log_artifact` does not accept a directory path; passing a folder to it raises an error, since only `log_artifacts` is designed to recurse through a directory's contents. D . `log_model` is for logging a trained model in a specific ML flavor format with a signature, not for arbitrary serialized files, and it does not accept a directory of mixed report files.