About this exam
This is the Microsoft exam for the Azure AI Apps and Agents Developer Associate certification, aimed at engineers who build, deploy and manage AI solutions and agents with Microsoft Foundry. It covers planning and managing AI solutions, implementing generative AI and agentic solutions, computer vision, text analysis (including speech), and information extraction (retrieval and grounding, and extracting content from documents).
Try a sample question
This is an original sample question written by itmoshi based on the exam objectives.
You are building a chat app that answers employee questions about company policies, using a generative AI model on Azure. The policy documents run to thousands of pages and are updated almost daily. Answers must be based on the latest policies and cite the source documents. You will not retrain the model, and you want to keep operational effort and cost low. Which approach should you use?
- AFine-tune the model on the policy documents and rerun it after every update
- BPaste the full text of the policy documents into the system prompt on every request
- CIndex the policies in Azure AI Search and add the passages relevant to each question to the prompt (RAG)
- DSet temperature to 0 so the model answers only from what it already learned
Show answer and explanation
Answer:C To answer from up-to-date internal documents with citations, use retrieval-augmented generation (RAG).
Why it is correct
With RAG, each question triggers a search of the index, and the relevant passages are added to the prompt for the model to answer from. When documents change, updating the index is enough to reflect it in answers; the model is never retrained. Because the retrieved passages come from known documents, they can be shown as citations, which meets the source requirement.
The other options
- ✗ A Fine-tuning only captures what was in the training data; rerunning it daily is costly and slow, and it cannot show which document an answer came from. Use it to change behavior, such as tone or output format.
- ✗ B Thousands of pages may not fit in the model's context window, and even when they do, sending everything with every question uses far more input tokens than retrieving only the relevant passages. This approach suits passing a small amount of short text.
- ✗ D Temperature only controls randomness in the output; it cannot make the model know internal policies it never saw. Lower it when you want consistent answers.
Key takeaway
Choose by what the model is missing. Missing knowledge (internal or recent data) → RAG (retrieve and add to the prompt). Wrong behavior (tone, format, accuracy on a specific task) → fine-tuning. Output randomness → parameters such as temperature.
Try 20 questions like this for free
itmoshi is an unofficial study service and is not affiliated with Microsoft or any exam provider.