AI-103 Implement Generative AI And Agentic Solutions Practice Question
You are configuring a code interpreter tool for an AI agent in Azure AI Agent Service. The agent needs to analyze a CSV dataset uploaded by a user. How does the agent execute this task securely?
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 agent generates Python code to analyze the CSV and executes it inside a secure, isolated sandbox environment managed by the service.
The code interpreter runs in a secure, sandboxed execution environment where it dynamically writes and executes Python code to process data and generate files.
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 agent compiles the CSV data into C# binaries and runs them on the host Azure App Service instance.
Why it's wrong here
Code interpreters do not compile C# binaries or run code on host application servers.
- ✗
The agent sends the raw CSV data to an external public third-party execution API.
Why it's wrong here
Execution occurs within managed secure infrastructure, not arbitrary external public APIs.
- ✓
The agent generates Python code to analyze the CSV and executes it inside a secure, isolated sandbox environment managed by the service.
Why this is correct
The code interpreter operates within an isolated containerized sandbox, ensuring secure execution of generated Python scripts.
- ✗
The agent translates the CSV data into SQL queries and executes them directly against the primary production database.
Why it's wrong here
The code interpreter analyzes files via Python libraries like pandas, not by executing arbitrary SQL against production databases.
About these practice questions
One of 510 original AI-103 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 →
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.