CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

Câu 24: Databricks Certified Data Engineer Professional

The data science team has created and logged a production model using MLflow. The following code correctly imports and applies the production model to output the predictions as a new DataFrame named preds with the schema "customer_id LONG, predictions DOUBLE, date DATE". The data science team would like predictions sa…

Nội dung câu hỏi

The data science team has created and logged a production model using MLflow. The following code correctly imports and applies the production model to output the predictions as a new DataFrame named preds with the schema "customer_id LONG, predictions DOUBLE, date DATE". The data science team would like predictions saved to a Delta Lake table with the ability to compare all predictions across time. Churn predictions will be made at most once per day. Which code block accomplishes this task while minimizing potential compute costs?

Minh họa câu hỏi

Các lựa chọn

Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.

  1. A. preds.write.mode("append").saveAsTable("churn_preds") — đáp án hiện tại
  2. B. preds.write.format("delta").save("/preds/churn_preds")
  3. C. Lựa chọn C bằng hình ảnhLựa chọn C
  4. D. Lựa chọn D bằng hình ảnhLựa chọn D
  5. E. Lựa chọn E bằng hình ảnhLựa chọn E

Cộng đồng

0 bình luận công khai. Tên thành viên được ẩn một phần.

Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.

Câu hỏi liền kề