Databricks Certified Generative AI Engineer Associate · Free Practice Question Medium

Question 18

A Generative AI Engineer must preprocess legal contracts before using them in a retrieval system. What step is most critical for improving retrieval accuracy?
  • A Chunk the contracts by logical sections, such as clauses or exhibits, and ensure chunks fit within the model’s token limits.
  • B Randomly remove redundant sections.
  • C Split the contracts into equal-sized chunks.
  • D Retain the entire contract as a single document.
Reveal correct answer

Correct answer: A

Explanation

Chunking legal contracts by logical sections ensures the retrieval system maintains context and provides accurate responses.

A. Correct: Logical chunking preserves the document’s structure and ensures chunks are processable by the model.

B. Incorrect: Random removal risks excluding critical information.

C. Incorrect: Arbitrary splitting may disrupt meaningful sections and reduce retrieval quality.

D. Incorrect: Large documents often exceed token limits and hinder efficient processing.

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