Cert-Pass
Log in Sign up
Databricks

Databricks Certified Generative AI Engineer Practice Questions

1100 exam-accurate questions with explanations

info

Free Sample Questions

Showing 10 of 1100 questions. Get full access to all questions, detailed explanations, and study materials.

1
Design Applications

During a design review, a consumer electronics retailer identifies two constraints: the solution must protect sensitive information, and it must remain maintainable across test and production. The application uses support tickets. Which recommendation is strongest? The design review is focused on: Design a prompt that elicits a specifically formatted response.

A Increase temperature so the model explores alternative output formats.
B Define the required JSON schema, allowed values, and an instruction to return only schema-valid output. check_circle
C Ask the model to be concise but leave the structure implicit.
D Add more retrieved documents without defining the response contract.
lightbulb

Explanation

Explicit structure makes the output contract testable and reduces format drift. The strongest distractor fails because more context can improve factual coverage, but it does not define a machine-readable response contract.

2
Assembling and Deploying Applications

A university research office is preparing a governed production release for an application using knowledge-base pages. Which option best balances correctness, maintainability, and operational control? The implementation must address this requirement: Preserve memory without unbounded prompt growth.

A Keep memory only in the current process.
B Duplicate all prior tool results into every prompt.
C Append the complete conversation forever.
D Store structured state persistently and retrieve a relevant summary or selected facts for each turn. check_circle
lightbulb

Explanation

Selective persistent memory controls token growth while retaining useful state. The main trap is that unbounded history increases cost and can degrade relevance.

3
Data Preparation

A university research office has an assistant used by support agents. It processes knowledge-base pages. The current design is causing a problem with retrieval precision. The team also needs to simplify rollback. Which action best addresses the requirement?

A Add generic payment terms because they also mention orders.
B Add the authoritative delivery-status source keyed by transaction ID and refresh it as operational data changes. check_circle
C Fine-tune on historic delivery examples so the model predicts current status.
D Tell the model to add a fixed number of days to every order date.
lightbulb

Explanation

Operational questions require a fresh authoritative source keyed to the transaction. The main trap is that historical examples cannot reliably answer live shipment-status questions.

4
Assembling and Deploying Applications

A pilot used by claims reviewers is being moved into production. The application handles equipment logs. Which change best satisfies the requirement?

A Copy the notebook into a shared folder and use it as the production registry.
B Log and register the deployable model with MLflow in Unity Catalog so versions and permissions can be governed. check_circle
C Store the model only on a developer laptop.
D Publish a screenshot of the model configuration.
lightbulb

Explanation

Unity Catalog registration supports governed lifecycle management. In contrast, the tempting alternative fails because a notebook copy is not a governed model registry.

5
Design Applications

CASE STUDY: After a release, a automotive parts distributor observes a drop in retrieval recall for an assistant used by support agents. The fix must preserve governance and support controlled rollback. Which action is MOST appropriate? Select the option containing the TWO best actions.

A Define the required JSON schema, allowed values, and an instruction to return only schema-valid output. Ask the model to be concise but leave the structure implicit.
B Add more retrieved documents without defining the response contract. Ask the model to be concise but leave the structure implicit.
C Define the required JSON schema, allowed values, and an instruction to return only schema-valid output. Validate the returned JSON before passing it to downstream systems. check_circle
D Increase temperature so the model explores alternative output formats. Validate the returned JSON before passing it to downstream systems.
lightbulb

Explanation

Explicit structure makes the output contract testable and reduces format drift. The strongest distractor fails because more context can improve factual coverage, but it does not define a machine-readable response contract. The second selected action is important because validate the returned json before passing it to downstream systems.

6
Assembling and Deploying Applications

A healthcare operations group is building a Databricks GenAI solution for operations analysts. The workload uses scanned claim forms. Which approach is MOST appropriate? The design review is focused on: Package dependencies for a served RAG chain.

A Install packages manually on a developer laptop only.
B Declare the runtime dependencies used by the retriever, prompt logic, and model wrapper as part of packaging. check_circle
C Assume notebook-installed libraries appear automatically in serving.
D Omit retriever dependencies because only the LLM is important.
lightbulb

Explanation

Served applications need reproducible declared dependencies. The main trap is that notebook state is not a reliable serving environment.

7
Application Development

CASE STUDY: A retail pharmacy network operates an assistant for support agents. It uses call transcripts. The team must reduce hallucinations, preserve auditability across test and production, and avoid introducing unnecessary latency. Which proposal should be approved? Select the option containing the TWO best actions.

A Validate tool arguments against a schema and reject or repair invalid calls before execution. Execute every generated tool call immediately.
B Validate tool arguments against a schema and reject or repair invalid calls before execution. Log rejected calls for monitoring and refinement. check_circle
C Increase temperature to reduce malformed arguments. Log rejected calls for monitoring and refinement.
D Expose internal stack traces directly to end users. Execute every generated tool call immediately.
lightbulb

Explanation

Schema validation prevents malformed or unsafe calls from reaching downstream systems. The main trap is that immediate execution creates avoidable reliability and security risk. The second selected action is important because log rejected calls for monitoring and refinement.

8
Assembling and Deploying Applications

An automotive parts distributor compares four implementation proposals for an application that uses customer emails. Which proposal should be selected?

A Use metadata filters to generate the embedding vector.
B Use embeddings for semantic similarity, an index for retrieval, endpoint capacity for serving, and metadata filters for narrowing results. check_circle
C Treat reranking as a replacement for source ingestion.
D Use a dashboard as the embedding model and a notebook as the index.
lightbulb

Explanation

Each Vector Search component has a distinct role. The main trap is that metadata filtering narrows candidates; it does not create embeddings.

9
Governance

During a design review, a energy maintenance team identifies two constraints: the solution must support least-privilege access, and it must remain maintainable across development, staging, and production. The application uses customer emails. Which recommendation is strongest?

A Ask the model to self-regulate without permission boundaries.
B Use one shared unrestricted token for all tools.
C Grant each tool only the permissions required for its intended operation and block unauthorized actions. check_circle
D Give the agent admin access so it never fails.
lightbulb

Explanation

Least privilege limits the impact of mistakes or attacks. The strongest distractor fails because admin access increases the blast radius of a prompt-injection failure.

10
Evaluation and Monitoring

During a design review, a automotive parts distributor identifies two constraints: the solution must support least-privilege access, and it must remain maintainable across development, staging, and production. The application uses scanned claim forms. Which recommendation is strongest?

A Sample production traces and score whether the agent selected the appropriate tool or specialist for each request. check_circle
B Monitor only CPU utilization.
C Count tokens without reviewing routing quality.
D Disable trace collection after deployment.
lightbulb

Explanation

Routing quality requires visibility into the agent's intermediate decisions. The most plausible wrong answer is still incorrect because infrastructure metrics alone cannot show whether the agent selected the correct capability.

Get all 1100 questions

Full access includes all questions, detailed explanations, PDF downloads, and timed mock exams.