Weekend Sale Special Limited Time 75% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: CFsave75

Databricks Certified Generative AI Engineer Associate Databricks-Generative-AI-Engineer-Associate Question # 3 Topic 1 Discussion

Databricks Certified Generative AI Engineer Associate Databricks-Generative-AI-Engineer-Associate Question # 3 Topic 1 Discussion

Databricks-Generative-AI-Engineer-Associate Exam Topic 1 Question 3 Discussion:
Question #: 3
Topic #: 1

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?


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.


Get Premium Databricks-Generative-AI-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.