Exam CCDV-F Topic 1 Question 26 Discussion
Actual exam question for Anthropic's CCDV-F exam
Question #: 26
Topic #: 1
Question #: 26
Topic #: 1
You are designing a Claude application that maintains user sessions across multi-turn conversations. The product team has asked how the application will handle session lifecycle: when sessions should expire, how state is reset, and how the application avoids carrying stale context into new conversations.
How would you design session lifecycle?
How would you design session lifecycle?
Suggested Answer: A Vote an answer
A is the correct lifecycle architecture. The supplied Claude Certified Developer Foundations item explicitly selects A . A session is a state boundary, so its lifecycle must define when accumulated conversation state remains valid and when that state must be discarded. Anthropic's Managed Agents documentation establishes that a session maintains conversation history across multiple interactions and provides explicit session operations including creation, update, archive, and deletion.
A therefore addresses all three required controls: expiration , reset , and fresh-session creation . Expiration prevents indefinitely retained conversational state. Reset triggers allow the application to clear state when events such as logout, workflow completion, tenant switching, or explicit user reset occur. Fresh-session rules prevent context belonging to an earlier task from influencing a logically unrelated conversation.
B relies exclusively on timeout and does not cover event-driven resets. C places lifecycle correctness on users instead of the application. D applies global reset behavior and omits independent per-session expiration semantics.
Relevant Claude Developer topics: Agent Architecture, session lifecycle, multi-turn state, context boundaries, state reset, stale-context prevention, and session management .
A therefore addresses all three required controls: expiration , reset , and fresh-session creation . Expiration prevents indefinitely retained conversational state. Reset triggers allow the application to clear state when events such as logout, workflow completion, tenant switching, or explicit user reset occur. Fresh-session rules prevent context belonging to an earlier task from influencing a logically unrelated conversation.
B relies exclusively on timeout and does not cover event-driven resets. C places lifecycle correctness on users instead of the application. D applies global reset behavior and omits independent per-session expiration semantics.
Relevant Claude Developer topics: Agent Architecture, session lifecycle, multi-turn state, context boundaries, state reset, stale-context prevention, and session management .
by Bridget at Nov 30, 2026, 11:04 PM
Contact Us
If you have any question please leave me your email address, we will reply and send email to you in 12 hours.
Our Working Time: ( GMT 0:00-15:00 ) From Monday to Saturday
Support: Contact now
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).