Question 102 of 1,020

Quick Answer

The correct choice is the Chat Completions API, as it is specifically designed for multi-turn conversations in Azure OpenAI Service. Unlike the Completions API, which handles single-turn prompts, the Chat Completions API accepts a structured array of messages with roles—system, user, and assistant—that preserves the full conversation history, enabling the model to maintain context across multiple interactions. On the Microsoft Azure AI Fundamentals AI-900 exam, this question tests your understanding of how Azure OpenAI endpoints map to different use cases; a common trap is confusing the Completions API for chat scenarios, but remember that any scenario requiring back-and-forth dialogue with memory of prior turns demands the Chat Completions endpoint. For a quick memory tip: think “Chat = Context History,” where the API keeps the entire thread of messages, unlike a single “complete my sentence” call.

AI-900 Practice Question: Describe features of generative AI workloads on Azure

This AI-900 practice question tests your understanding of describe features of generative ai workloads on azure. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. 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.

A company uses Azure OpenAI Service to power an AI assistant that helps customers with product troubleshooting. The assistant must maintain the conversation history to provide contextually relevant answers across multiple turns. Which API endpoint should be used for this purpose?

Question 1mediummultiple 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

Chat Completions API

The Chat Completions API is designed for multi-turn conversational scenarios because it accepts a list of messages with roles (system, user, assistant) that represent the conversation history. This allows the model to maintain context across multiple interactions, making it the correct choice for an AI assistant that needs to provide contextually relevant answers over several turns.

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.

  • Completions API

    Why it's wrong here

    The Completions API is designed for single-turn prompts and does not manage conversation history natively.

  • Chat Completions API

    Why this is correct

    The Chat Completions API processes a conversation history (list of messages) and generates responses that maintain context across multiple turns.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Embeddings API

    Why it's wrong here

    The Embeddings API converts text into numerical vectors for semantic similarity, not for generating conversational responses.

  • Fine-tuning

    Why it's wrong here

    Fine-tuning is a training process to adapt a model to specific data, not an endpoint used during inference for conversation.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often confuse the Completions API with the Chat Completions API, assuming both can handle multi-turn dialogue, but the Completions API lacks the message-role structure needed for maintaining conversation context.

Trap categories for this question

  • Similar concept trap

    The Embeddings API converts text into numerical vectors for semantic similarity, not for generating conversational responses.

Detailed technical explanation

How to think about this question

The Chat Completions API uses a structured message format where each message includes a 'role' field (system, user, assistant) and 'content' field, enabling the model to track the flow of conversation. Under the hood, the API concatenates the entire message history into a single prompt with special tokens (e.g., <|im_start|> and <|im_end|> for GPT-4) to delineate roles, which allows the model to generate responses that are coherent with prior turns. A subtle behavior is that the conversation history is limited by the model's context window (e.g., 8,192 tokens for GPT-4), so long conversations may require truncation or summarization to avoid exceeding the limit.

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 company's IT admin needs to give a contractor read-only access to production logs without sharing account credentials. Using role-based access control (RBAC) and temporary scoped permissions — not a permanent shared password — is the correct pattern. Questions like this test whether you can apply least-privilege access across cloud identity services.

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 generative AI workloads on Azure — This question tests Describe features of generative AI workloads on Azure — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Chat Completions API — The Chat Completions API is designed for multi-turn conversational scenarios because it accepts a list of messages with roles (system, user, assistant) that represent the conversation history. This allows the model to maintain context across multiple interactions, making it the correct choice for an AI assistant that needs to provide contextually relevant answers over several turns.

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

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.