AI-103 Implement Generative AI And Agentic Solutions Practice Question
You are building an agentic workflow in Microsoft Foundry using Semantic Kernel. The agent needs to call an external enterprise API to retrieve customer billing data. The API requires OAuth 2.0 user-delegated tokens. How should you configure the plugin registration to securely pass the user context?
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
✓
Configure the Semantic Kernel plugin using an OpenApiFunctionDefinition that accepts a dynamic context parameter mapped to the incoming authorization header.
User-delegated authentication in Semantic Kernel plugins requires leveraging the active turn context to propagate the user's OAuth 2.0 token through the kernel invocation pipeline.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Configure the Semantic Kernel plugin using an OpenApiFunctionDefinition that accepts a dynamic context parameter mapped to the incoming authorization header.
Why this is correct
Mapping the authorization header dynamically ensures user-delegated tokens are forwarded correctly.
- ✗
Disable authentication on the external API and rely solely on network-level Azure VNet integration.
Why it's wrong here
Network isolation does not satisfy the requirement for user-delegated authentication tokens.
- ✗
Store the user's password in Azure Key Vault and have the plugin retrieve it on every tool call.
Why it's wrong here
Retrieving user passwords inside a plugin defeats token-based OAuth flows and introduces severe security risks.
- ✗
Hardcode the service account client secret inside the plugin configuration settings.
Why it's wrong here
Hardcoding service accounts violates security best practices and fails user-delegated authorization.
About these practice questions
Courseiva writes every AI-103 question from scratch — 510 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. 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.