You have a single-agent customer support copilot built by using Microsoft Foundry. The application that hosts the copilot runs on multiple stateless instances, and rolling upgrades restart the instances.
[Architect multi-agent solutions]
Customer investigations can last for several days. A user can have multiple unrelated investigations, and stable user preferences, such as a preferred contact method, must be available across sessions and devices Compliance reporting requires a one-year, queryable audit trail of thread messages and session metadata.
During long investigations, the model context window regularly approaches its limits. Temporary tool traces do NOT affect final outcomes after the run completes.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.

Correct Answer:

Explanation:
Yes / No / Yes
Persisting thread messages and session metadata in Azure Cosmos DB can satisfy the requirement for a durable, queryable audit trail when the appropriate retention and indexing policies are configured. Storing thread identifiers only in per-instance memory cannot survive rolling restarts and cannot support consistent routing across multiple stateless instances, so that statement is false. Separating unrelated investigations into task-scoped threads prevents one case from consuming the context budget of another. Removing temporary tool traces after the run when they no longer influence the outcome is also a valid compaction strategy for reducing context pressure. Current Agent Framework terminology commonly refers to this as compaction or tool-result eviction rather than "importance-weighted pruning," but the architectural effect described is sound.
Therefore the correct sequence is Yes, No, Yes. This choice also keeps the design composable as more agents are introduced. Clear interfaces, trust boundaries, and state ownership let a team change one domain without forcing unrelated agents to adopt the same permissions, context, or execution model.
Official Microsoft reference: Microsoft Foundry Agent Service - standard setup and durable state
