AI-901 sample exam questions
15 exam-style questions for Microsoft AI-901: Azure AI Fundamentals, with answers and explanations. Take them as a timed practice exam first if you want a score out of 1000.
- You are using the Azure Speech SDK to develop a Python application that supports real-time spoken conversations.
Which Azure Speech class should you use to configure the connection to the Azure Speech service?- AAudioOutputConfig
- BSpeechSynthesizer
- CAudioConfig
- DSpeechConfig
Show answer
Correct answer: D
WhySpeechConfig holds the Speech resource key, region or endpoint, and language settings that every recognizer or synthesizer uses to connect to the service. AudioConfig and AudioOutputConfig only choose the microphone, speaker or file, and SpeechSynthesizer is the class that performs text to speech.
- A
- You need to create an AI agent in Microsoft Foundry that follows a specific role and behavior when responding to users.
What should you configure?- Asystem instructions
- Btemperature
- Ctokens per minute (TPM)
- Dmax completion tokens
Show answer
Correct answer: A
WhySystem instructions (the system message or agent instructions) define the agent's persona, role, tone and rules for how it responds. Temperature only controls randomness, TPM is a deployment rate limit, and max completion tokens just caps response length.
- A
- HOTSPOT
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.

System prompts can be used to authorize users. Yes / No A system prompt is used to reduce tokens per minute (TPM). Yes / No A system prompt guides the behavior of a generative AI model. Yes / No Show answer
- System prompts can be used to authorize users. No
- A system prompt is used to reduce tokens per minute (TPM). No
- A system prompt guides the behavior of a generative AI model. Yes
WhyA system prompt sets the model's role, tone and rules. It has no security power (authorization is done by identity and access control) and has nothing to do with the TPM rate limit.
- You are developing a web app that processes invoices to calculate expenses.
You need to extract structured fields, including nested values, from the invoices by using a defined schema.
What should you use?- Aan optical character recognition (OCR)-only document processing pipeline
- Ba transcription workflow in Azure Speech in Foundry Tools
- Can analyzer in Azure Content Understanding in Foundry Tools
- Dan Azure AI Search service
Show answer
Correct answer: C
WhyAn Azure Content Understanding analyzer lets you define a field schema, including nested objects and arrays, and returns structured values extracted from documents such as invoices. OCR alone returns only raw text, Speech transcription handles audio, and Azure AI Search indexes and searches content rather than extracting schema fields.
- A
- What are two purposes of instructions when prompting a generative AI model? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.- Adefines the agent’s role and behavior
- Bselects which model to use
- Cdefines the Azure region where inference occurs
- Ddefines the tokens per minute (TPM) allocation for the model
- Edefines constraints on the model’s responses
Show answer
Correct answer: A, E
WhyInstructions (the system prompt) tell the model what role to play and how to behave, and they set constraints such as tone, format, scope and topics to avoid. Model choice, the Azure region and the TPM quota are deployment settings, not something a prompt instruction controls.
- A
- HOTSPOT
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.

An AI generative model is retrained before performing each user request. Yes / No An AI agent responds by copying and pasting answers stored in a database. Yes / No An AI agent uses a generative AI model to establish actions based on user input. Yes / No Show answer
- An AI generative model is retrained before performing each user request. No
- An AI agent responds by copying and pasting answers stored in a database. No
- An AI agent uses a generative AI model to establish actions based on user input. Yes
WhyModels are trained once and then used as-is. Agents generate answers rather than copying stored ones, and use the model to decide which steps or tools to use.
- HOTSPOT
Select the answer that correctly completes the sentence.

Evaluating model outcomes across demographic groups to reduce bias is an example of the principle of accountability / fairness / privacy and security / transparency Show answer
- Evaluating model outcomes across demographic groups to reduce bias is an example of the principle of fairness
WhyFairness is about treating all groups equally, so comparing results across demographic groups to find and reduce bias is a fairness practice.
- You are developing an AI-powered customer support application.
Which task is an example of the Microsoft responsible AI principle of inclusiveness?- AEncrypt stored customer data and restrict access by using role-based controls.
- BEvaluate model outputs across demographic groups to reduce bias.
- CDesign the interface to support multiple languages and screen readers.
- DProvide explanations about how predictions are generated.
Show answer
Correct answer: C
WhyInclusiveness means designing AI so that people of all abilities and backgrounds can use it, for example multiple languages and screen-reader support. Encryption and access control belong to privacy and security, testing across demographic groups is fairness, and explaining predictions is transparency.
- A
- You have a Microsoft Foundry project that contains a vision-enabled model deployment.
You need to develop an application that sends a message containing text and an image URL. The solution must ensure the quickest response time.
Which message structure should you include in the request?- Aa system message that includes both a text item and an image item in the content array
- Ba system message that includes only a text item and sends an image item in a separate request
- Ca user message that includes only a text item and sends an image item in a separate request
- Da user message that includes both a text item and an image item in the content array
Show answer
Correct answer: D
WhyWith a vision-enabled chat model you send one user message whose content array holds both a text part and an image_url part, so the model handles both in a single call. Splitting them into separate requests adds round trips, and the system message is meant for instructions, not user-supplied images.
- A
- You are developing an application that processes voicemail recordings by using Azure Content Understanding in Foundry Tools.
Which feature does Azure Content Understanding use to convert audio to text?- Akey phrase extraction
- Btranscription
- CVoice Live
- Doptical character recognition (OCR)
Show answer
Correct answer: B
WhyContent Understanding processes audio by first running transcription (speech to text, with options such as speaker diarization) and then extracting fields from the transcript. OCR reads text from images and documents, key phrase extraction works on text that already exists, and Voice Live is a real-time voice agent API.
- A
- You are developing an application that extracts fields from PDFs by using Azure Content Understanding in Foundry Tools.
You need to use the Python SDK to submit a PDF for analysis and retrieve the extraction results.
What should you do?- ACall analyze() to return the extracted fields synchronously in the same request.
- BSubmit the PDF to an analyzer and read the results from the request headers.
- CCall begin_analyze(), and then call poller.result() to retrieve the results.
- DUse optical character recognition (OCR) to extract text from the PDF and map the fields in the code.
Show answer
Correct answer: C
WhyContent Understanding analysis is a long-running operation, so the Python SDK's begin_analyze() returns a poller and poller.result() waits for the operation to finish and returns the extracted fields. Results are not returned synchronously or in the response headers, and plain OCR with hand-written mapping skips the analyzer.
- A
- HOTSPOT
Select the answer that correctly completes the sentence.

A multimodal model analyzes images to detect objects / creates new visual content based on text prompts / organizes structured numerical data into predictive categories / uses pattern matching to retrieve similar images from a fixed database Show answer
- A multimodal model creates new visual content based on text prompts
WhyA multimodal generative model works across text and images, for example generating an image from a text description. Object detection is classic computer vision and categories from numbers is classification.
- HOTSPOT
Select the answer that correctly completes the sentence.

A virtual assistant that converts spoken customer requests into written text relies on a ... workload. key phrase extraction / Natural Language Understanding (NLU) / speech / text analysis Show answer
- A virtual assistant that converts spoken customer requests into written text relies on a ... workload. speech
WhyTurning audio into text is speech recognition (speech to text). The text-based workloads only start after the speech is transcribed.
- Which action can be performed by using the Azure Vision in Foundry Tools service?
- Acreating thumbnails for training videos
- Bextracting key phrases from documents
- Cidentifying breeds of animals in live video streams
- Dextracting data from handwritten letters
Show answer
Correct answer: D
WhyThe community answer A is wrong because thumbnails and keyframes for videos come from Azure AI Video Indexer, and Vision's smart thumbnails work only on still images. Azure Vision's OCR (Read) feature pulls printed and handwritten text out of images such as scanned letters. Key phrases come from Azure Language, and breed identification in live video would need a custom model.
- A
- Which feature of the Azure Language in Foundry Tools service should you use to automate the masking of names and phone numbers in text data?
- APersonally Identifiable Information (PII) detection
- Bcustom text classification
- Centity linking
- Dcustom named entity recognition (NER)
Show answer
Correct answer: A
WhyPII detection in Azure Language finds personal data such as names, phone numbers and email addresses and returns redacted text with those values masked. Entity linking maps entities to Wikipedia entries, while custom NER and custom text classification need you to label and train your own models and do not redact anything.
- A