Limited-Time Offer: Enjoy 50% Savings! - Ends In 0d 00h 00m 00s Coupon code: 50OFF
Welcome to QA4Exam

Free practice questions with explanations

Databricks Databricks-Generative-AI-Engineer-Associate Dumps 2026 with Free Practice Questions and Answers

13 original Databricks Certified Generative AI Engineer Associate exam practice questions with answers and explanations.

Covers Application Development, Assembling And Deploying Applications, Data Preparation, Design Applications and 2 more.

Question types: single answer, multiple answers, drag and drop, dropdown and order list. A new question is added every 15 days.

Databricks-Generative-AI-Engineer-Associate Practice Set Details

Exam Code
Databricks-Generative-AI-Engineer-Associate
Questions On This Page
13
Exam Topics Covered
6 of 6
Question Types
5
Newest Question
New Question
Every 15 days
Full Question Set
90
Certification
Generative AI Engineer Associate
13 questions

Databricks Databricks-Generative-AI-Engineer-Associate Exam Questions and Answers by Topic

Design Applications

2 practice questions on this topicWhat this topic covers

Question 1

Added

Single Answer

A finance assistant must return machine-validated output containing exactly three fields: decision, rationale, and policy_ids. The decision must be one of approve, reject, or review; policy_ids must be an array; and no prose may appear outside the structure. The application will parse the response before showing it to an analyst, and a parsing failure must be rare. Which prompt design is the best choice?

Correct answer: B

An explicit schema and constrained field values make the output contract unambiguous, while the instruction to emit only JSON avoids surrounding prose that would break parsing. A general request to include fields does not enforce types or exact structure. Markdown tables are not JSON and can vary in formatting. Long free-form explanations make regex extraction brittle and can introduce text outside the required fields.

Question 2

Added

Drag And Drop

A Databricks application must select a model task for each distinct requirement. It must generate a concise answer from supplied passages, assign one of a fixed set of incident labels to a ticket, and create a vector representation for semantic retrieval. Match each requirement to the most appropriate task.

Drag each item onto its matching target. On a phone: tap an item, then tap a target.

Assign a ticket to a fixed incident label
Answer using retrieved passages
Create vectors for semantic search
Text generation
Text classification
Text embeddings
Correct answer:
  • Answer using retrieved passages → Text generation
  • Assign a ticket to a fixed incident label → Text classification
  • Create vectors for semantic search → Text embeddings

Text generation is appropriate when the system must compose an answer from supplied evidence. Text classification assigns an input to a predefined label set, which fits the incident-ticket requirement. Text embeddings transform text into vectors used for similarity-based retrieval. Using generation for fixed-label assignment is less controlled, and embeddings do not directly produce either an answer or a categorical decision.

Data Preparation

2 practice questions on this topicWhat this topic covers

Question 3

Added

Dropdown

A team is preparing extracted passages from PDFs for a RAG index. The PDFs contain selectable text, and the goal is to preserve layout and reading order without adding a document-scanning dependency. Complete the extraction-to-table workflow with the appropriate Python tool and write operation.

Choose the correct value for each blank.

For PDF text extraction, use . After creating a Spark DataFrame of chunk text and metadata, persist it as a Unity Catalog managed table with .
Correct answer:

For PDF text extraction, use PyMuPDF. After creating a Spark DataFrame of chunk text and metadata, persist it as a Unity Catalog managed table with saveAsTable.

PyMuPDF is suited to extracting text from PDF files, whereas BeautifulSoup parses HTML and python-docx handles Word documents. Once the chunk records are represented as a Spark DataFrame, saveAsTable writes them as a table that can be governed in Unity Catalog. Converting to Pandas or collecting brings data to the driver rather than persisting a distributed table, and display is for inspection, not storage.

Question 4

Added

Single Answer

A legal team indexes HTML policy pages for a RAG application. Retrieval results frequently include navigation menus, cookie notices, and repeated footer links, while the policy text itself is accurate and must remain unchanged for audit purposes. The ingestion job can be modified, but the team does not want to filter answers at query time or discard whole pages that contain useful policy content. What should the team do first?

Correct answer: A

Removing navigation, cookie notices, and repeated footer content during extraction retains the useful policy text while preventing irrelevant material from entering chunks and embeddings. Increasing retrieval count can add still more boilerplate. A larger generator does not correct noisy source evidence. Deleting pages would remove valid policy content and is unnecessarily destructive when the extraneous elements can be filtered from each page.

Application Development

3 practice questions on this topicWhat this topic covers

Question 5

Added

Single Answer

A support assistant retrieves policy passages from a large collection of short, independently meaningful clauses. Retrieval evaluation shows that answers often omit a qualifying sentence immediately following the retrieved clause. The embedding model has a fixed input limit, and increasing chunk size substantially reduces retrieval precision because unrelated clauses become embedded together. The team can add a small amount of overlap during preprocessing, but cannot change the embedding model or raise serving latency with a second retrieval call. Which change is the best next step?

Correct answer: D

A modest overlap preserves the boundary context that is being lost while keeping each embedding focused enough to retain retrieval precision. Larger section-sized chunks address missing context at the cost of mixing unrelated clauses, which the evaluation already shows is harmful. Adding full documents to prompts ignores the embedding limit and increases prompt size and latency. More output tokens affect response generation, not which source sentences retrieval returns.

Question 6

Added

Single Answer

A company is building a RAG assistant over product manuals. Users commonly ask questions using informal names, while the manuals use exact model identifiers. The application should retrieve the correct manual section without adding another model call, and the user query already includes a product name that can be normalized against a maintained alias table. Which application change best meets the requirement?

Correct answer: D

Normalizing the user-provided product name and adding its canonical identifier to the retrieval query improves alignment with the manuals without another model invocation. Summarizing the manual adds cost and does not reliably select the needed section. Retrieving more chunks indiscriminately raises noise rather than resolving the identifier mismatch. Conversation memory captures prior dialogue, not the authoritative alias-to-identifier mapping needed for this request.

Question 7

Added

Multiple Answers

A team is using LangChain to build a retrieval chain for an internal knowledge assistant. The retriever returns documents with source metadata, and the product owner requires citations in the final answer. The prompt must receive both the user question and retrieved passages, while the final response should include the model's answer and the retrieved source records for audit display. The team wants to use standard chain components rather than custom orchestration. Which two design choices meet these requirements? (Choose two.)

Correct answer: A, B

A document-combining chain places retrieved passages into the model's context, and returning source documents preserves the metadata needed to display and audit citations. Conversation memory is not the source of retrieved evidence. Asking the model to invent or reproduce citations without supplying the source records is unreliable. Removing metadata prevents the application from associating evidence with its source even if the passage text is retained.

Assembling and Deploying Applications

2 practice questions on this topicWhat this topic covers

Question 8

Added

Single Answer

A regulated service exposes a custom MLflow pyfunc model through a Databricks Model Serving endpoint. The model performs input normalization, calls a retrieval service, and post-processes the generated answer. The serving identity must access a Unity Catalog volume containing approved reference files, while interactive users must not receive direct volume access. The endpoint currently fails when it attempts to read the files. What is the best corrective action?

Correct answer: D

The endpoint executes with its configured serving identity, so that principal needs the Unity Catalog privileges required to access the volume and its parent securables. Giving all users direct volume access violates the stated separation of duties. A personal token embedded in an artifact is insecure and does not provide a supported identity boundary. Local temporary storage is not a durable substitute for governed shared data and may not persist between requests or instances.

Question 9

Added

Order List

An engineer must package a Python retrieval-and-generation chain as a custom MLflow pyfunc model. The chain needs a pinned Python environment, must be registered for governed deployment, and should only be exposed after a basic inference check succeeds. Arrange the implementation steps in the order they must be performed.

Drag the steps into the correct order, or use the arrows.

  1. Grant the serving identity access to the model's required data resources
  2. Deploy the registered model to a Model Serving endpoint and validate inference
  3. Log the model with its required environment and registered-model metadata
  4. Define the pyfunc model interface and its preprocessing and post-processing
Correct answer:
  1. Define the pyfunc model interface and its preprocessing and post-processing
  2. Log the model with its required environment and registered-model metadata
  3. Grant the serving identity access to the model's required data resources
  4. Deploy the registered model to a Model Serving endpoint and validate inference

The pyfunc interface and its preprocessing and post-processing must be defined before the model is logged. Logging captures the model artifact and environment for registration. The serving identity's data permissions must be in place before endpoint execution attempts those accesses. Deployment then creates the endpoint, after which inference can be validated against the configured chain.

Governance

2 practice questions on this topicWhat this topic covers

Question 10

Added

Single Answer

A help-desk RAG system indexes incident reports that may contain employee email addresses and phone numbers. The organization is permitted to retain these reports for troubleshooting, but personal identifiers must not be exposed to the language model or returned to users. Replacing the source records is prohibited because they are audit evidence, and removing all affected reports would sharply reduce troubleshooting coverage. What is the best mitigation?

Correct answer: B

Masking detected identifiers in the content supplied to retrieval and generation reduces exposure while preserving the original audit records under governance controls. A prompt instruction is not a dependable privacy boundary because sensitive text is still provided to the model. A similarity threshold does not reliably identify or remove personal data. Disabling citations hides provenance but leaves the identifiers in the model context and response path.

Question 11

Added

Single Answer

A public-facing RAG assistant retrieves from a curated product knowledge base. Security testing shows that users can submit prompt-injection instructions intended to override system behavior and request hidden configuration or secrets. The application must keep its retrieval corpus intact, avoid adding a separate generative model call on every request, and prevent untrusted user text from being treated as authoritative instructions. Which control is the best first mitigation?

Correct answer: D

An input guardrail can identify malicious instructions before they reach downstream retrieval and generation, addressing the attack without changing the curated corpus or adding a generative call. Removing security-related passages damages legitimate product support and does not stop instructions embedded in user input. A larger context window does not enforce instruction hierarchy or neutralize hostile text. Treating conversation history as the system message gives user-controlled content greater authority rather than reducing risk.

Evaluation and Monitoring

2 practice questions on this topicWhat this topic covers

Question 12

Added

Single Answer

A RAG application is evaluated on a representative set of questions with reference answers and retrieved contexts. The team needs to compare prompt and retrieval changes before release, measure answer relevance and faithfulness to retrieved evidence, and retain the evaluation results alongside the model-development workflow. It does not want to treat endpoint latency metrics as a substitute for answer-quality evaluation. Which approach is best?

Correct answer: D

MLflow evaluation can assess model outputs against evaluation data and use RAG-oriented metrics such as answer relevance and faithfulness to retrieved context. Serving request counts and latency describe operational behavior, not whether answers are grounded or useful. Informal review without captured inputs is difficult to reproduce or compare across changes. Vector norms are not an answer-quality measure and do not establish relevance or faithfulness.

Question 13

Added

Multiple Answers

A customer-facing RAG endpoint serves a high-volume workload with a strict latency budget. The team is choosing between two candidate chat models and has already measured answer quality on a fixed evaluation set. It must monitor production for degradation in user experience and service reliability, while keeping the online instrumentation lightweight. Which two metrics are the most useful to monitor continuously for these goals? (Choose two.)

Correct answer: C, D

High-percentile endpoint latency reveals whether the live service is meeting its responsiveness budget, while user feedback provides an operational signal of perceived answer quality. Training-corpus token count and checkpoint size may inform offline model selection but do not show current user experience or endpoint health. Source-table column count is unrelated to the stated production goals and would add no meaningful quality signal.

More Databricks Practice Questions

Get the Full Databricks Databricks-Generative-AI-Engineer-Associate Dumps as PDF and Practice Test

13 questions are free on this page and the full set has 90. It comes as a PDF and an online practice test, with 90 days of free updates.