About the Exam

Databricks Certified Context Engineer Associate focuses on supplying useful, governed context to AI applications at inference time. It covers prompts, retrieval, memory, tool integration, context limits, and evaluation using Databricks platform capabilities.

Exam Topics

  • Foundations of Context Engineering16%
  • System Prompt and Instruction Design9%
  • Knowledge Retrieval and Genie Configuration20%
  • Memory Architecture with Lakebase and MLflow18%
  • Tool Design, MCP, and Agent Context13%
  • Context Compression and Compaction11%
  • Multi-Agent and Long-Horizon Task Design13%

How to Use This Practice Exam

  1. Browse — Read each question, select your answer, and reveal the explanation.
  2. Exam Mode — Simulate real exam conditions with a timed session and score report.
  3. Learn Mode — Spaced repetition schedules questions you struggle with for long-term retention.

Download the Full Exam PDF

Get every question and answer in a clean, printable PDF built for offline study. Purchase once, keep permanent access, and re-download the latest version anytime.

Last updated November 4, 2026

Topic filter
Question status
Question sort
Questions per page

QuestionQ1

VerifiedSystem Prompt and Instruction Design

A context engineer is debugging a Databricks customer support agent that manages complex billing escalations.

The system prompt instructs the agent to:

  1. Strictly apply the company’s official refund policy.
  2. Treat entries from the “Billing-Policies” tool as authoritative.
  3. Treat FAQ snippets and prior chat history as non-binding guidance only.

In one multi-step trace, the engineer observes the following:

  • Step 1: The agent calls the “Billing-Policies” tool and retrieves the official refund policy, which clearly states that chargebacks filed more than 90 days after purchase are not eligible for refunds.
  • Step 2: The agent calls a “Customer-FAQ-Search” tool that returns a community-authored FAQ thread. A top-voted but outdated and unofficial answer incorrectly claims that chargebacks are fully refundable regardless of when they are filed, and the agent summarizes this in the running conversation as an established fact.
  • Step 3: In a later turn, the customer describes a chargeback dispute from 18 months ago. The agent reasons from its own earlier summary, approves a full refund, and makes no reference to the official policy section excluding cases older than 90 days, even though that policy text remains in the context.
  • Step 4: In subsequent similar cases, the agent repeatedly approves refunds for old chargebacks, citing its prior summary as justification each time.

Which context failure mode describes what is occurring in this trace?

Explanation

Context poisoning occurs when incorrect information enters an agent’s context and is subsequently treated as fact. Here, an outdated, unofficial FAQ claim becomes an established summary that the agent repeatedly uses to approve refunds, overriding the authoritative policy’s 90-day restriction. (langchain.com)

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!

QuestionQ2

VerifiedSystem Prompt and Instruction Design

A context engineer is creating a Databricks agent to triage incoming customer support tickets for a B2B software platform. Each ticket averages 200 tokens.

For each ticket, the agent must:

(1) assign a severity rating of P0/P1/P2/P3 based on whether the issue is fully blocking, degrades core functionality, affects a non-critical feature, or is informational—a judgment that requires reading the ticket body rather than matching keywords;

(2) route the ticket to one of eight engineering teams based on the technical area implied by the ticket;

(3) generate a brief, context-aware acknowledgment reply.

The pipeline must process up to 500 tickets per minute with an end-to-end latency budget of under 2 seconds per ticket. The token budget per invocation is 2,048 tokens, and the operations team has flagged that inference costs must remain minimal at this throughput.

Which reasoning mode should the context engineer configure for the agent?

Explanation

Reduced thinking provides a balance between interpreting ticket context for severity and routing and limiting reasoning-token overhead. Lower reasoning effort can reduce latency and token usage compared with deeper reasoning, making it appropriate for the high-throughput, cost-sensitive workload. The under-2-second target and classification quality must still be verified through evaluation and load testing. (docs.databricks.com)

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!

QuestionQ3

VerifiedContext Compression and Compaction

A context engineer is developing a Databricks agent for a retail inventory management system. The system prompt and tool descriptions consume 1,800 tokens of a 4,096-token context window, and the engineer reserves 1,000 tokens for the user turn and model response. The remaining tokens are used for few-shot examples, each costing approximately 250 tokens, so the engineer includes exactly five examples.

The agent uses three tools: inventory_lookup, reorder_check, and supplier_lead_time.

Six candidate examples are available:

  • Example 1: A warehouse manager asks whether a depleted SKU needs reordering; the agent calls inventory_lookup, confirms depletion, calls reorder_check, and returns a binary reorder decision.
  • Example 2: A procurement officer asks when a low-stock item can be replenished; the agent calls reorder_check, calls supplier_lead_time, and returns a replenishment recommendation.
  • Example 3: A store associate asks for the current stock count of a single product; the agent calls inventory_lookup and returns a scalar quantity.
  • Example 4: A store associate asks for the current stock count of a single product; the agent calls inventory_lookup and returns a structured status object containing the quantity and a restocking flag.
  • Example 5: A store associate asks whether a forecasted shortfall requires immediate action; the agent calls inventory_lookup, compares against minimums, calls reorder_check, and returns a binary reorder decision.
  • Example 6: A logistics coordinator asks how long a specific supplier takes to fulfill an order; the agent calls supplier_lead_time and returns a scalar lead-time value.

Which example should the engineer omit to preserve the token budget while maximizing behavioral coverage?

Explanation

The remaining budget is 4,096 − 1,800 − 1,000 = 1,296 tokens, enough for five examples at approximately 250 tokens each. Example 3 shares its user role, request, and inventory_lookup path with Example 4, which also returns the quantity alongside a restocking flag. Excluding Example 3 therefore preserves more distinct tool paths and scenarios, although it removes the scalar stock-count output example. Few-shot examples can guide both response content and format, so the best selection ultimately depends on whether that scalar format is required. (docs.databricks.com)

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!

QuestionQ4

VerifiedSystem Prompt and Instruction Design

A context engineer is debugging a Databricks agent that staffs an internal IT help desk. The agent is already connected to a retrieval pipeline over a live, continuously updated knowledge base, and relevant KB passages are retrieved and placed in its context on every request. Its system prompt has three parts: a 400-token persona preamble, a 600-token list of every supported software title, and a 200-token closing instruction block. None of these parts explains how to weigh retrieved passages against the model’s own training knowledge.

Observed behavior: the agent correctly identifies the user’s intent, and the correct KB passages are present in context. However, for version-specific questions, it answers from its training knowledge and recommends releases that the knowledge base marks as deprecated. The team will accept only a change that does not rewrite the full prompt and does not add or modify retrieval infrastructure.

Which system-prompt revision addresses the version-accuracy behavior?

Explanation

An explicit grounding instruction can direct the agent to prioritize retrieved KB passages over conflicting training knowledge. This targets the observed use of outdated version information while requiring only a small prompt edit and no retrieval changes. The revised behavior should be evaluated because prompt instructions do not guarantee compliance. (learn.microsoft.com)

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!

QuestionQ5

ConfirmedSystem Prompt and Instruction Design

This question is being verified by contributors

Question is confirmed and being reviewed.

That's the end of the preview

It's free

Every verified question is free for all users.
No strings attached.

Topics covered
Foundations of Context EngineeringSystem Prompt and Instruction DesignKnowledge Retrieval and Genie ConfigurationMemory Architecture with Lakebase and MLflowTool Design, MCP, and Agent ContextContext Compression and CompactionMulti-Agent and Long-Horizon Task Design
Know a question that should be here? Contribute to this exam
Back home