Pre-Winter Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: force70

Pass the Databricks Generative AI Engineer Databricks-Generative-AI-Engineer-Associate Questions and answers with CertsForce

Viewing page 1 out of 3 pages
Viewing questions 1-10 out of questions
Questions # 1:

A Generative AI Engineer is building an LLM to generate article summaries in the form of a type of poem, such as a haiku, given the article content. However, the initial output from the LLM does not match the desired tone or style.

Which approach will NOT improve the LLM’s response to achieve the desired response?

Options:

A.

Provide the LLM with a prompt that explicitly instructs it to generate text in the desired tone and style


B.

Use a neutralizer to normalize the tone and style of the underlying documents


C.

Include few-shot examples in the prompt to the LLM


D.

Fine-tune the LLM on a dataset of desired tone and style


Expert Solution
Questions # 2:

A Generative AI Engineer at a legal firm is designing a RAG system to analyze historical legal cases. The system needs to process millions of court opinions and legal documents, already organized by time and topic, to track how interpretations of specific laws have evolved over time. All of these documents are in plain-text. The engineer needs to choose a chunking method that would most effectively preserve continuity and the temporal nature of the cases. Which method do they choose?

Options:

A.

Implement windowed summarization with overlapping chunks.


B.

Implement a hierarchical tree structure, like RAPTOR, to group similar legal concepts.


C.

Implement paragraph level embeddings with each chunk.


D.

Implement sentence level embeddings with each chunk tagged with the time to enable metadata filtering.


Expert Solution
Questions # 3:

A Generative AI Engineer is building a multi-turn chat app with LangGraph on Databricks. The app must persist chat history—messages, roles, timestamps, and session IDs—for many concurrent users, support SQL queries, and stay governed in Unity Catalog. The engineer also wants ACID guarantees, low-latency reads and writes, and an easy way to sync chat data into Delta tables for analytics and model training.

Which approach fits these requirements?

Options:

A.

Store conversation history in MLflow runs and retrieve it via the MLflow Tracking API inside LangGraph nodes.


B.

Use Lakebase with a chat_history table wired to a Postgres-backed LangGraph checkpoint/memory component and enable synchronization from Lakebase into Delta tables.


C.

Write each turn from a custom LangGraph node directly into a Delta table with Spark append, then query history via Spark SQL on every request.


D.

Use a custom in-memory LangGraph state store running on the Databricks cluster driver, and periodically snapshot the state to JSON files in DBFS.


Expert Solution
Questions # 4:

A Generative AI Engineer is creating an LLM-powered application that will need access to up-to-date news articles and stock prices.

The design requires the use of stock prices which are stored in Delta tables and finding the latest relevant news articles by searching the internet.

How should the Generative AI Engineer architect their LLM system?

Options:

A.

Use an LLM to summarize the latest news articles and lookup stock tickers from the summaries to find stock prices.


B.

Query the Delta table for volatile stock prices and use an LLM to generate a search query to investigate potential causes of the stock volatility.


C.

Download and store news articles and stock price information in a vector store. Use a RAG architecture to retrieve and generate at runtime.


D.

Create an agent with tools for SQL querying of Delta tables and web searching, provide retrieved values to an LLM for generation of response.


Expert Solution
Questions # 5:

A Generative AI Engineer has set up an endpoint with AI Guardrails turned on to block any incoming requests that divulge PII. They also have inference tables enabled for this endpoint. If an end user sends their phone number in their prompt, what will appear in the inference table for that record?

Options:

A.

The full answer that would have been sent without the PII block will appear in inference tables.


B.

The record will not appear in inference tables because it contains PII.


C.

The request will appear, but the response column will be blank.


D.

The request will appear, but the response will be the error indicating that the request was blocked due to PII.


Expert Solution
Questions # 6:

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.


Expert Solution
Questions # 7:

A Generative AI Engineer is designing a chatbot for a gaming company that aims to engage users on its platform while its users play online video games.

Which metric would help them increase user engagement and retention for their platform?

Options:

A.

Randomness


B.

Diversity of responses


C.

Lack of relevance


D.

Repetition of responses


Expert Solution
Questions # 8:

A Generative Al Engineer is creating an LLM system that will retrieve news articles from the year 1918 and related to a user ' s query and summarize them. The engineer has noticed that the summaries are generated well but often also include an explanation of how the summary was generated, which is undesirable.

Which change could the Generative Al Engineer perform to mitigate this issue?

Options:

A.

Split the LLM output by newline characters to truncate away the summarization explanation.


B.

Tune the chunk size of news articles or experiment with different embedding models.


C.

Revisit their document ingestion logic, ensuring that the news articles are being ingested properly.


D.

Provide few shot examples of desired output format to the system and/or user prompt.


Expert Solution
Questions # 9:

A generative AI engineer is deploying an AI agent authored with MLflow’s ChatAgent interface for a retail company ' s customer support system on Databricks. The agent must handle thousands of inquiries daily, and the engineer needs to track its performance and quality in real-time to ensure it meets service-level agreements. Which metrics are automatically captured by default and made available for monitoring when the agent is deployed using the Mosaic AI Agent Framework?

Options:

A.

Operational metrics like request volume, latency, and errors


B.

Quality metrics like correctness and guideline adherence


C.

Both operational and quality metrics


D.

No metrics are automatically captured


Expert Solution
Questions # 10:

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


Expert Solution
Viewing page 1 out of 3 pages
Viewing questions 1-10 out of questions