Databricks Certified Generative AI Engineer Associate · Free Practice Question Medium

Question 9

A Generative AI Engineer is creating a pre- and post-processing pipeline for a PyFunc model. Why is this approach useful?
  • A It automates hyperparameter tuning for the model.
  • B It reduces the need for retraining the model.
  • C It minimizes API costs by batching inputs.
  • D It allows data to be transformed before and after model inference, ensuring compatibility and optimized outputs.
Reveal correct answer

Correct answer: D

Explanation

Pre- and post-processing pipelines streamline workflows by transforming inputs and outputs, improving compatibility and system efficiency.

A. Incorrect: Hyperparameter tuning requires separate optimization processes.

B. Incorrect: Pre- and post-processing pipelines do not replace retraining for model improvements.

C. Incorrect: API cost optimization is unrelated to pre- and post-processing logic.

D. Correct: Pre- and post-processing pipelines handle input normalization and output formatting, enhancing system performance.

Discussion

Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.

You must be logged in to post a comment.

Preparing For

Your Certification?

255+ certifications
Detailed explanations
Free PDF samples

Has All The Questions You Need