DatabricksData Preparation

Document Ingestion & Data Preparation — Databricks GenAI Associate Practice Question

A representative Databricks Certified Generative AI Engineer Associate (Databricks GenAI Associate) exam question on Document Ingestion & Data Preparation. Work through it below, then read why each option is right or wrong.

This question is part of the free Databricks Certified Generative AI Engineer Associate practice test.

Short answer

The correct answer is A. Parse and extract structured and semi-structured content from PDFs, validate encoding, and remove corrupted or unreadable sections.

Document preparation requires parsing, validation, and quality assessment before embedding. Extracting content from PDFs, checking encoding integrity, and removing corrupted sections ensures downstream embedding and retrieval quality. Immediate embedding without validation risks propagating bad data. Blind deduplication without content inspection may remove legitimate variations. Uniform chunking without prior document preparation ignores the need to handle format heterogeneity and quality issues that exist in raw PDFs.

The Question

You are building a retrieval-augmented generation (RAG) system for a financial services firm using Databricks. Your team has collected 50,000 PDF documents containing loan agreements, regulatory filings, and internal policies. Before ingesting these documents into Mosaic AI Vector Search, you need to ensure they are properly prepared. Which of the following represents the most critical first step in your document preparation pipeline?

AParse and extract structured and semi-structured content from PDFs, validate encoding, and remove corrupted or unreadable sectionsCorrect
BApply aggressive deduplication across all documents without inspecting content quality or relevance
CImmediately embed all documents using a pre-trained embedding model and store vectors in Delta Lake
DChunk documents into uniform 256-token segments and upload directly to Mosaic AI Vector Search

Why A is correct

Document preparation requires parsing, validation, and quality assessment before embedding. Extracting content from PDFs, checking encoding integrity, and removing corrupted sections ensures downstream embedding and retrieval quality. Immediate embedding without validation risks propagating bad data. Blind deduplication without content inspection may remove legitimate variations. Uniform chunking without prior document preparation ignores the need to handle format heterogeneity and quality issues that exist in raw PDFs.

Why the other options are wrong

Option B: Apply aggressive deduplication across all documents without inspecting content quality or relevance

Option B does not satisfy the requirement in the scenario. Review the explanation above: the correct choice (A) is the only one that fully meets every constraint stated in the question.

Option C: Immediately embed all documents using a pre-trained embedding model and store vectors in Delta Lake

Option C does not satisfy the requirement in the scenario. Review the explanation above: the correct choice (A) is the only one that fully meets every constraint stated in the question.

Option D: Chunk documents into uniform 256-token segments and upload directly to Mosaic AI Vector Search

Option D does not satisfy the requirement in the scenario. Review the explanation above: the correct choice (A) is the only one that fully meets every constraint stated in the question.

Key idea: Document Ingestion & Data Preparation

Document preparation requires parsing, validation, and quality assessment before embedding. Extracting content from PDFs, checking encoding integrity, and removing corrupted sections ensures downstream embedding and retrieval quality. Immediate embedding without validation risks propagating bad data. Blind deduplication without content inspection may remove legitimate variations. Uniform chunking without prior document preparation ignores the need to handle format heterogeneity and quality issues that exist in raw PDFs. On the Databricks GenAI Associate exam, questions in the "Data Preparation" domain test whether you can map a scenario's constraints to the right choice. Read the requirement carefully, eliminate options that violate any single constraint, and pick the one that satisfies all of them with the least operational overhead.

Ready to see how you'd score?

Take the free practice quiz and find out which Databricks Certified Generative AI Engineer Associate domains you need to focus on. No signup required.

Practice 5 similar questions

Same cert, same or adjacent domain. Use these after reviewing the explanation.

Related Databricks Certified Generative AI Engineer Associate Practice Questions

Official sources used

Verify program and exam details at the source before scheduling.