AI-102 Implement an agentic solution Practice Question
You are building an agentic solution using Microsoft Semantic Kernel. The agent needs to orchestrate multiple plugins. One plugin returns a large dataset that exceeds the model's context window. What is the best way to handle this?
⚠ Common exam trap
Watch out — candidates often assume 'splitting' or 'truncating' are acceptable workarounds, but Microsoft tests the understanding that LLMs require context-aware compression, not data loss or fragmentation, to maintain reasoning quality.
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
✓
Use a summarization plugin to condense the data before passing it to the model
Semantic Kernel agents interact with LLMs that have fixed context windows. When a plugin returns data that exceeds this limit, the best practice is to use a summarization plugin (e.g., a built-in Semantic Kernel text summarizer or a custom one) to condense the data into a concise representation that fits within the model's token budget. This preserves the essential information without losing context or requiring manual truncation, which could discard critical details.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Split the data into multiple smaller API calls and combine results
Why it's wrong here
Multiple calls increase token usage and latency.
- ✗
Truncate the data to fit the context window
Why it's wrong here
Truncation may lose important details.
- ✗
Configure the plugin to return only a subset of the data and mark the rest as sensitive
Why it's wrong here
Marking as sensitive doesn't reduce size.
- ✓
Use a summarization plugin to condense the data before passing it to the model
Why this is correct
Summarization preserves key info and reduces size.
Go deeper
Related to this question
About these practice questions
One of 945 original AI-102 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 by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This AI-102 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-102 exam.