Databricks Generative AI Engineer Associate Practice Exam Questions and Answers – Part 8/9

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 RAG-based solution that will help employees get answers to questions about inter. 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 RAG-based solution that will help employees get answers to questions…
  • A Generative AI Engineer discovers that, during a weekend experiment, their prototype inadvertently sent thou…
  • A Generative AI Engineer needs to configure a Databricks Vector Search index that can surface news articles o…
  • A Generative AI Engineer has built an LLM-powered application using the pay-as-you-go Foundation Model API. A…
  • A Generative AI Engineer at a home-appliance manufacturer needs to design an LLM-powered system that can answ…
  • A Generative AI Engineer is building an LLM-driven application that engages users in conversation to offer pe…

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 RAG-based solution that will help employees get answers to questions about internal company policies. Which sequence of steps correctly represents the workflow for building and deploying this RAG app…

Answer: D. Collect the policy documents → Create embeddings and store them in Vector Search → User sends a query to the LLM → LLM retrieves relevant documents → LLM generates an answer → Evaluate performance → Deploy using Model Serving

The correct workflow begins with collecting documents, creating embeddings, and storing them in Vector Search before users submit queries. Evaluation must occur before deployment to ensure the pipeline retrieves context accurately and generates grounded responses in production.

Q2. A Generative AI Engineer discovers that, during a weekend experiment, their prototype inadvertently sent thousands of inference calls to a Foundation Model endpoint. They want to implement a safeguard to ensure such accidental overuse does…

Answer: D. Apply rate-limiting controls directly on the Foundation Model endpoints.

Applying rate-limiting controls directly to the endpoint enforces hard infrastructure quotas, effectively preventing accidental traffic spikes. Distractors relying on prompt instructions or manual code reviews fail because they lack real-time, automated enforcement at the serving layer.

Q3. A Generative AI Engineer needs to configure a Databricks Vector Search index that can surface news articles on a specific topic published within a 10-day window of a user-provided date. For example, a user might ask, "Show me monster truck…

Answer: B. Add metadata fields for publication date and topic so the system can apply metadata filters during retrieval.

Adding structured metadata fields like publication date and topic allows the system to apply hard filters during vector retrieval. This is the most efficient approach because relying on semantic similarity alone cannot guarantee precise constraints like specific date ranges.

Q4. A Generative AI Engineer has built an LLM-powered application using the pay-as-you-go Foundation Model API. As they prepare for production rollout, they want to ensure that the model endpoint can reliably handle a large volume of incoming…

Answer: D. Deploy the endpoint with provisioned throughput to obtain predictable, guaranteed performance.

Provisioned throughput reserves dedicated compute capacity for a foundation model endpoint, guaranteeing predictable performance and avoiding noisy neighbor issues. For the exam, associate provisioned throughput with reliable production scaling rather than simply shrinking the model size.

Q5. A Generative AI Engineer at a home-appliance manufacturer needs to design an LLM-powered system that can answer customer questions by leveraging the appliances' instruction manuals. Which sequence of high-level steps should the system foll…

Answer: A. Break the manuals into smaller text chunks and generate embeddings stored in a vector database. For each customer query, retrieve the most relevant chunks and have the LLM craft an answer using the retrieved content.

Breaking manuals into chunks and retrieving the most relevant sections forms the standard retrieval-augmented generation pipeline, ensuring accurate and efficient answers. Avoid options involving collaborative filtering or massive context windows, which are inefficient or lossy.

Q6. A Generative AI Engineer is building an LLM-driven application that engages users in conversation to offer personalized movie suggestions. Because users may occasionally submit harmful or unsafe prompts, the engineer needs a reliable way t…

Answer: D. Add a safety-filtering layer that flags harmful text and instructs the model to decline those requests.

A dedicated safety-filtering layer intercepts and blocks harmful prompts before they reach the language model, preventing malicious inputs from generating unsafe outputs. Relying on the model to warn users leaves the system vulnerable, whereas compute scaling or time limits never address input toxicity.

Q7. A Generative AI Engineer is creating an application that answers questions about breaking news events. The system aggregates information from several sources, including news articles and social media platforms. The engineer is concerned th…

Answer: B. Allow the system to ingest content only from vetted, trustworthy social media and news accounts so unexpected toxic material is excluded.

Curating data sources to ingest content only from trusted accounts prevents toxic material from entering the retrieval corpus, which keeps harmful context from influencing model outputs. Limiting retrieval count fails because any selected toxic chunk still poisons the generation phase.

Q8. A development team plans to fine-tune an open-weight model to achieve high-quality code generation. They want to keep model-hosting costs low and are reviewing models on Hugging Face model cards and Spaces to decide which one to start with…

Answer: A,B. The Big Code Models Leaderboard || The model's parameter count

The Big Code Models Leaderboard evaluates task-specific coding capabilities, making it essential for choosing a code generation base model. Parameter count dictates GPU memory requirements and directly impacts hosting costs, whereas MTEB only ranks embedding models.

Q9. A Generative AI Engineer is building an agent-based system using a well-known agent-authoring framework. The agent uses a mix of sequential and parallel chains, but during execution, one of the steps consistently fails, and the engineer is…

Answer: A. Turn on MLflow tracing to obtain detailed visibility into the agent's execution flow and the behavior of each step.

MLflow tracing provides granular observability into agent execution flows, automatically capturing inputs, outputs, and tool calls for multi-step workflows. Structured logging lacks this deep automated introspection, while MLflow evaluate is meant for scoring model quality.

Q10. A team is using Mosaic AI Vector Search to retrieve documents for their RAG pipeline. Each query returns five potentially relevant documents, and the top three are included as context in the prompt. However, during evaluation with Agent Ev…

Answer: A. Introduce a reranker to reorder the retrieved documents based on their true relevance scores.

Introducing a reranker resolves this by using a cross-encoder to reorder the retrieved documents based on true semantic relevance. Relying on the LLM to reorder context is unreliable, whereas a dedicated reranking stage is the standard approach to fix imperfect embedding similarity.

Q11. A Generative AI engineer is developing an LLM-powered application that relies heavily on fast and accurate speech-to-text processing. The overall performance of the system depends on the transcription component being as quick as possible…

Answer: D. whisper-large-v3 (1.6B)

Whisper-large-v3 is an open-source model specifically designed for fast and accurate automatic speech recognition. For the exam, remember that audio transcription requires specialized acoustic models like Whisper, whereas text-based models like DBRX cannot process audio natively.

Q12. A Generative AI Engineer needs to ensure that the model and its training data comply with licensing rules to prevent potential legal issues. Which action is the most appropriate to mitigate legal risk?

Answer: A. Use only datasets that are clearly marked with an open license and carefully adhere to all associated licensing terms.

Using datasets with clear open licenses and strictly adhering to their terms creates a reliable chain of rights, reducing legal exposure. Treating public data as unrestricted is a major trap, as public accessibility does not eliminate copyright or usage constraints.

Q13. A Generative AI Engineer is working with an instruction-tuned LLM trained on transcripts of customer calls asking about product availability. The model must produce a clear classification label: "Success" when the product is available, and…

Answer: B. You will receive a customer call transcript involving a question about product availability. Output "Success" if the product is available and "Fail" if the product is unavailable.

Option B provides direct, deterministic instructions that align perfectly with the strict product availability classification task. Avoid options introducing unnecessary reasoning steps or complex formatting, as these distract the model and degrade classification consistency.

Q14. A Generative AI Engineer is assembling the core components needed for an LLM-powered chat application that supports natural conversation, retrieves information from a knowledge source, and maintains context across turns. Which two chain el…

Answer: A,B. Vector Stores || Conversation Buffer Memory

Vector stores are essential for retrieving relevant knowledge, while conversation buffer memory maintains context across multiple chat turns. External tools and UI components might enhance an application, but they are not foundational requirements for a standard conversational RAG pipeline.

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