Black Friday Reward - Upto 75% off - Ends in 0d 00h 00m 00s - Coupon code: CFsave75

Databricks Certified Context Engineer Associate Context-Engineer-Associate Question # 5 Topic 1 Discussion

Databricks Certified Context Engineer Associate Context-Engineer-Associate Question # 5 Topic 1 Discussion

Context-Engineer-Associate Exam Topic 1 Question 5 Discussion:
Question #: 5
Topic #: 1

A context engineer is building a customer support agent on Databricks. The agent’s session-initialization routine must populate a context object before turn 1 begins; the context object is then passed to every turn handler. The agent needs the user’s plan tier, region, and a few entitlement flags from the Lakebase customer_profile table in that context object. The values must be present before the first turn handler executes and may be referenced on any subsequent turn. The values do not change during a session, but could change across different sessions. The team wants to minimize per-turn Lakebase round-trips and the latency they add to turn responses.

Which retrieval approach should the engineer implement for this agent architecture?


A.

Query Lakebase for the plan tier, region, and entitlement flags once and store them in a shared cross-session cache, then have each session read its values from that cache at session start.


B.

Pre-load the user’s plan tier, region, and entitlement flags from Lakebase into the agent’s per-session context object at session start, and reuse the loaded values for the rest of the session.


C.

Query Lakebase for the plan tier, region, and entitlement flags during each turn that references them, so the agent pulls the current values from the table on those turns.


D.

Pre-load the user’s plan tier, region, and entitlement flags from Lakebase at session start, and re-fetch them on a fixed five-minute cadence to keep the agent’s copy in sync with Lakebase.


Get Premium Context-Engineer-Associate Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.