Weekend Sale Special 75% Discount offer - Ends in 0d 00h 00m 00s - Coupon code: 75brite

ExamsBrite Dumps

Databricks Certified Generative AI Engineer Associate Question and Answers

Databricks Certified Generative AI Engineer Associate

Last Update Sep 20, 2026
Total Questions : 90

We are offering FREE Databricks-Generative-AI-Engineer-Associate Databricks exam questions. All you do is to just go and sign up. Give your details, prepare Databricks-Generative-AI-Engineer-Associate free exam questions and then go for complete pool of Databricks Certified Generative AI Engineer Associate test questions that will help you more.

Databricks-Generative-AI-Engineer-Associate pdf

Databricks-Generative-AI-Engineer-Associate PDF

$26.25  $104.99
Databricks-Generative-AI-Engineer-Associate Engine

Databricks-Generative-AI-Engineer-Associate Testing Engine

$31.25  $124.99
Databricks-Generative-AI-Engineer-Associate PDF + Engine

Databricks-Generative-AI-Engineer-Associate PDF + Testing Engine

$41.25  $164.99
Questions 1

A Generative Al Engineer would like an LLM to generate formatted JSON from emails. This will require parsing and extracting the following information: order ID, date, and sender email. Here’s a sample email:

They will need to write a prompt that will extract the relevant information in JSON format with the highest level of output accuracy.

Which prompt will do that?

Options:

A.  

You will receive customer emails and need to extract date, sender email, and order ID. You should return the date, sender email, and order ID information in JSON format.

B.  

You will receive customer emails and need to extract date, sender email, and order ID. Return the extracted information in JSON format.

Here’s an example: {“date”: “April 16, 2024”, “sender_email”: “sarah.lee925@gmail.com”, “order_id”: “RE987D”}

C.  

You will receive customer emails and need to extract date, sender email, and order ID. Return the extracted information in a human-readable format.

D.  

You will receive customer emails and need to extract date, sender email, and order I

D.  

Return the extracted information in JSON format.

Discussion 0
Questions 2

A Generative Al Engineer is ready to deploy an LLM application written using Foundation Model APIs. They want to follow security best practices for production scenarios

Which authentication method should they choose?

Options:

A.  

Use an access token belonging to service principals

B.  

Use a frequently rotated access token belonging to either a workspace user or a service principal

C.  

Use OAuth machine-to-machine authentication

D.  

Use an access token belonging to any workspace user

Discussion 0
Questions 3

A Generative Al Engineer is building a production-ready LLM system which replies directly to customers. The solution makes use of the Foundation Model API via provisioned throughput. They are concerned that the LLM could potentially respond in a toxic or otherwise unsafe way. They also wish to perform this with the least amount of effort.

Which approach will do this?

Options:

A.  

Host Llama Guard on Foundation Model API and use it to detect unsafe responses

B.  

Add some LLM calls to their chain to detect unsafe content before returning text

C.  

Add a regex expression on inputs and outputs to detect unsafe responses.

D.  

Ask users to report unsafe responses

Discussion 0
Questions 4

A Generative AI Engineer has deployed a RAG application to production. Its Vector Search index is built from a Delta table that receives incremental updates every hour from an upstream ETL pipeline. The team wants the index to automatically reflect source-table changes without manual re-indexing and without changing the endpoint used by downstream applications.

Which approach should the engineer use?

Options:

A.  

Replace the current index with a Direct Vector Access index and push updates through a custom streaming job.

B.  

Update the pipeline mode to continuous mode rather than triggered mode.

C.  

Schedule a job to rebuild the index every hour after the ETL pipeline finishes.

D.  

Use a Delta Sync index so changes in the source Delta table are automatically synchronized to the index.

Discussion 0
Questions 5

A Generative AI Engineer is deploying a conversational agent that provides financial-analysis insights to internal analysts at a company. The company has standardized on Microsoft 365 for all internal communications and collaboration. The analysts are distributed across multiple time zones and primarily work within Microsoft Teams channels, where they already discuss financial data and share reports. The agent needs to integrate with the company’s existing Azure Active Directory for authentication and must respect the company’s data-governance policies. Users should be able to interact with the agent within their existing workflow without switching applications.

Which interface should the engineer implement for this agent deployment?

Options:

A.  

Slack integration to enable the agent in a dedicated workspace for the financial-analysis team.

B.  

Microsoft Teams integration to deploy the agent as a bot within Teams channels where analysts already collaborate.

C.  

REST API endpoint with a custom frontend application hosted on the company’s internal portal.

D.  

Databricks Apps to create a custom web application that analysts can access through their browsers with SSO authentication.

Discussion 0
Questions 6

A Generative AI Engineer is developing an LLM application that users can use to generate personalized birthday poems based on their names.

Which technique would be most effective in safeguarding the application, given the potential for malicious user inputs?

Options:

A.  

Implement a safety filter that detects any harmful inputs and ask the LLM to respond that it is unable to assist

B.  

Reduce the time that the users can interact with the LLM

C.  

Ask the LLM to remind the user that the input is malicious but continue the conversation with the user

D.  

Increase the amount of compute that powers the LLM to process input faster

Discussion 0
Questions 7

A Generative AI Engineer is managing prompt templates using MLflow v3.x for a document summarization pipeline. A regulatory audit requires the team to demonstrate exactly which prompt version was used to generate outputs on a specific date three months ago, including the exact prompt text and any variables used at that time.

Which combination of MLflow v3.x capabilities allows the engineer to satisfy this audit requirement?

Options:

A.  

MLflow Model Registry webhooks and a downstream audit log stored in an external database.

B.  

MLflow autologging and Delta Lake time travel on the inference table.

C.  

MLflow experiment tags and an automatically scripted changelog stored in a Databricks notebook.

D.  

MLflow Prompt Registry version history and logged runs that reference the prompt name and version used during inference.

Discussion 0
Questions 8

A Generative AI Engineer is designing a RAG application for answering user questions on technical regulations as they learn a new sport.

What are the steps needed to build this RAG application and deploy it?

Options:

A.  

Ingest documents from a source – > Index the documents and saves to Vector Search – > User submits queries against an LLM – > LLM retrieves relevant documents – > Evaluate model – > LLM generates a response – > Deploy it using Model Serving

B.  

Ingest documents from a source – > Index the documents and save to Vector Search – > User submits queries against an LLM – > LLM retrieves relevant documents – > LLM generates a response - > Evaluate model – > Deploy it using Model Serving

C.  

Ingest documents from a source – > Index the documents and save to Vector Search – > Evaluate model – > Deploy it using Model Serving

D.  

User submits queries against an LLM – > Ingest documents from a source – > Index the documents and save to Vector Search – > LLM retrieves relevant documents – > LLM generates a response – > Evaluate model – > Deploy it using Model Serving

Discussion 0
Questions 9

A Generative AI Engineer is building a RAG application that will rely on context retrieved from source documents that are currently in PDF format. These PDFs can contain both text and images. They want to develop a solution using the least amount of lines of code.

Which Python package should be used to extract the text from the source documents?

Options:

A.  

flask

B.  

beautifulsoup

C.  

unstructured

D.  

numpy

Discussion 0
Questions 10

A team wants to serve a code generation model as an assistant for their software developers. It should support multiple programming languages. Quality is the primary objective.

Which of the Databricks Foundation Model APIs, or models available in the Marketplace, would be the best fit?

Options:

A.  

Llama2-70b

B.  

BGE-large

C.  

MPT-7b

D.  

CodeLlama-34B

Discussion 0
Questions 11

A Generative Al Engineer is building an LLM-based application that has an

important transcription (speech-to-text) task. Speed is essential for the success of the application

Which open Generative Al models should be used?

Options:

A.  

L!ama-2-70b-chat-hf

B.  

MPT-30B-lnstruct

C.  

DBRX

D.  

whisper-large-v3 (1.6B)

Discussion 0
Questions 12

A small and cost-conscious startup in the cancer research field wants to build a RAG application using Foundation Model APIs.

Which strategy would allow the startup to build a good-quality RAG application while being cost-conscious and able to cater to customer needs?

Options:

A.  

Limit the number of relevant documents available for the RAG application to retrieve from

B.  

Pick a smaller LLM that is domain-specific

C.  

Limit the number of queries a customer can send per day

D.  

Use the largest LLM possible because that gives the best performance for any general queries

Discussion 0
Questions 13

Databricks offers a number of built-in AI judges that provide metrics and rationale for different types of quality issues a Generative AI application may have.

Which of the following pairs of judges both require a ground-truth label in the evaluation dataset field expected_response to execute?

Options:

A.  

context_sufficiency, correctness.

B.  

correctness, groundedness.

C.  

guideline_adherence, chunk_relevance.

D.  

relevance_to_query, chunk_relevance.

Discussion 0
Questions 14

A Generative Al Engineer is deciding between using LSH (Locality Sensitive Hashing) and HNSW (Hierarchical Navigable Small World) for indexing their vector database Their top priority is semantic accuracy

Which approach should the Generative Al Engineer use to evaluate these two techniques?

Options:

A.  

Compare the cosine similarities of the embeddings of returned results against those of a representative sample of test inputs

B.  

Compare the Bilingual Evaluation Understudy (BLEU) scores of returned results for a representative sample of test inputs

C.  

Compare the Recall-Onented-Understudy for Gistmg Evaluation (ROUGE) scores of returned results for a representative sample of test inputs

D.  

Compare the Levenshtein distances of returned results against a representative sample of test inputs

Discussion 0
Questions 15

A Generative AI Engineer is creating an agent-based LLM system for their favorite monster truck team. The system can answer text based questions about the monster truck team, lookup event dates via an API call, or query tables on the team’s latest standings.

How could the Generative AI Engineer best design these capabilities into their system?

Options:

A.  

Ingest PDF documents about the monster truck team into a vector store and query it in a RAG architecture.

B.  

Write a system prompt for the agent listing available tools and bundle it into an agent system that runs a number of calls to solve a query.

C.  

Instruct the LLM to respond with “RAG”, “API”, or “TABLE” depending on the query, then use text parsing and conditional statements to resolve the query.

D.  

Build a system prompt with all possible event dates and table information in the system prompt. Use a RAG architecture to lookup generic text questions and otherwise leverage the information in the system prompt.

Discussion 0
Questions 16

A Generative Al Engineer has built an LLM-based system that will automatically translate user text between two languages. They now want to benchmark multiple LLM ' s on this task and pick the best one. They have an evaluation set with known high quality translation examples. They want to evaluate each LLM using the evaluation set with a performant metric.

Which metric should they choose for this evaluation?

Options:

A.  

ROUGE metric

B.  

BLEU metric

C.  

NDCG metric

D.  

RECALL metric

Discussion 0
Questions 17

A Generative Al Engineer has already trained an LLM on Databricks and it is now ready to be deployed.

Which of the following steps correctly outlines the easiest process for deploying a model on Databricks?

Options:

A.  

Log the model as a pickle object, upload the object to Unity Catalog Volume, register it to Unity Catalog using MLflow, and start a serving endpoint

B.  

Log the model using MLflow during training, directly register the model to Unity Catalog using the MLflow API, and start a serving endpoint

C.  

Save the model along with its dependencies in a local directory, build the Docker image, and run the Docker container

D.  

Wrap the LLM’s prediction function into a Flask application and serve using Gunicorn

Discussion 0
Questions 18

An AI developer team wants to fine-tune an open-weight model to have exceptional performance on a code generation use case. They are trying to choose the best model to start with. They want to minimize model hosting costs and are using Hugging Face model cards and spaces to explore models. Which TWO model attributes and metrics should the team focus on to make their selection?

Options:

A.  

Big Code Models Leaderboard

B.  

Number of model parameters

C.  

MTEB Leaderboard

D.  

Chatbot Arena Leaderboard

E.  

Number of model downloads last month

Discussion 0
Questions 19

A Generative AI Engineer is building a Databricks-hosted assistant that must (1) query Unity Catalog tables with row and column permissions enforced, and (2) avoid managing any external infrastructure. The team wants the LLM to use governed data access through tools exposed via MCP.

Which MCP server choice meets these constraints?

Options:

A.  

Use a managed Databricks MCP server integrated with Unity Catalog.

B.  

Use an external community MCP server for SQL and pass Unity Catalog tokens in prompts.

C.  

Run a custom MCP server on a self-managed VM that proxies the Unity Catalog API.

D.  

Expose JDBC directly to the model and enforce permissions in application code.

Discussion 0
Questions 20

A Generative AI Engineer needs to allocate costs for an agent deployed via Agent Framework behind AI Gateway. The finance team requires daily reporting by workspace and endpoint, including token usage and request counts. The engineer wants to query this data with SQL and join it to an internal cost-center mapping table.

Which table type best serves their needs?

Options:

A.  

AI Gateway usage table.

B.  

System Serving, Served Entities table.

C.  

Inference Tables.

D.  

MLflow experiment run tables.

Discussion 0
Questions 21

A Generative Al 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 returning all relevant context The Generative Al Engineer has experimented with different embedding and response generating LLMs but that did not improve results.

Which TWO options could be used to improve the response quality?

Choose 2 answers

Options:

A.  

Add the section header as a prefix to chunks

B.  

Increase the document chunk size

C.  

Split the document by sentence

D.  

Use a larger embedding model

E.  

Fine tune the response generation model

Discussion 0
Questions 22

A Generative AI Engineer has been reviewing issues with their company ' s LLM-based question-answering assistant and has determined that a technique called prompt chaining could help alleviate some performance concerns. However, to suggest this to their team, they have to clearly explain how it works and how it can benefit their question-answering assistant. Which explanation do they communicate to the team?

Options:

A.  

It allows you to break down complex tasks into multiple independent subtasks. This enables the assistant to generate more comprehensive and accurate responses.

B.  

It allows you to reduce the latency of your applications. By having multiple chains participating in the response as a chain, you increase the rate at which the response is generated.

C.  

It allows you to decrease the effort involved in crafting a prompt. Chains make it possible to reuse prompt text across multiple different use cases.

D.  

It reduces the average cost of a typical request. Chains make more efficient use of the tokens produced to generate higher quality responses with fewer tokens.

Discussion 0
Questions 23

What is an effective method to preprocess prompts using custom code before sending them to an LLM?

Options:

A.  

Directly modify the LLM’s internal architecture to include preprocessing steps

B.  

It is better not to introduce custom code to preprocess prompts as the LLM has not been trained with examples of the preprocessed prompts

C.  

Rather than preprocessing prompts, it’s more effective to postprocess the LLM outputs to align the outputs to desired outcomes

D.  

Write a MLflow PyFunc model that has a separate function to process the prompts

Discussion 0
Questions 24

A Generative Al Engineer is tasked with developing an application that is based on an open source large language model (LLM). They need a foundation LLM with a large context window.

Which model fits this need?

Options:

A.  

DistilBERT

B.  

MPT-30B

C.  

Llama2-70B

D.  

DBRX

Discussion 0
Questions 25

A Generative AI Engineer is building a compound AI system for an organization. The goal is to automate the processing of incoming customer event reports against a coding system and corporate-guidelines documentation. The system must handle three distinct user-request types: answering questions from guidelines documents, extracting specific event codes from reviewers’ notes, and routing ambiguous requests to the appropriate specialized handler. All three capabilities must operate under a single entry point that interprets user intent and delegates accordingly.

Which Agent Brick should serve as the top-level orchestrator in this architecture?

Options:

A.  

Multi-Agent Supervisor, because it can be used without Knowledge Assistant and Information Extraction agents.

B.  

Knowledge Assistant, because the chatbot interface can handle multi-turn conversations.

C.  

Knowledge Assistant, because it can be configured with multiple vector indexes to handle all three request types simultaneously.

D.  

Multi-Agent Supervisor, because it interprets incoming requests and delegates tasks to specialized sub-agents.

Discussion 0
Questions 26

A Generative Al Engineer needs to design an LLM pipeline to conduct multi-stage reasoning that leverages external tools. To be effective at this, the LLM will need to plan and adapt actions while performing complex reasoning tasks.

Which approach will do this?

Options:

A.  

Tram the LLM to generate a single, comprehensive response without interacting with any external tools, relying solely on its pre-trained knowledge.

B.  

Implement a framework like ReAct which allows the LLM to generate reasoning traces and perform task-specific actions that leverage external tools if necessary.

C.  

Encourage the LLM to make multiple API calls in sequence without planning or structuring the calls, allowing the LLM to decide when and how to use external tools spontaneously.

D.  

Use a Chain-of-Thought (CoT) prompting technique to guide the LLM through a series of reasoning steps, then manually input the results from external tools for the final answer.

Discussion 0
Questions 27

A Generative AI Engineer is deploying a customer-facing, fine-tuned LLM on their public website. Given the large investment the company put into fine-tuning this model, and the proprietary nature of the tuning data, they are concerned about model inversion attacks. Which of the following Databricks AI Security Framework (DASF) risk mitigation strategies are most relevant to this use case?

Options:

A.  

Implement AI guardrails to allow users to configure and enforce compliance

B.  

Leverage Databricks access control lists (ACLs) to configure permissions for accessing models

C.  

Use secure model features with Databricks Feature Store

D.  

Apply attribute-based access controls (ABAC) to limit unauthorized access

Discussion 0