Microsoft Azure AI Engineer Associate AI-102 Practice Question
You are building an Azure AI Foundry project that uses the Azure OpenAI Assistants API. The assistant must preserve the full conversation history so that follow-up questions can reference previous user messages and tool calls. Which object must you create and persist between requests to maintain this conversational context?
The Assistants API defines three main objects. An Assistant stores the system instructions and the list of tools it can call. A Thread is a long-lived container that stores every message exchanged and the results of any tool calls. A Run is a transient execution of the assistant against a specific thread. Because the requirement is to preserve conversation history across multiple requests, you must create a Thread once and reuse its identifier for each subsequent Run. Creating only a Run or a new Assistant for every turn would lose prior messages, and an Azure OpenAI deployment alone provides no session state.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is the role of a Thread in the Azure OpenAI Assistants API?
Open an interactive chat with Bash
How is a Run different from a Thread in the Assistants API?
Open an interactive chat with Bash
Can you explain the relationship between an Assistant, Thread, and Run in the Assistants API?
Open an interactive chat with Bash
Microsoft Azure AI Engineer Associate AI-102
Implement generative AI solutions
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .