Microsoft Certified: Azure AI Fundamentals · AI-901 · Skills measured as of April 15, 2026 · Official skills outline · Original practice content
Free AI-901 practice questions: Implement AI solutions by using Microsoft Foundry
Reviewed by the FlashGenius certification content team · Last updated: December 5, 2026 · Aligned to the published AI-901 skills outline and weights
The Implement AI solutions by using Microsoft Foundry domain is 55-60% of the AI-901 exam and covers prompts, deploying and testing models in the Foundry portal, chat clients with the Foundry SDK, single-agent solutions, text and speech apps, vision and image generation, and Content Understanding. Review each answer and explanation as you practice.
AI-901 is Microsoft's fundamentals exam for building AI solutions with Microsoft Foundry: two skill areas, a 700 passing score on a 1-1000 scale, and hands-on beginner tasks such as deploying a model, building an agent and calling it from a small app. It costs $99 in the US and replaced AI-900 on June 30, 2026.
What Implement AI solutions by using Microsoft Foundry covers on the AI-901 exam
This domain is 55-60% of the AI-901 exam (about 29 questions in a 50-question mock). The official skills outline includes:
Writing effective system and user prompts
Deploying a model and interacting with it in the Foundry portal
Creating a lightweight chat client with the Foundry SDK
Creating and testing a single-agent solution, and a client app for it
Building apps with text analysis and Azure Speech in Foundry Tools
Responding to spoken prompts and visual input with a deployed multimodal model
Creating new visual outputs with generative models
Extracting information from documents, forms, images, audio and video with Content Understanding
How to study Implement AI solutions by using Microsoft Foundry
Walk through the flow in the portal once: model catalog, deploy, playground, then the code sample. Questions follow that order.
Remember that client code calls the deployment name you chose, and that agents are reached through the project endpoint with Microsoft Entra ID.
For extraction questions, decide first what the input is (form, image, audio or video), then pick the analyzer that handles it.
AI-901 Implement AI solutions by using Microsoft Foundry sample questions with answers
Implement AI solutions by using Microsoft Foundry
Sample question 1
A developer is building a chat app on a model deployed in Microsoft Foundry. Every reply must be polite, stay under about 100 words and discuss only the company's own products, whatever the user types. Where should the developer put these rules?
In the max output tokens setting, set to the equivalent of 100 words
In the system prompt (instructions) that the app sends with every request
In a note shown to users asking them to add the rules to each question
In a lower temperature setting so replies stay on approved topics
Show correct answer and explanation
Correct answer: B. In the system prompt (instructions) that the app sends with every request
B is correct because the system prompt sets the model's behavior, tone and constraints, is set by the application rather than the user, and applies to every turn of the conversation. A is incorrect because max output tokens only caps length and can cut a reply off mid-sentence; it cannot set tone or limit the topics discussed. C is incorrect because rules typed by users are unreliable and can be left out or changed, while the app needs the rules applied on every request. D is incorrect because temperature only makes word choice more or less random; a low value makes replies more predictable but does not limit their topics or tone. Skills measured: Implement AI solutions by using Microsoft Foundry > Implement generative AI apps and agents by using Foundry.
Implement AI solutions by using Microsoft Foundry
Sample question 2
A developer writes a Python chat client that uses the OpenAI-compatible client from the Foundry SDK. In the call that sends a prompt, the model argument must be set to the ___.
name of the Foundry resource shown in the Azure portal
name of the model deployment created in the Foundry project
Azure subscription ID that is billed for the tokens
full project endpoint URL copied from the overview page
Show correct answer and explanation
Correct answer: B. name of the model deployment created in the Foundry project
B is correct because the model argument identifies the deployment you created; it matches the base model name only if you kept that name when deploying. A is incorrect because the resource name forms part of the endpoint URL, not the model argument that selects which deployment answers. C is incorrect because the subscription is never passed in a prompt call; billing follows the resource that hosts the deployment. D is incorrect because the endpoint is passed when the client is created; the model argument in each call names the deployment to use. Skills measured: Implement AI solutions by using Microsoft Foundry > Implement generative AI apps and agents by using Foundry.
Implement AI solutions by using Microsoft Foundry
Sample question 3
A student wants to try a model in the Microsoft Foundry portal. Put these steps in order. 1. Send test prompts and adjust settings such as temperature. 2. Deploy the selected model and choose a deployment type. 3. Pick a model in the model catalog. 4. Open the deployment in the playground and add instructions.
2, 3, 4, 1
3, 4, 2, 1
3, 2, 1, 4
3, 2, 4, 1
Show correct answer and explanation
Correct answer: D. 3, 2, 4, 1
D is correct because you choose a model in the catalog, deploy it to get an endpoint, open that deployment in the playground to set instructions, and then test prompts and tune settings. A is incorrect because you cannot deploy a model before choosing it; picking the model in the catalog comes first. B is incorrect because the playground works with a deployment, so the model has to be deployed before you can open it there and add instructions. C is incorrect because instructions shape every response, so they are added in the playground before testing prompts, not after. Skills measured: Implement AI solutions by using Microsoft Foundry > Implement generative AI apps and agents by using Foundry.
Implement AI solutions by using Microsoft Foundry
Sample question 4
A travel agency's chat assistant gives short, generic replies when users type "Tell me about Lisbon." A developer is testing better user prompts. Which prompt is most likely to get a useful reply?
Plan a three-day Lisbon trip for a family with young children, as a bulleted list
Tell me about Lisbon, and please answer carefully and in as much detail as possible
Tell me about Lisbon, sent unchanged to a larger reasoning model deployment
Tell me about Lisbon, sent again with the temperature raised to a higher value
Show correct answer and explanation
Correct answer: A. Plan a three-day Lisbon trip for a family with young children, as a bulleted list
A is correct because a good prompt is clear and specific, adds context about the user and asks for a structure, which gives the model what it needs for a focused answer. B is incorrect because asking for care and detail adds length but no context about the traveler or the format wanted, so the reply stays generic. C is incorrect because a more capable model still has to guess what the user wants when the prompt gives no context or format. D is incorrect because temperature only changes how random the wording is; it does not tell the model what the user needs to know. Skills measured: Implement AI solutions by using Microsoft Foundry > Implement generative AI apps and agents by using Foundry.
Implement AI solutions by using Microsoft Foundry
Sample question 5
A help desk wants a model to label each support ticket as Billing, Technical or Account and reply with the label only, in the same style every time. Which prompt technique most directly shows the model the expected output?
Ask the people writing tickets to name a category in each one
Raise the max output tokens so the full label always fits
Include a few sample tickets and their labels in the prompt
Ask the model to explain its reasoning before giving a label
Show correct answer and explanation
Correct answer: C. Include a few sample tickets and their labels in the prompt
C is correct because examples of inputs paired with the desired outputs show the model the exact labels and style to use, without any retraining. A is incorrect because writers may pick wrong or different names, and the model still has no example of the expected output. B is incorrect because max output tokens only caps reply length; it does not show the model which labels or style to use. D is incorrect because an explanation makes replies longer and less uniform, while the help desk wants the label only. Skills measured: Implement AI solutions by using Microsoft Foundry > Implement generative AI apps and agents by using Foundry.
Implement AI solutions by using Microsoft Foundry
Sample question 6
A shopper asks a store's chat app about a red jacket, then types "Do you have the blue one in medium?" The model replies that it does not know which item is meant. The app builds each request itself and sends only the newest message. What should the developer change?
Move each new question into the system prompt instead of the user prompt
Increase the deployment's tokens-per-minute limit so more context is kept
Raise the temperature so the model can infer what the shopper meant
Include the earlier user and assistant turns in the input of each new request
Show correct answer and explanation
Correct answer: D. Include the earlier user and assistant turns in the input of each new request
D is correct because the model keeps no memory between calls, so the app must send the conversation history for the model to know that "the blue one" refers to the jacket. A is incorrect because changing where the question goes still leaves out the earlier turns that mention the jacket. B is incorrect because the rate limit sets how many tokens can be processed per minute; it does not store or add earlier turns. C is incorrect because temperature only makes word choice more or less random; the model cannot infer an item it was never sent. Skills measured: Implement AI solutions by using Microsoft Foundry > Implement generative AI apps and agents by using Foundry.
Implement AI solutions by using Microsoft Foundry
Sample question 7
An HR team builds a chat app that must answer staff questions about the leave policy, a two-page document the model has never seen. The policy changes a few times a year. What is the simplest way to make the answers follow the policy?
Lower the temperature so the model recalls the policy more exactly
Add the policy text to the system prompt and answer from it
Fine-tune the model on the policy document, then redeploy it
Ask staff to paste the leave policy into each question they send
Show correct answer and explanation
Correct answer: B. Add the policy text to the system prompt and answer from it
B is correct because adding the relevant text to the prompt grounds the answer in it, is cheap for a short document and is easy to update when the policy changes. A is incorrect because the model never saw the policy, so no setting can make it recall text that is not in its training or its prompt. C is incorrect because fine-tuning is costly for a two-page text and would have to be repeated every time the policy changes. D is incorrect because users may paste an old version or forget it, while the app can add the current text to every request itself. Skills measured: Implement AI solutions by using Microsoft Foundry > Implement generative AI apps and agents by using Foundry.
Implement AI solutions by using Microsoft Foundry
Sample question 8
A customer types "Do you ship to Canada?" into an online bookstore's chat assistant. In the request the app sends to the model, this text is the ___.
system prompt
user prompt
few-shot example
assistant message
Show correct answer and explanation
Correct answer: B. user prompt
B is correct because the user prompt is the question or instruction that asks for a specific response, here typed by the customer. A is incorrect because the system prompt is set by the application to define the assistant's behavior, tone and rules, not typed by the customer. C is incorrect because few-shot examples are sample inputs and outputs the developer adds to show the model a pattern, not the customer's live question. D is incorrect because assistant messages are the model's earlier replies, which the app may resend as part of the conversation history. Skills measured: Implement AI solutions by using Microsoft Foundry > Implement generative AI apps and agents by using Foundry.
Implement AI solutions by using Microsoft Foundry
Sample question 9
A developer's code reads the model's reply and saves the product name, price and color into a database, but the replies arrive in a different layout each time. To fix this, the system prompt should ___.
leave the format open so the model can choose the clearest layout
tell the model to answer in friendly, conversational paragraphs every time
name the exact fields to return, in a fixed layout, and show one sample reply
ask for the details together with a full explanation of each value
Show correct answer and explanation
Correct answer: C. name the exact fields to return, in a fixed layout, and show one sample reply
C is correct because asking for a specific structure and giving an example makes the reply follow the same layout each time, so code can read it. A is incorrect because letting the model choose is what produces a different layout on each reply. B is incorrect because free-flowing paragraphs put the values in different places, which is the problem the developer already has. D is incorrect because added explanations make the reply longer and harder for code to read, without fixing the layout. Skills measured: Implement AI solutions by using Microsoft Foundry > Implement generative AI apps and agents by using Foundry.
Implement AI solutions by using Microsoft Foundry
Sample question 10
Before asking a model to rewrite a product review as a short headline, a developer adds two sample reviews, each followed by the headline it should produce. This prompting technique is called ___.
zero-shot prompting
fine-tuning the model
grounding with retrieval
few-shot prompting
Show correct answer and explanation
Correct answer: D. few-shot prompting
D is correct because few-shot prompting places a small number of input and output examples in the prompt so the model follows the same pattern. A is incorrect because zero-shot prompting gives an instruction with no examples, while this prompt includes two samples. B is incorrect because fine-tuning trains the model on a dataset to change its parameters; examples in a prompt change nothing in the model. C is incorrect because retrieval adds documents found by a search to the prompt as facts, not worked examples of the output pattern. Skills measured: Implement AI solutions by using Microsoft Foundry > Implement generative AI apps and agents by using Foundry.
FlashGenius is an independent study resource and is not affiliated with or endorsed by Microsoft. Microsoft, Azure and Microsoft Foundry are trademarks of the Microsoft group of companies. 450 original practice questions.