AI-901 Azure AI Fundamentals Study Guide & Exam Questions

Free practice exam

AI-901 Practice Exam: 21 Free Exam Questions

Test yourself on 21 exam questions picked from every domain of the study guide. You get your score per domain at the end, with every answer explained.

  • 21 exam questions
  • 7 domains
  • About 25 minutes
  • No account needed

One question at a time, like the real exam: results and explanations come after the last question. Nothing you answer is saved.

What the exam covers

Exam domainExam questions
1. Part 1: Responsible AI: Fairness, Safety, Privacy, Inclusiveness, Transparency and Accountability3
2. Part 2: Generative AI Models, Model Selection and Deployment Options3
3. Part 3: AI Workloads: Generative AI, Agents, Text, Speech, Vision and Information Extraction3
4. Part 4: Generative AI Apps and Agents in Microsoft Foundry4
5. Part 5: Text Analysis and Speech Solutions with Foundry Tools3
6. Part 6: Computer Vision and Image Generation in Microsoft Foundry3
7. Part 7: Information Extraction with Azure Content Understanding2

The 21 exam questions

Read them through, or start the exam to answer them and see how you score.

Your company is reviewing good practice for AI use. Connect each activity with the responsible AI principle it shows.

1. Match each practice to the Microsoft responsible AI principle it exemplifies.
  • Reviewing model results to make sure choices do not disadvantage particular demographic groups
  • Scrambling private customer records and limiting system entry to approved staff
  • Telling people they are dealing with an AI and describing what it can and cannot do
  • Exercising AI behavior across varied situations to curb surprise breakdowns
  • Accountability
  • Fairness
  • Inclusiveness
  • Privacy and security
  • Reliability and safety
  • Transparency
2. You are building a support assistant driven by AI. Which activity demonstrates the Microsoft responsible AI principle of inclusiveness?
  • Protect saved client information with encryption and limit who can open it through role-based access.
  • Review model results across population segments to curb skew.
  • Build the interface to handle several languages and work with screen readers.
  • Explain how the system arrives at its predictions.
3. Keeping people in charge of machine-made choices, with reviewers checking the results and owning the final output, illustrates the Microsoft responsible AI principle of ____.

Complete the sentence about responsible AI.

  • accountability
  • fairness
  • privacy and security
  • transparency
4. Foundry evaluators remove the need to set token caps.
  • True
  • False
5. Foundry evaluators are able to judge how good and how safe a generative model's answers are.
  • True
  • False
6. Foundry evaluators will by themselves retrain a live generative model once they notice defects.
  • True
  • False
7. A virtual assistant that turns spoken customer requests into written text depends on a ____ workload.

Complete the sentence.

  • key phrase extraction
  • Natural Language Understanding (NLU)
  • speech
  • text analysis
8. Your team handles incoming support mail and wants an AI approach that automatically spots references to individuals, companies and places inside the messages. Which text-analysis capability fits this need?
  • Named Entity Recognition (NER)
  • key phrase extraction
  • sentiment analysis
  • summarization
9. Which task is possible with the Azure Vision in Foundry Tools service?
  • creating thumbnails for training videos
  • extracting key phrases from documents
  • identifying breeds of animals in live video streams
  • extracting data from handwritten letters
10. What are two purposes of instructions when prompting a generative AI model?
  • sets the role and conduct the agent follows
  • picks the model that will be called
  • sets the Azure region that runs inference
  • sets the tokens-per-minute (TPM) quota assigned to the model
  • sets limits that shape the replies of the model
11. Your Microsoft Foundry project holds a deployed generative model that you have tried in the playground. Now you want a custom program to query that deployment. What must the program supply when invoking the model?
  • The exported history of the playground test session
  • The dataset the model was trained on
  • The Foundry project display name
  • The model endpoint and authentication credentials

Azure OpenAI resource resource1 is connected to project project1. On that resource a gpt-4.1-mini model is published through a deployment called my-mini-gpt. The app must reach that deployment.

client = OpenAI(
    api_key="...",
    base_url="https://[1].openai.azure.com/openai/v1/"
)
response = client.responses.create(
    model="[2]",
    ...
)
12. To reach that deployment, the host in the endpoint address should be ____ and the model identifier in the request should be ____.
  • gpt-4.1-mini
  • my-mini-gpt
  • project1
  • resource1
13. You are building a simple application that uses the Microsoft Foundry SDK to send chat prompts to a model. Which three items must you supply in code to run it?
  • the model deployment name
  • the task type
  • the Foundry project display name
  • Microsoft Entra ID credentials
  • the endpoint URL
14. Which feature of the Azure Language in Foundry Tools service should you use to automatically mask names and phone numbers in text data?
  • Personally Identifiable Information (PII) detection
  • custom text classification
  • entity linking
  • custom named entity recognition (NER)

You are writing an app with Azure Speech in Foundry Tools that turns written text into spoken sound and stores the generated sound in a file.

import azure.cognitiveservices.speech as speechsdk
...
speech_config = speechsdk.SpeechConfig(subscription=key, region=region)
audio_config = speechsdk.audio.[1]

synthesizer = speechsdk.SpeechSynthesizer(
    speech_config=speech_config,
    audio_config=audio_config
)
...
15. The output destination that writes the synthesized speech directly to a file is ____.
  • AudioOutputConfig(filename="output.wav")
  • AudioOutputConfig(stream)
  • AudioStreamFormat(wave_stream_format=AudioStreamWaveFormat.PCM)

You are creating a voice app with Azure Speech in Foundry Tools that listens for short spoken commands. Every command is one brief utterance and the app needs its text as soon as the speaker pauses.

import azure.cognitiveservices.speech as speechsdk
...
speech_config = speechsdk.SpeechConfig(subscription=key, region=region)
recognizer = speechsdk.SpeechRecognizer(speech_config=speech_config)
[1]
...
16. The call that listens for one brief utterance and returns its text once the speaker stops is ____.
  • recognizer.recognize_once()
  • recognizer.speak_text_async("Ready")
  • recognizer.start_continuous_recognition()
  • recognizer.start_keyword_recognition()
17. Your Foundry project includes a deployment of a model that can interpret pictures. You intend to build a program that dispatches a single prompt holding wording plus a picture link, aiming for the fastest reply. What message layout belongs in the call?
  • a system message that includes both a text item and an image item in the content array
  • a system message that includes only a text item and sends an image item in a separate request
  • a user message that includes only a text item and sends an image item in a separate request
  • a user message that includes both a text item and an image item in the content array

You have rolled out gpt-image-1.5 in Microsoft Foundry and need your program to turn a typed request into a fresh picture through the OpenAI Images API.

18. response = client.____( model="gpt-image-1.5", prompt=prompt )

Choose the method that completes the Python statement.

  • chat.completions.create
  • images.create
  • images.generate
  • responses.create
19. You have a Microsoft Foundry project with a vision-capable GPT model deployment. You must build an application that sends an image together with a text question to the model in one request. What should you use?
  • the Azure OpenAI Images API endpoint only
  • the Speech to text REST API
  • the Image Analysis REST API
  • the Azure OpenAI Responses API
20. You are building a web app that handles invoices to work out spending. The app must pull structured fields, including nested values, from the invoices using a fixed schema. What should you use?
  • a document pipeline that uses only optical character recognition (OCR)
  • a transcription workflow with Azure Speech in Foundry Tools
  • an analyzer in Azure Content Understanding in Foundry Tools
  • an Azure AI Search service
21. You are crafting a program that pulls structured values from PDF files with Azure Content Understanding in Foundry Tools. Using the Python SDK, you must submit a PDF for review and fetch what was found. What pattern should you follow?
  • Call analyze() to return the extracted fields synchronously in the same request.
  • Submit the PDF to an analyzer and read the results from the request headers.
  • Call begin_analyze(), and then call poller.result() to retrieve the results.
  • Use optical character recognition (OCR) to extract text from the PDF and map the fields in the code.