Databricks Certified Generative AI Engineer Associate Practice Exam Questions and – Part 3/3

Practice for the Databricks Certified Generative AI Engineer Associate exam with 14 exam-style practice questions, instant answer reveals, and concise explanations of every correct answer. Topics include: A Generative AI Engineer is designing a GenAI application for a retail company using third-party datasets scraped from t. Follow @CertPunch and visit certpunch.com for more certification practice exams and study content.

Prefer hands-on? Take this round as an interactive practice test — answer every question, get instant feedback, and see your score: Start the Databricks Certified Generative AI Engineer Associate practice test →

What you will practice

  • A Generative AI Engineer is designing a GenAI application for a retail company using third-party datasets scr…
  • A Generative AI Engineer is processing thousands of industry research papers and needs to store the chunked o…
  • A Generative AI Engineer is developing a GenAI assistant for HR departments that extracts key insights from e…
  • A Generative AI Engineer is assigned to rapidly prototype a question-answering application using RAG. The eng…
  • A financial analyst team is building an internal GenAI application to surface insights from company reports…
  • A Generative AI Engineer is building a multi-stage GenAI workflow to help legal analysts assess regulatory co…

Answers and explanations

Tap a question to expand the answer and the exam reasoning. Try to commit to your own pick first.

Q1. A Generative AI Engineer is designing a GenAI application for a retail company using third-party datasets scraped from the web. Some documents contain licensing terms restricting commercial redistribution. The legal team has raised concern…

Answer: C. C. Exclude all datasets with restrictive licensing and replace them with internally generated content or data with clear commercial use rights.

Excluding restrictively licensed datasets and using content with clear commercial rights eliminates infringement risk. Paraphrasing with an LLM or merely adding disclosures does not cure upstream licensing violations.

Q2. A Generative AI Engineer is processing thousands of industry research papers and needs to store the chunked outputs in a format that supports scalable retrieval, governance, and secure sharing across teams. The solution must support lineag…

Answer: B. B. Store chunked text in a Delta table within a Unity Catalog volume, applying appropriate schema and permissions

Storing chunked text in a Delta table within Unity Catalog directly enables centralized governance, column-level lineage tracking, and fine-grained access control. Databricks-specific exam cues favor Delta and Unity Catalog over unmanaged file systems because they integrate seamlessly with downstream vector search.

Q3. A Generative AI Engineer is developing a GenAI assistant for HR departments that extracts key insights from employee satisfaction surveys. The surveys include open-ended comments and structured ratings. The engineer wants to generate actio…

Answer: B. B. Create a chain with: text cleaner → sentiment classifier → toxicity detector → summarizer

Building a sequential chain with dedicated text cleaning, sentiment, toxicity, and summarization components provides the necessary modularity and auditability. Exam cues often favor modular pipelines over single prompts because they allow independent logging and transparent safety guardrails.

Q4. A Generative AI Engineer is assigned to rapidly prototype a question-answering application using RAG. The engineer wants reusable components for document loading, chunking, embedding, retrieval, and integration with OpenAI APIs. Which tool…

Answer: C. C. LangChain

LangChain provides the necessary abstractions for building a RAG pipeline, including document loaders, text splitters, and wrappers for external APIs. The other tools focus on distributed training, traditional machine learning, or basic NLP preprocessing rather than end-to-end retrieval chaining.

Q5. A financial analyst team is building an internal GenAI application to surface insights from company reports. These reports have been embedded and stored in Mosaic AI Vector Search. During integration, the retrieval results are suboptimal…

Answer: C. C. Reconfigure the retriever using cosine similarity and ensure metadata filtering is enabled

Reconfiguring the retriever and applying metadata filtering directly improves search precision without requiring a costly system rebuild. However, modifying chunk size is also a standard Databricks tuning step, making the options slightly ambiguous for practical RAG optimization.

Q6. A Generative AI Engineer is building a multi-stage GenAI workflow to help legal analysts assess regulatory compliance across multiple jurisdictions. The process involves: 1. Extracting region-specific legal entities 2. Comparing them again…

Answer: H. C. Prompt the LLM with multiple documents at once and let it infer jurisdictional compliance from scratch.

Using a sequential chain of discrete tools provides modularity, testability, and reusable components for each pipeline stage. Summarizing before extracting entities destroys intermediate reasoning steps, and single prompts lack traceability.

Q7. A Generative AI Engineer is designing a GenAI application to support contract reviewers in identifying key clauses from legal documents and suggesting missing terms based on business standards. The system should: – Extract clause types and…

Answer: G. B. Input: Raw document text; Output: Structured JSON with extracted clauses, missing clause types, and recommended additions

Mapping raw text to a structured JSON object cleanly supports extraction, gap analysis, and recommendations. Plain English summaries lose structured clause data, and starting from metadata skips necessary extraction steps.

Q8. A Generative AI Engineer is building a knowledge assistant for a financial services firm using thousands of quarterly earnings reports. These reports are highly structured, with repeated sections such as "Executive Summary," "Risk Factors…

Answer: C. B. Chunk based on document headings and sections to preserve semantic boundaries, then apply re-ranking after retrieval

Chunking by headings preserves semantic boundaries, and adding a re-ranking step optimizes relevance. Fixed-length windows add latency, and discarding short sections risks losing critical risk factor data.

Q9. A Generative AI Engineer is building an internal code assistant to help developers write and debug Python functions. During early testing, the LLM often hallucinates code, including non-existent libraries and APIs. The team wants to reduce…

Answer: B. B. Add a metaprompt instructing the model: "Only generate code that uses standard Python libraries and has been tested"

Adding explicit metaprompt instructions constrains the model to standard libraries, directly mitigating package hallucinations while preserving overall flexibility. Avoid extreme temperature limits or rigid deterministic rules because they destroy the creative problem-solving utility expected from large language models.

Q10. A Generative AI Engineer is building a GenAI application for a customer service use case. The model needs to return responses with clearly separated sections: a brief summary of the user's issue, a recommended next action, and a confidence…

Answer: D. C. Format the prompt to say: "Respond with a JSON object using fields: summary, action, confidence_score. Do not use natural language outside the JSON."

Formatting the prompt to explicitly request a JSON object with specific fields reliably enforces machine-readable outputs. Temperature zero reduces randomness but does not guarantee structure, whereas few-shot examples merely nudge style.

Q11. A Generative AI Engineer is tasked with creating a GenAI system to assist analysts in reviewing and escalating cybersecurity incidents. The input is a stream of event logs, and the output must include a structured incident summary and a re…

Answer: E. D. Prompt the LLM with raw logs and ask it to identify and escalate the most severe events in one response

Using modular tools provides structured, traceable multi-stage reasoning with clear evaluation hooks. Single prompts lack traceability, and manual escalation fails to meet the need for automated, multi-criteria evaluation.

Q12. A Generative AI Engineer is building a RAG application that consumes scanned legal documents in .tiff and .png formats. These documents contain multiple fonts, handwritten signatures, and watermarks. The goal is to extract clean, usable te…

Answer: B. A. Use pytesseract to extract text, followed by post-processing to clean noise

Using an established OCR library minimizes development time and integrates easily with Python pipelines. HTML parsers cannot read image pixels, and training a custom model introduces unnecessary complexity and cost.

Q13. A Generative AI Engineer is reviewing the performance of a RAG pipeline used in a technical support assistant. Users report that the system often retrieves irrelevant context when asked product-specific configuration questions. The enginee…

Answer: B,D. A. Apply dense passage retrieval (DPR) with shorter chunk lengths and compare Recall@k || C. Use a test set of known queries and expected chunks to compute NDCG and precision

The correct actions use dense passage retrieval with shorter chunks and validate improvements using labeled test sets. For the exam, pair structural changes like chunk size with objective offline metrics like NDCG rather than subjective checks.

Q14. A small startup focused on cancer research wants to create a Retrieval-Augmented Generation (RAG) application using Foundation Model APIs. Since the startup is mindful of costs but still wants to deliver a high-quality product for their cu…

Answer: B. B. Choose a smaller language model that is specifically trained for the cancer research domain.

Choosing a smaller, domain-specific language model optimizes the balance of inference cost and task-specific accuracy. For the exam, remember that restricting document access or user queries harms the application's utility and does not scale appropriately.

More Databricks Certified Generative AI Engineer Associate drills and other practice exams are on @CertPunch. New rounds drop every few days at certpunch.com.

Scroll to Top