Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Databricks Certified Generative AI Engineer Associate Exam - Topic 2 Question 5 Discussion

Posted by Doretha on Oct 23, 2024 at 04:30 AM

A Generative Al Engineer has already trained an LLM on Databricks and it is now ready to be deployed.

Which of the following steps correctly outlines the easiest process for deploying a model on Databricks?

Suggested Answer: B

Problem Context: The goal is to deploy a trained LLM on Databricks in the simplest and most integrated manner.

Explanation of Options:

Option A: This method involves unnecessary steps like logging the model as a pickle object, which is not the most efficient path in a Databricks environment.

Option B: Logging the model with MLflow during training and then using MLflow's API to register and start serving the model is straightforward and leverages Databricks' built-in functionalities for seamless model deployment.

Option C: Building and running a Docker container is a complex and less integrated approach within the Databricks ecosystem.

Option D: Using Flask and Gunicorn is a more manual approach and less integrated compared to the native capabilities of Databricks and MLflow.

Option B provides the most straightforward and efficient process, utilizing Databricks' ecosystem to its full advantage for deploying models.


Get Premium Databricks Certified Generative AI Engineer Associate Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
24 comments · newest first
RO
Rolland 10 months ago
D is interesting, but isn't it a bit outdated for model serving?
LA
Lajuana 11 months ago
Wait, can you really just use MLflow like that? Sounds too easy!
BA
Barney 11 months ago
C seems way too complicated for deployment.
SE
Serita 11 months ago
I think A is more straightforward, though.
NO
Nohemi 11 months ago
Option B is definitely the easiest way to go!
NI
Nidia 12 months ago
I don't think wrapping the function in Flask is the easiest method for deployment on Databricks, but it could work in other contexts.
DA
Dahlia 12 months ago
I feel like saving the model as a pickle object was mentioned, but I can't recall if that's the best way to deploy on Databricks.
SY
Sylvie 12 months ago
I think option B sounds familiar because it mentions using the MLflow API, which we practiced in class.
LE
Levi 1 year ago
I remember we discussed using MLflow for model logging, but I'm not sure if it was specifically about registering to Unity Catalog.
JO
Jovita 1 year ago
Ah, this is a good one. I remember learning about Databricks deployment in class. I think option B is the way to go - it's the most direct approach and aligns with what we covered.
SU
Suzi 1 year ago
Option A looks promising, but I'm not sure about the Unity Catalog part. I'll need to review my notes on Databricks deployment to make sure I understand that properly.
EL
Elke 1 year ago
Hmm, I'm a bit unsure about this one. The options all seem to involve different steps, and I'm not entirely familiar with the Databricks deployment process. I'll need to think this through carefully.
KR
Kristian 1 year ago
This seems like a straightforward deployment question. I think I'll go with option B - it looks like the easiest way to get the model registered and deployed on Databricks.
JE
Jess 2 years ago
I'd go with option B. It's the most straightforward and efficient way to deploy the model on Databricks.
LE
Leontine 2 years ago
↳ replying to Jess
Yeah, I would choose option B as well. It seems like the most direct method.
HE
Helene 2 years ago
↳ replying to Jess
I think so too. It's simple and efficient.
ER
Erick 2 years ago
↳ replying to Jess
I agree, option B seems like the easiest way to deploy the model on Databricks.
TE
Tenesha 2 years ago
I disagree, I believe the correct answer is D, as Flask and Gunicorn are commonly used for deploying models.
ST
Stephen 2 years ago
I think the answer is B, because MLflow is used for tracking and managing models.
AN
Annelle 2 years ago
Noah
EL
Elenora 2 years ago
↳ replying to Annelle
Yes, MLflow simplifies the deployment process.
EL
Elenora 2 years ago
↳ replying to Annelle
I think it's important to use MLflow for registering the model.
EL
Elenora 2 years ago
↳ replying to Annelle
That sounds like the correct option.
EL
Elenora 2 years ago
↳ replying to Annelle
B
0/2000 characters

Save Cancel