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 wants to make fine-tuned LLMs from their production Databricks workspace available for evaluati. 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 wants to make fine-tuned LLMs from their production Databricks workspace available f…
- A Generative AI Engineer has deployed an LLM-powered assistant at a manufacturing company to help address cus…
- A Generative AI Engineer is developing a RAG-based system designed to answer queries specifically about techn…
- A Generative AI Engineer has developed a RAG system that assists employees in understanding HR-related docume…
- A Generative AI Engineer is analyzing performance issues in their company's LLM-powered Q&A assistant and bel…
- A Generative AI Engineer is running a provisioned-throughput model serving endpoint that powers a RAG workflo…
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 wants to make fine-tuned LLMs from their production Databricks workspace available for evaluation inside their development workspace. All workspaces use Unity Catalog, and the models are currently logged to the MLf…
Answer: B. Register the model directly in Unity Catalog using MLflow, then grant the development workspace READ permissions on that model.
Registering the model in Unity Catalog enables secure, cross-workspace sharing with fine-grained access controls without duplicating data. This approach avoids the storage and compute costs of manual exports or redundant training pipelines, aligning with standard Databricks governance practices.
Q2. A Generative AI Engineer has deployed an LLM-powered assistant at a manufacturing company to help address customer service questions. As part of operating the system in production, they must determine which enterprise-level metrics should…
Answer: A. Massive Multi-task Language Understanding (MMLU) benchmark score
Massive Multi-task Language Understanding, or MMLU, is an academic benchmark meant for testing broad foundation model capabilities rather than measuring live application success. For the exam, remember that production systems require operational metrics like accuracy, latency, and throughput, not generic research scores.
Q3. A Generative AI Engineer is developing a RAG-based system designed to answer queries specifically about technology news. The input corpus, however, contains large portions of unrelated material such as ads, sports updates, and entertainmen…
Answer: C. Retain all articles—including non-technical ones—because the system needs exposure to unrelated content in order to discourage off-topic answers
Retaining irrelevant documents pollutes the vector store and defeats the core purpose of retrieval-augmented generation by increasing noise and hallucination risk. A key exam cue is that curating and filtering the corpus before indexing is a fundamental best practice for domain-specific systems.
Q4. A Generative AI Engineer has developed a RAG system that assists employees in understanding HR-related documents. The initial prototype has been tested internally, receiving encouraging feedback. The engineer now wants to formally measure…
Answer: C. Build a dedicated evaluation dataset that independently tests retrieval effectiveness and generation quality, and use MLflow's evaluation features to assess each component separately.
Building a dedicated evaluation dataset and using MLflow allows engineers to assess retrieval and generation independently, isolating bottlenecks accurately. Using ROUGE or an LLM-as-a-judge only grades final text, hiding whether failures stem from poor context fetching or weak generation.
Q5. A Generative AI Engineer is analyzing performance issues in their company's LLM-powered Q&A assistant and believes that introducing prompt chaining could help address the shortcomings. Before recommending it, they need to clearly articulat…
Answer: A. It enables complex tasks to be divided into a sequence of smaller, dependent steps, allowing the assistant to produce more thorough and accurate answers.
Prompt chaining divides complex tasks into smaller sequential steps, passing outputs from one stage as inputs to the next for improved accuracy. Chaining actually increases latency and token costs, making options claiming speed or cost reduction clearly incorrect.
Q6. A Generative AI Engineer is running a provisioned-throughput model serving endpoint that powers a RAG workflow. They need visibility into both the requests sent to the endpoint and the responses it generates in order to track usage and beh…
Answer: C. Inference Tables
Inference Tables automatically log requests and responses for provisioned-throughput endpoints, providing the exact observability needed. Be careful not to confuse this with Vector Search, which handles embedding retrieval for RAG rather than tracking endpoint payloads.
Q7. A Generative AI Engineer has developed scalable PySpark logic that processes unstructured PDF files, splits them into text chunks, and outputs a dataframe with two fields: the source filename (string) and an array containing the extracted…
Answer: B. Explode the chunk array so each row contains a single chunk, generate a unique ID for every row, and enable change data feed on the resulting Delta table.
Exploding the array ensures each chunk is an independent row, generating unique IDs creates a required primary key, and enabling change data feed allows efficient synchronization. Writing unchanged data fails because Vector Search requires a unique primary key for every indexable record.
Q8. A Generative AI Engineer is tasked with creating an LLM workflow capable of multi-step reasoning that also incorporates external tools during execution. To achieve this, the model must be able to plan, take actions, and revise its approach…
Answer: C. Use a framework such as ReAct, enabling the LLM to create reasoning traces and invoke external tools through structured actions whenever required.
The ReAct framework enables an LLM to interleave reasoning traces with autonomous external tool actions, supporting dynamic planning and revision. Standard Chain-of-Thought prompting improves reasoning but requires manual intervention to supply tool outputs, preventing true autonomous execution.
Q9. A Generative AI Engineer is preparing to move an LLM-based application built with Foundation Model APIs into a production environment. To align with recommended security practices, they need to choose the correct authentication approach fo…
Answer: A,B. Authenticate using an OAuth flow designed for machine-to-machine communication || Use an access token issued to a service principal
Using an access token issued to a service principal provides the non-interactive, machine-to-machine authentication required for secure production deployments. While machine-to-machine OAuth is conceptually similar, explicitly using a service principal ensures independent lifecycle management and strict least privilege.
Q10. A Generative AI Engineer is developing a RAG system for their company to perform internal document Q&A for structured HR policies, but the answers returned are frequently incomplete and unstructured. It seems that the retriever is not retu…
Answer: A,D. Add the section header as a prefix to chunks || Increase the document chunk size
Adding section headers and increasing chunk size directly resolve incomplete retrieval by preserving semantic context within structured documents. Sentence splitting destroys context, and upgrading models cannot fix missing information reaching the response generator.
Q11. A Generative AI Engineer is deploying a customer-facing LLM application in production using the Foundation Model API with provisioned throughput. They want to minimize the risk of the model generating toxic or unsafe content, and they pref…
Answer: B. Deploy Llama Guard through the Foundation Model API and use it to screen outputs for safety issues
Deploying Llama Guard through the Foundation Model API provides a purpose-built moderation layer with minimal engineering overhead. Regex rules are too brittle for semantic safety, while custom LLM calls introduce unnecessary cost, latency, and complexity into the application flow.
Q12. A Generative AI Engineer has developed an LLM-powered translation system that converts text between two languages. They now want to compare several different LLMs to determine which model performs best. They already have a curated evaluati…
Answer: A. BLEU
BLEU is the industry standard metric for evaluating machine translation quality by measuring n-gram overlap against high-quality reference translations. ROUGE is used for summarization, while NDCG and Recall apply to ranking and retrieval tasks rather than translation fidelity.
Q13. A Generative AI Engineer is building a RAG-based system and wants to test multiple embedding models to see which one delivers the strongest overall performance. They need a principled approach for selecting an appropriate embedding model…
Answer: C. Use an embedding model that was trained on data similar to the application's domain
Selecting an embedding model trained on similar domain data ensures it accurately captures the specific semantics and vocabulary of your corpus. General leaderboard rankings or multilingual capabilities do not guarantee strong performance on your highly specialized internal documents.
Q14. A Generative AI Engineer is creating a RAG system that depends on contextual information pulled from source documents stored in HTML format. To minimize development effort, they want to extract text using a Python package that requires ver…
Answer: D. beautifulsoup
BeautifulSoup is a Python library built specifically for parsing HTML and XML, extracting text with minimal code. Exam tip: pytesseract is for OCR on images, PyPDF2 is for PDF files, and NumPy handles numerical computing.
More Databricks Certified Generative AI Engineer Associate drills and other practice exams are on @CertPunch. New rounds drop every few days at certpunch.com.