Courseiva
Implement agentic AI solutionseasyMultiple ChoiceObjective-mapped

AI-102 Implement agentic AI solutions Practice Question

A company is building an agent that needs to perform tasks like sending emails and updating a CRM system. The agent uses Azure OpenAI with function calling. The team defines functions for these tasks. When the agent is tested, it sometimes calls the wrong function or invents function names. What should the team do to improve the reliability of function calling?

⚠ Common exam trap

Many candidates assume deterministic output (temperature=0) or reducing complexity (fewer functions) will fix reliability, when the real issue is semantic ambiguity in function definitions that the model cannot resolve without better descriptions.

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

Provide better function descriptions with examples of when to use each function.

Providing better function descriptions with examples directly improves the model's ability to select the appropriate function. Azure OpenAI's function calling relies on the semantic understanding of the function definitions; clear descriptions and usage examples reduce ambiguity, helping the model map user intent to the correct function signature without hallucinating names.

Answer analysis

Option-by-option breakdown

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

  • Fine-tune the model on a dataset of correct function calls.

    Why it's wrong here

    Fine-tuning may not be necessary and is expensive.

  • Reduce the number of functions to only the most common ones.

    Why it's wrong here

    This may not cover all required tasks.

  • Set the temperature parameter to 0 for deterministic output.

    Why it's wrong here

    Temperature affects creativity, not function selection accuracy.

  • Provide better function descriptions with examples of when to use each function.

    Why this is correct

    Clear descriptions improve function selection.

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 →

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.