Microsoft Azure AI Engineer Associate AI-102 Practice Question
You are designing a line-of-business assistant in Azure OpenAI. The assistant must
maintain long-running conversational context across user sessions,
decide at run time whether to call an internal product-catalog search REST API or an order-status REST API,
combine the API results with the user's original question, and
return a single, natural-language answer-all without writing custom orchestration code for every tool call. Which Azure-based approach best satisfies these requirements?
Register the catalog and order REST endpoints as tools in Azure AI Foundry Agent Service and let the agent decide which to call during the dialogue.
Create an Azure Bot Service bot that uses a QnA knowledge base populated with catalog and order information.
Send a single chat completion request that embeds the API documentation in the system message and instructs the model to respond with the correct data.
Fine-tune a GPT model on historical chat transcripts that include API responses so the model learns when to answer with catalog or order data.
The requirements describe a classic agent scenario: the logic that determines when to invoke one of several external tools (REST APIs), persist conversation state, and compose a final response. Azure AI Foundry Agent Service supplies this orchestration automatically; you register each API as a tool, configure memory persistence, and let the agent autonomously decide which tool to call and how to use its output. Fine-tuning only changes a model's weights and does not provide tool invocation or memory. A plain chat completion with system prompts still leaves all API calling and state management code to the developer. A QnA-only bot cannot invoke arbitrary REST APIs or maintain multi-session context. Therefore, the Foundry Agent Service is the only option that meets all stated needs with minimal extra code.
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 Azure AI Foundry Agent Service?
Open an interactive chat with Bash
How does Azure AI Foundry Agent Service maintain conversation context?
Open an interactive chat with Bash
What are the advantages of registering APIs as tools in Azure AI Foundry Agent Service?
Open an interactive chat with Bash
Microsoft Azure AI Engineer Associate AI-102
Implement an agentic solution
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 .