AI-103 Implement Generative AI And Agentic Solutions Practice Question
You are developing a customer support agent using Microsoft Foundry. The agent needs to call a custom weather API tool when a user asks about local conditions. How should you define this capability in the agent configuration?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Register a custom function tool by providing an OpenAPI schema definition that describes the weather API endpoints, parameters, and expected responses.
In Microsoft Foundry and Azure AI Agent Service, you configure custom tools by defining them as OpenAPI specifications or functions that the model can invoke via function calling capabilities.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Register a custom function tool by providing an OpenAPI schema definition that describes the weather API endpoints, parameters, and expected responses.
Why this is correct
Providing an OpenAPI schema allows the model to correctly format requests and interpret responses from custom external APIs.
- ✗
Upload the compiled C# library containing the API client code directly into the agent code interpreter workspace.
Why it's wrong here
The code interpreter is intended for executing generated Python code in a sandbox, not for hosting external API client libraries.
- ✗
Add the weather API endpoint URL as a grounding data source under the vector store settings.
Why it's wrong here
Vector stores are specifically for unstructured data retrieval via embeddings, not for executing transactional or dynamic REST API calls.
- ✗
Configure a managed data connection pointing to the weather API URL within Azure AI Search.
Why it's wrong here
Azure AI Search is used for data indexing and retrieval-augmented generation (RAG), not for hosting arbitrary REST APIs for agent function calling.
About these practice questions
One of 510 original AI-103 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official Microsoft exam blueprint
This AI-103 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AI-103 exam.