microsoft AI-103: Developing AI Apps and Agents on Azure · Practice questions

2. Implement generative AI and agentic solutions Practice Questions

Review 10 sample questions with their correct answers and explanations. Sign up free to continue with the full topic quiz.

Sign up free for the full quiz

Question 1

Which statement about conversation tracking strategies for agents is correct?

  1. Server-managed conversations simplify state; client-managed history gives more control — Correct
  2. Tracking requires a new deployment per turn
  3. Agents cannot track conversations
  4. History must be stored in images

Correct answer

Server-managed conversations simplify state; client-managed history gives more control

Explanation

Choose the approach based on control and scalability needs.

Question 2

Which output allows downstream systems to process agent results reliably?

  1. Audio only
  2. Structured outputs following a schema — Correct
  3. Screenshots
  4. Free-form text with emojis so that users find the results friendlier to read

Correct answer

Structured outputs following a schema

Explanation

Schemas make outputs machine-readable.

Question 3

Which technique asks a model to review and improve its own draft answer?

  1. Self-critique (reflection) loops — Correct
  2. Data zone deployment
  3. Prompt caching across all users of the same deployment
  4. Private endpoints

Correct answer

Self-critique (reflection) loops

Explanation

Reflection adds a critique and revision step.

Question 4

Which statement about function-calling is correct?

  1. The model runs the function inside its own weights
  2. The model proposes a call; the app executes it — Correct
  3. Functions must be written in SQL
  4. Function calling requires image input

Correct answer

The model proposes a call; the app executes it

Explanation

Applications execute functions requested by the model.

Question 5

Which API style is recommended for building new agentic applications on Azure OpenAI models in Foundry, with server-side conversation state and built-in tools?

  1. The legacy Completions API with manually concatenated prompts and no tool support
  2. The Speech batch API
  3. The Responses API — Correct
  4. The Translator Document API

Correct answer

The Responses API

Explanation

The Responses API supports stateful conversations and tools.

Question 6

Which Foundry service choice fits real-time multimodal voice conversations with low latency?

  1. An OCR analyzer
  2. A text embedding model
  3. A batch deployment that processes recorded audio files overnight in large groups
  4. A realtime audio model deployment — Correct

Correct answer

A realtime audio model deployment

Explanation

Realtime models support streaming speech interactions.

Question 7

An agent can issue refunds. Policy requires a human to approve refunds over $500. How should this be implemented?

  1. Disable tracing for refund tools
  2. Increase the temperature for refund conversations
  3. Tell the model in the system prompt to be careful with large refunds and trust it to comply
  4. Add an approval step (human-in-the-loop) before the refund tool executes above the threshold — Correct

Correct answer

Add an approval step (human-in-the-loop) before the refund tool executes above the threshold

Explanation

Approval workflows enforce oversight for high-risk actions.

Question 8

An agent must run Python to analyze an uploaded Excel file. Which tool fits?

  1. Bing grounding
  2. Code interpreter — Correct
  3. Text to speech
  4. File search, which runs Python against files after indexing them in a vector store

Correct answer

Code interpreter

Explanation

Code interpreter executes code in a sandbox.

Question 9

Which statement about fine-tuning in Foundry is correct?

  1. They are deployed and evaluated separately — Correct
  2. Fine-tuning changes the base model for all customers
  3. Fine-tuned models cannot be deployed
  4. Fine-tuning requires no data

Correct answer

They are deployed and evaluated separately

Explanation

Fine-tuned models are custom deployments.

Question 10

A bank must summarize regulatory documents in a fixed compliance format. Which approach helps customize outputs?

  1. Domain instructions and examples, or fine-tuning if needed — Correct
  2. A higher temperature to produce more creative summaries for regulators
  3. Using an image model
  4. Removing the system prompt

Correct answer

Domain instructions and examples, or fine-tuning if needed

Explanation

Customization via prompts or fine-tuning adapts outputs to domain needs.

Ready for the full quiz?

Create a free QuizAnalyst account to practice the complete question set and save your progress.

Sign up free for the full quiz