‹ All AI-103 questions

AI-103 Practice Question 97: Batch API Bulk Evaluation

Microsoft Azure AI Apps and Agents Developer Associate (AI-103) · Test 10 · question 7 of 10

Implement generative AI and agentic solutionseasy

An applied-AI team wants to compare two prompt variants by running each against 50,000 questions from a fixed test set (100,000 requests in total) one time only, to decide which variant to ship. The comparison is not urgent, results by the next morning are fine, and the team wants the lowest possible per-token cost without reserving any ongoing capacity, since the job runs once and will not repeat on a schedule.

What should they use to run the evaluation?

Select one answer
Show answer and explanation

Answer:

  • C. The batch API: upload the 100,000 requests as a single JSONL file, create a batch job against it, and poll until the output file is ready

Batch processing is defined for exactly this shape of work: "bulk processing workloads without latency requirements. Results are returned asynchronously," at a discounted per-token rate. The mechanics match the scenario directly; each line of a JSONL file is one request with a custom_id, method, url, and body; you upload the file, create a batch job referencing it, and poll until it completes before retrieving the output file. A one-time job that only needs results by morning is precisely what this asynchronous, discounted path is for.

- A is wrong because prompt caching only discounts input tokens that repeat within whatever serving path is already chosen; it doesn't provide a batch-rate discount and does nothing to satisfy "no reserved capacity" for a one-off job. - B is wrong because PTUs bill hourly for capacity reserved continuously, whether or not it's used, the opposite of what a job that runs once, with no recurring schedule, needs. - D is wrong because fine-tuning is a training investment sized for a workload that will run repeatedly; standing one up to answer a one-time "which prompt variant is better" question adds cost and delay the scenario explicitly doesn't call for.

Reference: How to use global batch processing with Azure OpenAI

Practice Test 10 ›

Study guides for AI-103

AI engineer roadmap 2026: skills, certs and the orderAI engineer roadmap for 2026: skills to learn in order, AI engineer vs ML engineer, which certifications fit each stage, and what to skip.
AI-200 exam guide: Azure AI Cloud Developer AssociateAI-200 replaced AZ-204: what the Azure AI Cloud Developer exam tests, how it differs from AI-103, price in USD and INR, format and how to prepare.
How AI Is Changing Software Jobs: Where to PrepareHow AI is changing software jobs: what history shows, the evidence on junior developers, what Klarna learned, new AI roles and five domains to prepare for.
AI-901 exam guide: Azure AI Fundamentals after AI-900AI-901 replaced AI-900: learn what changed, how much Python and Microsoft Foundry you need, exam costs in India, and how to prepare.
Best AI certifications 2026: AWS, Google, Microsoft, ClaudeThe best AI certifications in 2026 from AWS, Google, Microsoft, Claude and Databricks, by level, with price, status and which one to take first.
Microsoft AI certification path 2026: which exam firstMicrosoft AI certification path for 2026 - AI-901, AB-730, AI-103, AI-200, AI-300, AB-100, AI-500 and GH-300 by role, and which exam to take first.
AI-103 Certification Guide: What Changed From AI-102The AI-103 certification replaced AI-102 in 2026. Exam format, cost, the five skill domains, what changed and how to prepare, with free practice questions.
What Is RAG? How Retrieval-Augmented Generation WorksWhat RAG is and how it works: chunking, embeddings, vector search, hybrid search, reranking, GraphRAG and agentic RAG on AWS, Google and Azure.
Prompt engineering vs RAG vs fine-tuningWhen to use prompt engineering, retrieval-augmented generation, fine-tuning or continued pre-training, compared on cost, freshness, hallucination and privacy.