Databricks Generative AI Engineer Associate · Free practice question 4 of 12
Keeping tables intact when chunking
Pellworth Grain's crop reports contain tables of yields by field and season. When the tables are split by a fixed character count, rows land in different chunks and answers mix up fields. What preparation step improves retrieval for these tables?
- A.Delete all tables because LLMs cannot read tabular data
- B.Serialize each table as text such as Markdown and keep it whole with its caption, splitting large tables by row groups with headers
- C.Embed each individual table cell as its own separate chunk, with the cell's row and column numbers stored as metadata so that the LLM can reassemble the table later
- D.Shuffle rows so each chunk contains a mix of seasons
Show answer and explanation
Correct answer: B. Serialize each table as text such as Markdown and keep it whole with its caption, splitting large tables by row groups with headers
Why: Keeping a table together with its caption and header, serialized as text, preserves the relationships between rows and columns; large tables can be split by row groups as long as each piece repeats the header. Deleting tables loses key facts, single-cell chunks lose context, and shuffling rows breaks their meaning.
More free Databricks Generative AI Engineer Associate questions
- Choosing translation as the task
- Delimiters around untrusted text
- Parsing HTML help pages
- Same embedding model for queries and docs
- Fitting retrieved context in the window
- Managed versus self-managed embeddings
- External models in Model Serving
- Unity Catalog lineage for audits
- Groundedness judge without references
- Evaluation datasets from production traces
- Cost control for low-traffic prototypes