AI-103 Implement Generative AI And Agentic Solutions Practice Question
You are building an agent that needs to execute Python code safely to calculate financial projections requested by users. Which tool in Azure AI Agent Service should you enable to allow the agent to write and run code in an isolated environment?
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
✓
Code Interpreter tool
The Code Interpreter tool in Azure AI Agent Service provides a secure, sandboxed Python execution environment where agents can run generated code and analyze data.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Code Interpreter tool
Why this is correct
Code Interpreter allows the agent to generate and execute Python code in a secure sandbox to solve data problems.
- ✗
Azure Container Instances dynamic scaling group
Why it's wrong here
Container Instances require explicit orchestration code and are not a native built-in agent tool.
- ✗
Azure Functions webhook integration
Why it's wrong here
Webhooks connect external HTTP endpoints, not an integrated sandboxed code execution environment.
- ✗
Azure AI Search vector embedding tool
Why it's wrong here
Vector embedding tools convert text into numerical vectors for search, not run code.
About these practice questions
Courseiva writes every AI-103 question from scratch — 510 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 →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official Microsoft exam blueprint
This AI-103 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-103 exam.