Limited-Time Offer: Enjoy 50% Savings! - Ends In 1d 4h 23m 31s Coupon code: 50OFF

Context-Engineer-Associate Exam Guide & Practice Questions

Databricks Certified Context Engineer Associate

Answer 17 scenario questions on this page and see your score as you go. No sign-up needed.

Exam Details

Exam Code
Context-Engineer-Associate
Vendor
Databricks
Questions
45 scored questions; up to 10 unscored items may be included
Duration (minutes)
90 minutes
Languages
English
Delivery
Online proctored or test center
Question Types
Single ChoiceMultiple Choice
Official Page
View Exam Page
1

Foundations of Context Engineering

16% of the exam

This topic covers how an agent's working context affects its ability to respond to a task. Candidates must recognize common context failure modes and select ways to limit unnecessary information in that context.

Question 1 of 17 Single Choice

A support agent receives a current request to explain a failed invoice export. Its context also contains several pages of old notes about an unrelated dashboard redesign, including prior decisions and implementation details. The relevant export error appears in a recent tool result, but the agent repeatedly recommends changing dashboard filters and never addresses the export failure. The old notes are accurate, and no instructions conflict.

Which context failure mode best explains the agent behavior?

Show Answer

Correct Answer

B

Context distraction is correct because the agent fixates on irrelevant historical material despite having the needed current information. Option A is not correct because no malicious or false content is steering the response. Option C is not correct because the trace does not show ambiguity among relevant facts. Option D is not correct because the context does not contain competing instructions or facts.

Question 2 of 17 Multiple Choice

A finance operations team uses an agent to answer questions about invoice approvals. Its context includes the current approved procedure and a cached project note from an earlier policy cycle. The two sources specify different approval thresholds, but neither is marked as untrusted or malicious. In repeated tests with the same invoice details, the agent cites one source and then the other, producing opposite recommendations.

Choose two observations that most strongly indicate context clash.

Select 2 answers, then check them.

Show Answer

Correct Answer

A, B

The two selected observations establish context clash because incompatible policy passages are treated as applicable, and the recommendation changes according to which passage the agent follows. Option C indicates distraction from irrelevant history. Option D describes poisoning through hostile embedded content. Option E describes confusion between similar entities, which the trace does not show.

2

System Prompt and Instruction Design

9% of the exam

This topic covers writing and refining system instructions and selecting examples that guide an agent's responses. Candidates must match prompt changes and examples to observed failures while avoiding unnecessary complexity.

Question 3 of 17 Single Choice

A company uses a Databricks agent to answer questions about monthly support revenue. Its system prompt says to be concise and helpful. In testing, the agent correctly reports the revenue values returned by its query, but it also states that a campaign caused a decline even when the results contain no campaign information. The team wants a prompt change that directly addresses this failure without adding a large rule set.

Which system prompt revision best addresses the observed failure while adding the least token cost and maintenance burden?

Show Answer

Correct Answer

A

Option A is correct because the results contain revenue but no cause, so the instruction directly targets the unsupported explanation. Option B is not correct because a glossary does not establish evidence for a cause. Option C is not correct because repeating examples of the failure could reinforce it. Option D is not correct because the query is already clear and does not require clarification.

Question 4 of 17 Multiple Choice

A team is refining a Databricks agent that answers operations questions. Its current few-shot set contains three routine, clearly worded questions with similar answers. In evaluation, the agent mishandles ambiguous requests, sometimes changes the required response structure, and occasionally asserts a fact absent from its supplied context. The token budget allows three more examples, so the team must favor examples that cover meaningful gaps rather than repeat existing patterns.

Choose three. The token budget allows three additional examples. Which examples should the team add?

Select 3 answers, then check them.

Show Answer

Correct Answer

B, C, D

Examples B, C, and D add distinct behaviors by demonstrating clarification, required output structure, and a response to missing information. Option A is not correct because it repeats behavior already covered by routine examples. Option E is not correct because a long domain explanation does not demonstrate a distinct response pattern. Option F is not correct because a paraphrase adds little beyond existing coverage.

3

Knowledge Retrieval and Genie Configuration

20% of the exam

This topic covers how Unity Catalog metadata and curated assets affect the quality of Genie answers. Candidates must also diagnose AI Search retrieval problems and choose changes that improve the relevance of retrieved context.

Question 5 of 17 Single Choice

A retail analytics team uses a Databricks agent connected to a Genie space for weekly sales questions. The Unity Catalog table has columns named `amt`, `qty`, and `dt`, with no table or column comments. Business users report that answers sometimes use gross sales instead of net sales, and they cannot change the underlying table schema this quarter. The agent has access to a documented view that exposes both measures, but its columns are also undocumented.

Which change is most likely to improve the agent's answer accuracy?

Show Answer

Correct Answer

A

Option A is correct because the scenario shows that ambiguous field names and missing units prevent the agent from identifying the correct measure. Option B changes response length, not field interpretation. Option C adds unrelated assets and does not clarify the fields. Option D gives a general instruction but does not provide the missing business definitions.

Question 6 of 17 Multiple Choice

A finance team is configuring a Genie space for questions about monthly net sales by fiscal quarter. Analysts must follow the company's approved refund and cancellation rules, and fiscal quarters do not match calendar quarters. The catalog also contains several unrelated assets, and the team wants the space to include only objects that directly support reliable answers to this reporting need.

Choose two Unity Catalog assets that should be added to the Genie space.

Select 2 answers, then check them.

Show Answer

Correct Answer

B, D

Options B and D are correct because the curated view applies approved sales rules, and the fiscal-quarter function supplies the date logic needed for reporting. Option A risks duplicate or inconsistent refund calculations. Options C and E do not support the requested sales analysis. Option F searches support tickets, not sales data.

Question 7 of 17 Single Choice

A Databricks agent searches an AI Search index built from a Unity Catalog table of internal procedures. Each row has a `body` column with the procedure text and a `department` column with a short label. Users searching for specific troubleshooting steps receive results that share a department name but do not contain the requested steps. The index configuration uses `department` as its embedding source column.

Which remediation most directly addresses the retrieval problem?

Show Answer

Correct Answer

A

Option A is correct because the index currently embeds department labels instead of the document content, so its vectors cannot represent the requested procedures. Option B returns more poorly matched records. Option C narrows retrieval using the field already causing the mismatch. Option D affects response length, and Option E discards the useful document text.

4

Memory Architecture with Lakebase and MLflow

18% of the exam

This topic covers how agents use session memory, persistent memory, and durable task state with Lakebase, Delta, and MLflow. Candidates must match the memory source and retrieval method to the information the agent needs, including state that must survive retries or new sessions.

Question 8 of 17 Single Choice

A customer-support agent is packaged as an MLflow model and uses Lakebase for persisted user facts. During a session, a customer approves a rule that replacement shipments must use a staffed pickup location. Weeks later, a new session must apply that rule, but the agent currently retrieves only messages from the active conversation. The support team requires the preference to survive new sessions.

Which memory strategy should the team use?

Show Answer

Correct Answer

B

Option B is correct because the restriction must remain available in later sessions, so it belongs in durable user memory in Lakebase. Option A is not correct because session history does not guarantee cross-session persistence. Option C is not correct because the current prompt only carries information supplied for this request. Option D is not correct because MLflow traces record execution rather than provide agent memory. Option E is not correct because the scratchpad is temporary.

Question 9 of 17 Multiple Choice

A Databricks operations agent, logged as an MLflow model, processes a reimbursement in several stages. It validates receipts, checks policy, obtains manager approval, and then submits payment. Jobs can be retried on another worker after a timeout, and the agent must resume from the last completed stage without repeating an approved payment. The current design keeps progress only in an in-context scratchpad.

Choose two. Which requirements justify using a Delta-backed state object instead of an in-context scratchpad?

Select 2 answers, then check them.

Show Answer

Correct Answer

A, C

Options A and C are correct because durable Delta-backed state can preserve structured stage progress across worker restarts and retries, allowing the workflow to resume safely. Option B is not correct because invocation-only state is temporary. Option D is not correct because an in-context scratchpad does not provide durable cross-invocation persistence. Option E is not correct because prompt text cannot guarantee checkpoint recovery or prevent duplicate submission.

Question 10 of 17 Single Choice

A travel agent is deployed as an MLflow model and reads long-term preferences stored in Lakebase. Each memory row has a user ID, a category, an expiration date, and a short text value. A request asks for the user's active preferred currency, and the application must exclude expired rows and return the exact category match. There is no need to find conceptually similar statements.

Which retrieval approach best fits this request?

Show Answer

Correct Answer

A

Option A is correct because the request needs an exact category and user match plus an expiration filter, which structured querying of Lakebase records supports directly. Option B is not correct because semantic similarity is unnecessary and may return a related but nonmatching memory. Option C is not correct because the value is persisted rather than guaranteed in the current conversation. Options D and E are not correct because neither the scratchpad nor traces are the persisted memory table.

5

Tool Design, MCP, and Agent Context

13% of the exam

This topic covers designing MCP tools and controlling how their descriptions and schemas enter an agent's context. Candidates must be able to reduce ambiguous tool selection and use staged discovery to limit unnecessary tool metadata.

Question 11 of 17 Single Choice

A support team connects an agent to an MCP server with 28 tools. The agent uses only three tools for a particular ticket workflow, but the client currently inserts every full tool description and input schema into each request. The context window is shared with a long ticket transcript, and the team can change how tool metadata is exposed without changing the tools themselves.

Which approach best reduces tool metadata in the agent context while keeping the tools discoverable and usable?

Show Answer

Correct Answer

C

Option C is correct because the agent can inspect a compact catalog first and load a full description and schema only for a selected tool, avoiding the 25 unused schemas in this workflow. Option A still places every full schema in context. Option B prevents discovery of other tools. Option D risks invalid calls because required inputs are missing. Option E still includes every schema.

Question 12 of 17 Multiple Choice

A customer operations agent uses two MCP tools. The first, find_customer_by_email, searches for a customer and returns a list of possible matches. The second, get_customer_record, retrieves a record using a customer ID. Their current descriptions both say that they find customer information using identifying details, and the agent often calls the retrieval tool when given an email address.

Choose two changes that would most directly reduce confusion between these tools.

Select 2 answers, then check them.

Show Answer

Correct Answer

B, D

Options B and D are correct because they distinguish discovery from retrieval by matching each tool description to its actual inputs and results. Option A preserves the ambiguity by making the descriptions identical. Option C adds schema text without clarifying which action to choose. Option E creates duplicate names. Option F relies on listing order rather than the required operation.

6

Context Compression and Compaction

11% of the exam

This topic covers how an agent condenses a long trace while retaining information needed for later decisions. Candidates must recognize what information compaction must preserve, tune a compaction prompt for recall and precision, and assess whether fixed trimming rules fit the task.

Question 13 of 17 Single Choice

A team uses a Databricks agent to plan a migration of a Delta table used by a reporting pipeline. The trace records that a full refresh would exceed the nightly processing window, so the team rejected that approach and chose an incremental update. After compaction, the summary retains the table name and the chosen goal but omits the rejection and its reason. The agent later recommends a full refresh.

Which category of information should the compaction process preserve to prevent the agent from repeating the rejected approach?

Show Answer

Correct Answer

C

Option C is correct because the full refresh was rejected for violating the stated service-level agreement, and retaining that reason prevents the agent from proposing it again. Option A is not correct because answer style does not address the repeated migration decision. Option B is not correct because retaining every raw response adds unnecessary token cost. Option D is not correct because intermediate reasoning is not needed when its decision-relevant rationale is preserved.

Question 14 of 17 Multiple Choice

A Databricks agent reviews a long job trace before recommending a repair for a failed Delta table update. An early log entry contains a schema migration warning, while later tool responses contain repeated status details. The current compaction prompt keeps the final action and selected results, but the agent misses the warning and proposes an incompatible repair. The team needs a prompt revision that captures relevant trace evidence without keeping every repeated output.

Choose two. Which revisions best tune the compaction prompt for this trace?

Select 2 answers, then check them.

Show Answer

Correct Answer

B, E

Options B and E are correct because the initial pass protects recall of the migration warning and related evidence, while the later pass reduces repetition without discarding support for retained facts. Option A is not correct because an older warning may still affect the migration. Options C and D can remove relevant evidence based on age or type. Option F preserves irrelevant material and defeats compaction.

Question 15 of 17 Single Choice

An engineering group runs a Databricks agent through several stages of investigating a failed Delta table update. The trace includes user constraints, job status responses, and an older schema warning that becomes relevant only when the agent selects a repair. A fixed rule keeps the latest twelve entries and removes earlier entries when the context window fills. The team wants to know whether this rule is adequate for the task.

Which assessment of the fixed trimming rule is best?

Show Answer

Correct Answer

B

Option B is correct because the older schema warning can remain relevant after newer status entries arrive, so position alone cannot determine what to retain. Option A is not correct because the newest entries may omit a still-active constraint. Option C is not correct because user requirements can be essential context. Option D is not correct because a larger window does not make relevance-based compaction unnecessary.

7

Multi-Agent and Long-Horizon Task Design

13% of the exam

This topic covers how context is shared among agents working on a coordinated, multi-step task. Candidates must identify failures caused by missing context and select dispatch approaches that keep agents aligned with shared constraints and prior decisions.

Question 16 of 17 Single Choice

A Databricks analytics team uses a coordinator agent to prepare a quarterly performance report. It assigns separate analysis tasks to finance and operations specialist agents. Both specialists return plausible findings, but finance uses the reporting period specified in the original request while operations applies a different period mentioned earlier in the coordinator's work. The dispatch logs show that each specialist received only a short task message.

What is the most likely cause of the conflicting specialist outputs?

Show Answer

Correct Answer

B

Option B is correct because the coordinator sends each specialist only its assigned task, omitting the accumulated trace that contains shared reporting constraints and prior decisions. Option A is not correct because enlarging specialist context windows does not supply missing context. Option C is not correct because tool permissions do not explain the differing assumptions. Option D is not correct because changing sampling settings cannot restore omitted constraints.

Question 17 of 17 Multiple Choice

A product analytics group uses a Databricks coordinator agent to prepare a launch recommendation through several specialist agents. The first specialist establishes that the launch must comply with a regional pricing constraint, but the next specialists receive only their task descriptions and produce recommendations that violate it. The team wants to improve consistency without increasing the agents' context windows or changing their tools.

Which two changes to the dispatch context are most likely to reduce conflicting recommendations? Choose two.

Select 2 answers, then check them.

Show Answer

Correct Answer

A, C

Options A and C are correct because each dispatched agent receives the original constraints and the coordinator's relevant prior findings, so later recommendations use the same decisions. Option B is not correct because a larger context window cannot add information that the dispatcher omitted. Option D is not correct because independent reinterpretation preserves the source of disagreement. Option E is not correct because removing earlier decisions makes the long task less consistent.

Continue Your Context-Engineer-Associate Preparation

You have seen 17 questions from a full set of 50. Prepare with the Context-Engineer-Associate exam dumps in two formats.

PDF

  • Compatible with All Devices
  • Printable Format
  • No Download Limits

Practice Test

  • Check your timing and weak areas
  • No Practice Limits
  • Regularly Updated
Get Full Access
  • 100% Money-Back Guarantee
  • 90 Days Free Updates
  • Instant Access

Frequently Asked Questions

What makes Foundations of Context Engineering challenging on this exam?

The challenge is reasoning about how an agent's working context affects its response, then identifying which information is unnecessary without removing what the task requires. A scenario may involve several context failure modes, so memorizing terminology alone is unlikely to be enough. Practise tracing a poor response back to its context and explaining what should be retained or limited. This builds a practical habit for choosing a targeted fix rather than adding more instructions or information.

Why do candidates find the memory architecture topics difficult?

You need to distinguish session memory from persistent memory and durable task state, then match the information needed to a source and retrieval method involving Lakebase, Delta, or MLflow. The challenge becomes clearer when a task must survive a retry or a new session. For each practice scenario, write down what must persist, for how long, and where it belongs. That comparison helps prevent treating every kind of agent memory as interchangeable.

How can I bridge the gap between reading about retrieval and diagnosing a Genie or AI Search problem?

Candidates can understand retrieval concepts but still struggle to connect a symptom to the right change. Genie questions involve Unity Catalog metadata and curated assets, while AI Search questions ask you to diagnose relevance in retrieved context. The Exam4Success PDF format can help you review these relationships away from a lab or screen. As you study, make a short symptom-to-change table for each technology and use it to explain your choices.

What commonly goes wrong when preparing for the MCP and tool design topics?

A frequent mistake is studying tool functionality without considering how descriptions and schemas enter an agent's context. The exam also covers reducing ambiguous tool selection and using staged discovery to limit unnecessary metadata. The Exam4Success Practice Test format can help you check which of these distinctions still causes hesitation and identify weak areas. After each attempt, note whether the issue was tool selection, schema understanding, or context control, then review that specific point.

What practical capability does this certification focus on developing?

The exam focuses on designing and diagnosing the context an agent uses, rather than treating prompting as the entire solution. Its topics cover instructions, retrieval, memory, tools, compaction, and coordination across agents. That scope is relevant to work on Databricks-based agent systems, although the certification alone does not establish a particular job outcome. Use the topic list to identify which parts of context design match the responsibilities you want to take on, then focus your preparation there.

How might the Genie and AI Search topics help in my Databricks work?

These topics develop a practical understanding of how Unity Catalog metadata and curated assets affect Genie answers, and how retrieval changes can improve AI Search context relevance. That knowledge can help you reason about why an agent gives an unhelpful answer and which information source or retrieval setting deserves attention. The Exam4Success PDF is a convenient format for reviewing these concepts between hands-on sessions. Choose one retrieval problem at a time and explain how the relevant metadata or assets influence the result.

How can I tell if I am ready for the 90-minute exam?

The exam has 45 scored questions and may include up to 10 unscored items, so readiness means more than knowing a few prominent topics. Check whether you can explain the choices behind scenarios across all seven topic areas, including context compaction and multi-agent coordination. Use the Exam4Success Practice Test to assess your pacing and locate weak areas, but treat it as a study check rather than a guarantee. Review any topic where you cannot justify why one approach fits the scenario.

What should I study first if I have not worked with every technology on the syllabus?

Start by mapping the seven exam topics against your experience, then give early attention to Knowledge Retrieval and Genie Configuration at 20 percent and Memory Architecture with Lakebase and MLflow at 18 percent. Do not neglect the remaining areas, since they cover distinct decisions about prompts, tools, compaction, and multi-agent work. The Exam4Success PDF can help organize review before you spend time on unfamiliar implementations. For each topic, write one example of the problem it addresses and the choice you would make.

Exam4Success is an independent exam preparation provider and is not affiliated with or endorsed by Databricks.