Courseiva
Implement Generative AI And Agentic SolutionsmediumMultiple ChoiceObjective-mapped

AI-103 Implement Generative AI And Agentic Solutions Practice Question

You are implementing a multi-turn conversational agent in Azure AI Foundry. As the conversation grows longer, API latency and costs increase significantly. Which strategy should you implement to manage the conversation history effectively?

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

Implement a sliding window history buffer combined with periodic summarization of older dialogue turns.

Summarizing older conversation turns or maintaining a sliding window of recent messages keeps token counts manageable.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Increase max_tokens to accommodate infinite history growth.

    Why it's wrong here

    Max tokens limits response length, not input context size.

  • Implement a sliding window history buffer combined with periodic summarization of older dialogue turns.

    Why this is correct

    Summarizing historical turns preserves context while drastically reducing token consumption.

  • Disable the chat history array entirely and treat every turn as a standalone prompt.

    Why it's wrong here

    Disabling chat history turns the application into a single-turn Q&A system.

  • Truncate the entire conversation history after every single user turn.

    Why it's wrong here

    Truncating all history destroys multi-turn conversational context.

About these practice questions

This AI-103 question is part of Courseiva's 510-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

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.