Skip to main content

AI-200 practice question · Connect to and Consume Azure Services

A company runs Microsoft Foundry Agent Service in the standard setup. Over several months, it has built up a large…

A company runs Microsoft Foundry Agent Service in the standard setup. Over several months, it has built up a large number of inactive customer conversations (threads). Company policy says customer conversation data must be removed after 90 days. What should the developers do?

  • ASchedule a job that calls the Agent Service API or SDK to delete conversations that are past the 90-day retention period
  • BSet a 90-day retention period in the agent definition so the service deletes the conversations it stores when they expire
  • CAdd a lifecycle management rule to the project's Azure Storage account that deletes blobs older than 90 days
  • DRely on the service's automatic context truncation to drop older messages once a conversation grows too large
Show the answer and explanation

Correct answer: A) Schedule a job that calls the Agent Service API or SDK to delete conversations that are past the 90-day retention period

Foundry Agent Service keeps conversations, files, and vector stores until you explicitly delete them through the API or SDK. A retention policy therefore needs a cleanup process run by the application. Storage lifecycle rules and context truncation don't remove conversation data, which is stored in Cosmos DB in standard setup.

Why each option is right or wrong

  • A) Correct. Agent Service data persists until you explicitly delete it, and the documented way to remove it is through the API or SDK. A scheduled cleanup job that deletes expired conversations enforces the 90-day policy.
  • B) Incorrect. The documentation doesn't describe any retention or expiry setting for stored conversations. Data persists until you explicitly delete it through the API or SDK.
  • C) Incorrect. In standard setup, threads and conversation history are stored in Azure Cosmos DB. Azure Storage holds files and attachments, so a blob lifecycle rule wouldn't remove the conversation data.
  • D) Incorrect. Truncation only controls how much conversation history fits into the model's context window for a request. It doesn't delete stored conversation data or enforce a retention period.
Exam domain
Connect to and Consume Azure Services · 25% of AI-200
Question type
Multiple choice (one answer)

Practise the full AI-200 exam

This question is one of a small free sample from the CertRidge AI-200 bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.

Original question written from the official exam guide. Not affiliated with Microsoft; never copied from the real exam.