Courseiva
Plan and manage an Azure AI solutionmediumMultiple ChoiceObjective-mapped

AI-102 Plan and manage an Azure AI solution Practice Question

Exhibit

Refer to the exhibit.
{
  "role": "system",
  "content": "You are an AI assistant that helps users find information. You must always use the provided tools to answer questions. You must not make up answers."
}
{
  "role": "user",
  "content": "What is the capital of France?"
}
{
  "role": "assistant",
  "content": null,
  "tool_calls": [
    {
      "id": "call1",
      "type": "function",
      "function": {
        "name": "search_web",
        "arguments": "{\"query\": \"capital of France\"}"
      }
    }
  ]
}

You are testing an Azure OpenAI Service chat completion with function calling. The assistant returned null content and a tool call. What does this indicate?

⚠ Common exam trap

The trap here is that candidates often misinterpret a null content as a model failure or error, when in fact it is a standard indicator that the model is actively using a tool to fulfill the request.

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 model is using a tool to answer the question, so content is null

In Azure OpenAI Service function calling, when the model determines that it needs to invoke a tool (e.g., an external API or database query) to fulfill the user's request, it returns a `tool_calls` object with `content` set to `null`. This is the expected behavior—the model is signaling that it is delegating the response to the tool, not that it has failed or is blocked.

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 model is unable to answer the question and returned an error

    Why it's wrong here

    Null content with a tool call is not an error; it's expected.

  • The system message is preventing the model from responding

    Why it's wrong here

    The system message encourages tool use, which is happening.

  • The model is using a tool to answer the question, so content is null

    Why this is correct

    Null content with tool call indicates the model is delegating to a function.

  • The function call syntax is invalid and the model skipped it

    Why it's wrong here

    The function call appears correctly formatted.

About these practice questions

Courseiva writes every AI-102 question from scratch — 945 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 →

How Courseiva writes practice questions · Editorial policy

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.