Question 127 of 1,020

Quick Answer

The correct answer is that token budget and context window management refer to the maximum text a large language model can process in one call, requiring strategic management of what fits in context. This is because every LLM has a fixed context window—measured in tokens, which are units of words, subwords, or characters—that limits how much input it can handle at once; for example, GPT-3.5 has a 4096-token limit, while GPT-4 can handle up to 8192 tokens. Managing your token budget means you must truncate, summarize, or prioritize input text to stay within this window, ensuring the model generates coherent responses without exceeding its capacity. On the Microsoft Azure AI Fundamentals AI-900 exam, this concept tests your understanding of how Azure OpenAI Service models handle input constraints, often appearing in scenario-based questions where you must decide how to fit a long document into a single prompt. A common trap is confusing token budget with model training size—remember, it’s about inference limits, not training data. Memory tip: think of the context window as a fixed-size “token bucket” you must fill carefully, or the model will spill over and fail.

AI-900 Practice Question: Describe features of Natural Language Processing workloads on Azure

This AI-900 practice question tests your understanding of describe features of natural language processing workloads on azure. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

What is 'token budget' and 'context window' management in large language models?

Question 1hardmultiple choice
Full question →

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

The maximum text the model can process in one call, requiring strategic management of what fits in context

Option B is correct because 'token budget' and 'context window' refer to the maximum number of tokens (words, subwords, or characters) a large language model can process in a single inference call. The context window is a fixed limit (e.g., 4096 tokens for GPT-3.5, 8192 for GPT-4), and managing the token budget involves strategically truncating, summarizing, or prioritizing input text to fit within this window, ensuring the model can generate coherent and relevant responses without exceeding its capacity.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

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

  • The monthly spending limit set for an Azure OpenAI subscription

    Why it's wrong here

    Spending limits are Azure billing controls — token budget refers to managing the finite context window space, not financial budget.

  • The maximum text the model can process in one call, requiring strategic management of what fits in context

    Why this is correct

    Context windows are finite (e.g., 128K tokens) — managing what's included (system prompt, history, documents) is the token budget challenge.

    Related concept

    Read the scenario before looking for a memorised answer.

  • The number of API calls allowed per minute before rate limiting kicks in

    Why it's wrong here

    Rate limiting is API quota management — token budget is about the content length limits within a single API call.

  • A pre-purchase of tokens at a discounted rate for high-volume Azure OpenAI users

    Why it's wrong here

    Commitment discounts are Azure billing — token budget is the technical challenge of fitting all necessary context within the model's window.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates confuse operational or billing limits (subscription spending, rate limits, pre-purchased tokens) with the model's inherent architectural constraint, which is the context window and token budget for a single API call.

Detailed technical explanation

How to think about this question

Under the hood, the context window is determined by the model's maximum positional embedding size (e.g., 2048, 4096, or 8192 tokens), which limits how many tokens the transformer can attend to in a single forward pass. Exceeding this limit causes an error or forces truncation; for example, in Azure OpenAI, the 'max_tokens' parameter in the API call must not exceed the model's context window minus the prompt tokens. A real-world scenario is a chatbot that must process a long customer support conversation—if the history exceeds the context window, the developer must implement a sliding window or summarization strategy to stay within the token budget.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related AI-900 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free AI-900 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this AI-900 question test?

Describe features of Natural Language Processing workloads on Azure — This question tests Describe features of Natural Language Processing workloads on Azure — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: The maximum text the model can process in one call, requiring strategic management of what fits in context — Option B is correct because 'token budget' and 'context window' refer to the maximum number of tokens (words, subwords, or characters) a large language model can process in a single inference call. The context window is a fixed limit (e.g., 4096 tokens for GPT-3.5, 8192 for GPT-4), and managing the token budget involves strategically truncating, summarizing, or prioritizing input text to fit within this window, ensuring the model can generate coherent and relevant responses without exceeding its capacity.

What should I do if I get this AI-900 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Keep practising

More AI-900 practice questions

Last reviewed: Jun 11, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This AI-900 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-900 exam.