Databricks Generative AI Engineer Associate Practice Exam Questions and Answers – Part 4/6

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 has developed a Retrieval-Augmented Generation (RAG) application to find answers for questions . 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 has developed a Retrieval-Augmented Generation (RAG) application to find answers for…
  • A Generative AI Engineer is building a RAG application on Databricks to help users ask questions about the of…
  • A Generative AI Engineer is developing a live sports commentary platform powered by a language model. This pl…
  • A Generative AI Engineer is working with a provisioned throughput model serving endpoint within a RAG applica…
  • A Generative AI Engineer is tasked with designing an LLM-based application that fulfills a business requireme…
  • A Generative AI Engineer has developed a Retrieval-Augmented Generation (RAG) application that helps employee…

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 has developed a Retrieval-Augmented Generation (RAG) application to find answers for questions about a series of fantasy novels posted on the author's online forum. The text from the novels is divided into chunks…

Answer: C,E. C. Select an appropriate evaluation metric (e.g., recall or NDCG) and experiment with variations in the chunking strategy, such as splitting by paragraphs or chapters, to identify the best-performing approach. || E. Develop a metric where the LLM acts as a judge, scoring how well previous questions are answered by the retrieved chunks. Adjust the chunking parameters based on the results of this metric.

Options C and E are correct because systematically optimizing chunking requires defining measurable retrieval metrics or using an LLM-as-a-judge to evaluate ground truth. Simply asking the model to guess token counts or changing unrelated pipeline components does not measure actual retrieval performance. Expect questions on evaluating chunking variations.

Q2. A Generative AI Engineer is building a RAG application on Databricks to help users ask questions about the official rules and technical regulations of a sport they are learning. Which sequence of steps most accurately describes how the eng…

Answer: B. B. Ingest documents from a source → Index the documents and store them in Vector Search → Develop and test the RAG chain with representative queries → Retrieve relevant documents and generate responses using the LLM → Evaluate the RAG application → Deploy the application using Model Serving

Option B is correct because building a RAG application on Databricks follows a specific workflow of ingesting data, indexing it, testing the chain, evaluating performance, and finally deploying. You must always evaluate the retrieval and generation quality before pushing the application to production. Look for the standard sequence.

Q3. A Generative AI Engineer is developing a live sports commentary platform powered by a language model. This platform delivers real-time updates and AI-generated analyses for users who prefer live summaries over reading outdated news article…

Answer: C. C. Feature Serving

Option C is correct because Databricks Feature Serving provides low-latency, real-time access to structured features like live sports scores. Foundation Model APIs generate text, but they cannot fetch live external data independently. Rely on Feature Serving to bridge real-time data streams with deployed models.

Q4. A Generative AI Engineer is working with a provisioned throughput model serving endpoint within a RAG application. They want to track both incoming requests and outgoing responses for the endpoint. Currently, they are using a micro-service…

Answer: D. D. Inference Tables

Option D is correct because Databricks Inference Tables automatically capture incoming requests and outgoing responses for Model Serving endpoints. This native feature eliminates the operational overhead of building custom logging microservices. Rely on Inference Tables for built-in production monitoring and auditing.

Q5. A Generative AI Engineer is tasked with designing an LLM-based application that fulfills a business requirement: answering employee HR-related questions by referencing HR PDF documentation. Which set of high-level tasks should the engineer…

Answer: D. D. Break the HR documentation into chunks and store them in a vector database. Use the employee's question to retrieve the most relevant chunks, and use the LLM to generate a response based on the retrieved documentation.

Option D is correct because breaking documentation into chunks and storing them in a vector database enables targeted, cost-effective retrieval before generation. Averaging embeddings or summarizing entire documents loses the granular context required for accurate answers. Stick to standard retrieval-augmented generation patterns for document tasks.

Q6. A Generative AI Engineer has developed a Retrieval-Augmented Generation (RAG) application that helps employees retrieve answers from an internal knowledge base, such as Confluence pages or Google Drive. After receiving positive feedback fr…

Answer: B. B. Create a dataset to separately test the retrieval and generation components of the system. Utilize MLflow's built-in evaluation metrics for this assessment.

Evaluating retrieval and generation components separately using MLflow metrics pinpoints specific failure areas in a RAG pipeline. Option A fails because cosine similarity alone cannot assess generation fluency or correctness, making a holistic, component-level approach necessary for optimization.

Q7. A Generative AI Engineer has successfully trained a large language model (LLM) on Databricks, and it is now ready for deployment. Which of the following steps outlines the easiest process for deploying a model on Databricks?

Answer: B. B. Log the model using MLflow during the training phase, register the model directly in Unity Catalog via the MLflow API, and start a serving endpoint.

Logging the model with MLflow, registering it in Unity Catalog, and starting a serving endpoint is the most seamless deployment path on Databricks. Option A fails because pickling models introduces security risks and bypasses the native governance provided by MLflow model tracking.

Q8. A Generative AI Engineer has developed an LLM application utilizing the provisioned throughput Foundation Model API. As the application is ready for deployment, the engineer realizes that the volume of requests is not high enough to justif…

Answer: B. B. Deploy the model using pay-per-token throughput, as it provides cost guarantees.

Pay-per-token throughput provides cost effectiveness for applications with unpredictable or low traffic volumes by aligning expenses directly with usage. Provisioned throughput guarantees capacity but wastes resources for low-volume applications, making it an inefficient strategy here.

Q9. A Generative AI Engineer is developing an LLM to create article summaries in the form of poems, specifically haikus, based on the article content. However, the initial outputs from the LLM do not align with the desired tone or style. Which…

Answer: B. B. Utilize a neutralizer to standardize the tone and style of the source documents.

Utilizing a neutralizer strips stylistic variations from source documents, directly reducing the linguistic richness needed to generate haikus. The other options actively steer the model through direct instructions, few-shot examples, or fine-tuning.

Q10. A Generative AI Engineer is developing an LLM-powered application that requires access to current news articles and stock prices. The design specifies using stock prices stored in Delta tables and finding the latest relevant news articles…

Answer: D. D. Create an agent equipped with tools for SQL querying of Delta tables and web searching, and provide the retrieved data to an LLM for response generation.

Creating an agent with SQL and web search tools enables the dynamic retrieval of real-time stock prices and current news. Option C fails because pre-storing news in a vector database leads to stale information, whereas agents fetch live data during execution.

Q11. A Generative AI Engineer is designing a multi-agent workflow for a financial portfolio analysis assistant. One agent should extract key metrics from reports, another should interpret performance trends, and a final agent should recommend a…

Answer: B. B. Use LangChain's Agent Framework with distinct tools exposed to agents for parsing, interpreting, and suggesting

Using an agent framework with distinct tools supports asynchronous execution and multi-stage reasoning for complex workflows. Option A fails because chaining tasks in a single prompt hides intermediate steps and prevents dynamic function exposure.

Q12. A Generative AI Engineer is reviewing outputs from an LLM-based legal assistant. While the assistant performs well on document summaries, it occasionally misrepresents clause intent or misses implicit legal language. The engineer wants to…

Answer: B. B. Evaluate responses using an LLM-as-a-judge setup that scores correctness, completeness, and alignment with legal standards

Using an LLM-as-a-judge setup to score responses provides an automated, repeatable way to catch misrepresentations before production. Option D fails because temperature only controls variation; deterministic settings do not inherently fix hallucinations.

Q13. A Generative AI Engineer is deploying a domain-specific summarization model to process lengthy scientific reports. The base model often omits crucial terminology or dilutes technical meaning in the summaries. The team wants to influence th…

Answer: B. B. Rewrite the prompt as a metaprompt that instructs the LLM to retain all technical terms and produce a structured summary with sections like "Background", "Methods", and "Findings"

Rewriting the prompt as a detailed metaprompt directly forces the model to preserve terminology and adhere to a specific structure. Option D fails because relying on zero-shot prompting with appended examples lacks the strict constraints needed for formatting.

Q14. A Generative AI Engineer is developing an application that needs to shorten a paragraph-length memo field into a concise, single-sentence summary that captures the intent of the original memo and fits within the UI constraints. Which categ…

Answer: D. D. Summarization

Summarization is the correct NLP task because it specifically condenses longer text into a shorter form while preserving core information. The other options are incorrect because text classification assigns labels, and a sentencizer merely splits text without summarizing.

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