AI-901
Microsoft Azure AI Fundamentals Free Microsoft AI-901 Practice Test
Prepare for the Microsoft Azure AI Fundamentals (AI-901) certification exam with this free AI-901 practice test. Challenge yourself with realistic exam-style questions covering Azure AI services, machine learning, computer vision, natural language processing, and generative AI. Receive instant results and compare your performance with other candidates.
About This Practice Exam
This free AI-901 Certification Practice Exam is designed to help candidates assess their readiness for the Microsoft Azure AI Fundamentals certification. The exam covers core AI concepts, machine learning fundamentals, computer vision, natural language processing, and generative AI services in Azure.
Skills Measured
✅ Describe Artificial Intelligence Workloads and Considerations
✅ Describe Fundamental Principles of Machine Learning
✅ Describe Features of Computer Vision Workloads
✅ Describe Features of Natural Language Processing Workloads
✅ Describe Features of Generative AI Workloads
Practice Exam Features
✅ Exam-Style Questions
✅ Instant Results
✅ Free Access
✅ Mobile Friendly
✅ Certification-Focused Content
🏆 AI-901 Top Performers
Compare your performance with other Microsoft Azure AI Fundamentals candidates. Complete the practice exam to earn your place on the leaderboard.
Your highest score will automatically appear on the leaderboard after completing the exam.
Start Your Free Practice Exam
Good luck with your AI-901 preparation.
Report a question
Exam Instructions Read each question carefully. Select the best answer. You may review previous questions before submission. Use the 📌 bookmark icon beside the question number to mark difficult questions for review. Detailed explanations are available after answering each question, while your final score will be displayed at the end of the exam. The quiz will automatically submit when the timer expires. Tip: Mark questions you're unsure about and review them before finishing the exam.
Good luck!
Time is up.
Your quiz has been submitted automatically.
A1-901 Free Certification Practice Exam
Get exam-ready for Microsoft Azure AI Fundamentals (AI-901). Practice with certification-focused questions, identify knowledge gaps, and receive instant results to measure your readiness before taking the official certification exam.
1 / 40
1. A solution must meet two requirements:
- show whether each customer review is positive or negative
- generate a short condensed version of a long meeting transcript
Which TWO techniques should you use? (Select TWO.)
Check
❌ Incorrect. Review the explanation below.
✅ Correct! Review the explanation below.
→ Why the correct answer is right:
Sentiment analysis is needed for the customer-review requirement because it's the technique that assigns positive, neutral, or negative sentiment labels. Summarization is needed for the transcript requirement because it produces a condensed version of longer content. The question combines two different text-analysis goals: emotional polarity and shortening content, requiring two distinct techniques.
→ Why the other options are wrong:
Option A: Keyword extraction identifies main concepts/talking points (helps highlight themes), but doesn't directly tell if review is positive/negative OR generate condensed readable transcript version
Option C: Entity detection categorizes named items (people, locations, organizations) for structured info extraction, but neither requirement asks for named entities (doesn't replace polarity detection or create summary)
Option E: Detect language is preprocessing for multilingual systems (tells what language text is written in), not sentiment classification or summarization (out of scope for requirements)
Quick Memory Tip 🧠
"Sentiment = positive/negative, Summarization = condensed transcript"
2 / 40
2. You want a Python app to return the overall sentiment for each review.
Snippet:
from azure.core.credentials import AzureKeyCredential
from azure.ai.textanalytics import TextAnalyticsClient
client = TextAnalyticsClient(endpoint=endpoint, credential=AzureKeyCredential(key))
documents = ["The room was clean, but check-in was slow."]
result = client.________(documents)
for doc in result:
print(doc.sentiment)
Which code should replace the missing section?
❌ Incorrect. Review the explanation below.
✅ Correct! Review the explanation below.
→ Why the correct answer is right:
The correct method is analyze_sentiment because the code needs to return doc.sentiment for each input document. Microsoft's Python SDK documentation shows that analyze_sentiment determines whether text is positive, negative, neutral, or mixed and provides sentiment-focused results. The output property doc.sentiment is the biggest clue matching this method.
→ Why the other options are wrong:
Option A: extract_key_phrases identifies main talking points (surfaces concepts), not positive/negative attitude (would use doc.key_phrases, not doc.sentiment)
Option B: recognize_entities returns categorized entities (people, organizations, locations, dates, quantities), not review favorability (entity detection ≠ sentiment assessment)
Option D: detect_language identifies text language (helpful for multilingual preprocessing), not emotional polarity (doesn't calculate sentiment)
Quick Memory Tip 🧠
"analyze_sentiment = doc.sentiment (positive/negative/neutral)"
3 / 40
3. Which statement best describes audio_url in a multimodal chat request?
❌ Incorrect. Review the explanation below.
✅ Correct! Review the explanation below.
→ Why the correct answer is right:
Microsoft's multimodal chat completions documentation states that the model can read audio content from an accessible cloud location by passing the payload as audio_url. The example shows a user content item with "type": "audio_url" and a URL pointing to an MP3 file. audio_url is an input method, the URL-based alternative to sending encoded audio inline with input_audio.
→ Why the other options are wrong:
Option A: Requesting spoken output is handled through response settings (modalities=["text", "audio"] + audio block), not audio_url (audio_url is about input transport, not output configuration)
Option B: audio_url doesn't deploy anything (deployment done earlier under Models + endpoints; audio_url is just request payload after deployment)
Option D: Recording microphone input is Chat playground capability, not what audio_url field does in API request (audio_url points to hosted audio file)
Quick Memory Tip 🧠
"audio_url = cloud location audio input"
4 / 40
4. A manager wants a short condensed version of a long incident report. The most appropriate text analysis technique is ________.
Which answer best completes the sentence?
❌ Incorrect. Review the explanation below.
✅ Correct! Review the explanation below.
→ Why the correct answer is right:
Summarization is the right answer because the requirement is to create a shorter version of longer content. Microsoft documentation describes summarization as a capability for producing summaries, and extractive summarization specifically identifies key sentences that convey the main idea of a document. This directly matches the manager's need for a readable short version.
→ Why the other options are wrong:
Option A: Keyword extraction returns important phrases, not condensed narrative/sentence-based overview (list of phrases isn't enough for readable short version)
Option B: Entity detection identifies named elements (people, locations, organizations) for metadata/indexing, not shortened retelling of document
Option C: Sentiment analysis evaluates positive/neutral/negative (useful for reviews/feedback), but incident report summary is about condensing information, not assigning emotional tone
Quick Memory Tip 🧠
"Summarization = short condensed version of long content"
5 / 40
5. Which THREE pairs are correctly matched? (Select THREE.)
Check
❌ Incorrect. Review the explanation below.
✅ Correct! Review the explanation below.
→ Why the correct answer is right:
A, C, and E are correct because they match Microsoft's fairness guidance closely. Fairness is about treating similar groups fairly, using representative or real-world data for evaluation, and checking whether model behavior differs across groups that might be sensitive or impacted differently. These are the distinctions AI-901 expects candidates to recognize.
→ Why the other options are wrong:
Option B: Transparency is about making AI systems understandable (capabilities, limitations, behavior); encrypting data is privacy/security, not transparency
Option D: Accountability is about people remaining responsible for AI systems; increasing GPU capacity is infrastructure scaling, not accountability mechanism
Option F: Reliability/safety focuses on stable/safe/robust behavior; hiding demographic results makes fairness assessment harder (demographic review is fairness evaluation, not safety)
Quick Memory Tip 🧠
"Fairness = similar groups treated equally + representative data + compare across groups"
6 / 40
6. Which THREE pairs are correctly matched? (Select THREE.)
Check
❌ Incorrect. Review the explanation below.
✅ Correct! Review the explanation below.
→ Why the correct answer is right:
Keyword extraction is used to identify main concepts in text, entity detection identifies and categorizes named items, and summarization condenses longer content. Those three pairings align directly with Microsoft's descriptions of the corresponding Azure Language capabilities. These are the key distinctions for understanding text analysis techniques.
→ Why the other options are wrong:
Option B: Sentiment analysis determines emotional tone (positive/neutral/negative), not categorizing people/places/organizations (entity detection does that)
Option E: Keyword extraction identifies main concepts/talking points, not polarity labels (sentiment analysis produces sentiment labels and confidence scores)
Option F: Summarization generates shorter representation of content, not extracting/categorizing named entities (entity detection identifies organizations/locations)
Quick Memory Tip 🧠
"Keywords = talking points, Entity = named items, Summarization = condensed text"
7 / 40
7. Even when an organization uses managed AI services, the organization remains ________ for how the AI solution is used and governed.
Which answer best completes the sentence?
Select only one answer.
❌ Incorrect. Review the explanation below.
✅ Correct! Review the explanation below.
→ Why the correct answer is right:
The organization remains accountable for how the AI solution is applied, governed, monitored, and reviewed, even when parts of the technology stack are managed by a provider. Microsoft's responsible AI guidance emphasizes that people and organizations must remain answerable for the behavior and use of systems they deploy. Governance boards, sign-off processes, documented practices, and human oversight still matter with managed services.
→ Why the other options are wrong:
Option A: Anonymous contradicts accountability (accountability requires named owners, approvers, documented responsibilities; anonymous governance makes review harder)
Option B: Unbiased relates to fairness, not accountability (can attempt fairness improvements but still lack clear accountability processes)
Option C: Encrypted is privacy/security (protects data), not accountability (doesn't establish who is responsible for approvals, monitoring, incident response)
Quick Memory Tip 🧠
"Managed services ≠ organization escapes accountability"
8 / 40
8. A bank uses AI to recommend whether a loan application should be escalated for manual review. Which design choice best reflects accountability?
Select only one answer.
❌ Incorrect. Review the explanation below.
✅ Correct! Review the explanation below.
→ Why the correct answer is right:
Requiring a human reviewer for high-impact cases best reflects accountability because it preserves meaningful human control over decisions that can materially affect people. Microsoft states AI systems should not be the final authority on decisions affecting people's lives and humans should remain in control of highly autonomous systems. Accountability is about defining who reviews outcomes, who can override them, and who is responsible.
→ Why the other options are wrong:
Option A: Hiding escalation rules works against good governance and weakens oversight (reviewers need context for meaningful review; makes accountable oversight harder)
Option B: Replacing all reviewers with automation is opposite of accountability (removes human control, makes organizations defer responsibility to model)
Option C: Short data retention relates to privacy practices, not accountability (doesn't establish owners, sign-off process, or monitoring)
Quick Memory Tip 🧠
"Accountability = human reviewer for high-impact decisions"
9 / 40
9. For each of the following statements, determine whether the statement is correct.
Statement 1: In an accountable AI solution, the AI system should be the final authority for decisions that affect people's lives.
Statement 2: Logging who published a model and why it changed supports accountability.
Statement 3: Governance sign-off before deployment supports accountability.
Select the correct combination.
❌ Incorrect. Review the explanation below.
✅ Correct! Review the explanation below.
→ Why the correct answer is right:
Statement 1 is incorrect. Microsoft's accountability guidance specifically says AI systems should not be the final authority on decisions that affect people's lives and that humans should maintain meaningful control over highly autonomous systems. Statements 2 and 3 are correct. Microsoft identifies lineage and governance data (who published models, why changes were made, when deployed) as accountability-supporting practices, and recommends governance structures, review boards, reporting mandates, and sign-off processes.
→ Why the other options are wrong:
Option A: Marks Statement 1 as Yes (main problem; accountability ≠ handing authority to AI) and Statement 3 as No (wrong; governance sign-off formalizes responsibility)
Option B: Still marks Statement 1 as Yes (wrong) and Statement 2 as No (wrong; logging supports accountability through traceability)
Option D: Correctly marks Statement 1 as No and Statement 3 as Yes, but incorrectly marks Statement 2 as No (logging who changed model supports accountability)
Quick Memory Tip 🧠
"Accountability = humans control, not AI final authority + logging + governance sign-off"
10 / 40
10. In responsible AI, ________ means that people remain answerable for how an AI system is designed, deployed, and monitored.
Which answer best completes the sentence?
Select only one answer.
❌ Incorrect. Review the explanation below.
✅ Correct! Review the explanation below.
→ Why the correct answer is right:
Accountability is the principle that best fits this sentence. Microsoft describes accountability as requiring the people who design and deploy AI systems to remain responsible for how those systems operate, including how decisions are reviewed and corrected when needed. This shows up through governance, documented responsibilities, monitoring, review, and mechanisms that preserve human control over important decisions.
→ Why the other options are wrong:
Option A: Fairness is about avoiding unjust differences in treatment across similar people/groups (asks whether system behaves equitably, not about ownership/answerability)
Option B: Transparency is about helping people understand how AI decisions are made (explainability, disclosure), but doesn't establish who is responsible for system actions
Option D: Inclusiveness focuses on designing AI systems usable by people with diverse needs/abilities (accessibility/participation), not ownership of outcomes and governance
Quick Memory Tip 🧠
"Accountability = people remain answerable for AI system"
11 / 40
11. Which TWO situations are the strongest indicators of a fairness risk in an AI solution? (Select TWO.)
Check
❌ Incorrect. Review the explanation below.
✅ Correct! Review the explanation below.
→ Why the correct answer is right:
Both situations point directly to fairness risk. Different outcomes for similar applicants suggest unequal treatment, and poor representation of an affected group in test data makes it harder to evaluate whether the system performs equitably in the real world. These are classic AI-901 fairness signals. Microsoft's material ties fairness to treatment across groups and stresses the value of representative real-world data when evaluating AI systems.
→ Why the other options are wrong:
Option B: TLS is a security control for data in transit (privacy/security), not a fairness indicator (secure systems can still show biased outcomes)
Option D: Dark theme is a UI preference, not a fairness indicator (doesn't tell you about bias, representation, or unequal treatment)
Option E: Version number in model card supports documentation/governance (accountability/traceability), but doesn't reveal unfair behavior or equitable treatment
Quick Memory Tip 🧠
"Fairness risk = different outcomes + poor representation in test data"
12 / 40
12. You copied a Python sample from the playground Code tab after deploying a model named ops-assistant.
Snippet:
response = client.responses.create(
# missing fragment
input="Summarize this incident."
)
Which code should replace the missing section?
❌ Incorrect. Review the explanation below.
✅ Correct! Review the explanation below.
→ Why the correct answer is right:
model="ops-assistant" is correct because Microsoft documents that the deployment name is used in the model parameter during inference. The Code tab exists to show programmatic access details for the deployment you created in the portal, so this is the correct argument to target that deployment. This tests the small implementation distinction between portal deployment and client call mapping.
→ Why the other options are wrong:
Option A: endpoint is useful (viewable from deployment details page), but deployment guide specifically says deployment name is used in the model parameter, not endpoint
Option B: deployment_type is a configuration choice, not the field that identifies which deployed model handles inference requests
Option C: project is a valid Foundry concept but Microsoft doesn't describe project name as the inference argument that routes requests to deployed model
Quick Memory Tip 🧠
"model parameter = deployment name for inference routing"
13 / 40
13. A recruiting model consistently scores candidates from one age group lower, even when qualifications are similar.
Which action is the best fairness-focused response?
Select only one answer.
❌ Incorrect. Review the explanation below.
✅ Correct! Review the explanation below.
→ Why the correct answer is right:
Evaluating model results across age-based groups is the best fairness-focused response because fairness issues are identified by checking whether similar people or groups are being affected differently. Microsoft's responsible AI guidance points to fairness assessment across sensitive groups as an important way to understand model behavior. This is the most relevant next step for potential bias in outcomes.
→ Why the other options are wrong:
Option A: Increasing model endpoints improves scale/availability but doesn't reveal whether system disadvantages one age group (operational, not fairness evaluation)
Option B: Removing audit trail reduces oversight rather than improving it (auditability supports accountability and bias investigation)
Option C: Publishing source code increases openness but doesn't directly test whether model treats age groups fairly (transparency ≠ fairness)
Quick Memory Tip 🧠
"Fairness issue = evaluate results across affected groups"
14 / 40
14. Which THREE pairs are correctly matched? (Select THREE.)
Check
❌ Incorrect. Review the explanation below.
✅ Correct! Review the explanation below.
→ Why the correct answer is right:
Those three pairings match Microsoft's documented Foundry workflow. You get the OpenAI-compatible client from the project client, use the deployment name in model, and create a conversation for multi-turn chat when needed.
→ Why the other options are wrong:
Option A: AIProjectClient is the project client, not the final chat client for direct responses.
Option C: previous_response_id is not required for the first request.
Option E: az login authenticates you; it does not create deployments.
Quick Memory Tip 🧠
Project client → get OpenAI client → use deployment name.
15 / 40
15. For each of the following statements, determine whether the statement is correct.
Statement 1: Speech recognition converts spoken audio into text.
Statement 2: Text to speech generates synthesized audio from text.
Statement 3: Speaker diarization is used to control pitch and speaking rate of generated audio.
Select the correct combination.
❌ Incorrect. Review the explanation below.
✅ Correct! Review the explanation below.
→ Why the correct answer is right:
Speech recognition turns audio into text, and text to speech turns text into audio. Speaker diarization does not control voice style; it separates speakers in audio.
→ Why the other options are wrong:
Option B: It wrongly says text to speech is not correct.
Option C: It wrongly denies speech recognition.
Option D: It incorrectly denies both the recognition and synthesis statements.
Quick Memory Tip 🧠
Diarization = who spoke, not how the voice sounds.
16 / 40
16. To fine-tune pitch, speaking rate, or pronunciation for synthesized voice output, submit ________.
❌ Incorrect. Review the explanation below.
✅ Correct! Review the explanation below.
→ Why the correct answer is right:
SSML is used to control synthesized speech details like pitch, speaking rate, pronunciation, and voice style. It is the standard customization mechanism for text-to-speech output.
→ Why the other options are wrong:
Option B: Speaker diarization separates speakers in audio.
Option C: OCR extracts text from images.
Option D: Batch transcription converts prerecorded speech to text.
Quick Memory Tip 🧠
Voice styling = SSML.
17 / 40
17. In the Python quickstart, after analyzing an image with prebuilt-imageSearch, the code reads the ________ field to print the image description.
❌ Incorrect. Review the explanation below.
✅ Correct! Review the explanation below.
→ Why the correct answer is right:
The quickstart uses prebuilt-imageSearch and then reads the Summary field to print the image description. That is the field Microsoft shows for the returned description output.
→ Why the other options are wrong:
Option A: Transcript is for audio/video speech results.
Option B: ChartType belongs to the custom chart-image schema.
Option C: Sentiment is used in other analysis scenarios, not this one.
Quick Memory Tip 🧠
Image quickstart description = Summary.
18 / 40
18. Which TWO capabilities are part of speech recognition? (Select TWO.)
Check
❌ Incorrect. Review the explanation below.
✅ Correct! Review the explanation below.
→ Why the correct answer is right:
Speech recognition in Azure Speech includes converting spoken audio into text, and Microsoft lists both real-time transcription and batch transcription as core speech-to-text features. Real-time transcription is suited to live inputs, while batch transcription is designed for larger volumes of prerecorded audio.
→ Why the other options are wrong:
Option C: Neural voice output is part of text to speech.
Option D: SSML customization is used for synthesized speech.
Option E: Audio synthesis is also speech generation, not recognition.
Quick Memory Tip 🧠
Recognition = transcription.
19 / 40
19. A support center wants to convert live customer calls into written text for review.
❌ Incorrect. Review the explanation below.
✅ Correct! Review the explanation below.
→ Why the correct answer is right:
Speech recognition is the capability that turns spoken audio into text. In Azure Speech, that workload is handled by speech to text, which supports converting live audio streams and prerecorded audio into written output.
→ Why the other options are wrong:
Option A: Text to Speech is a synthesis feature, not a recognition feature.
Option C: Speech Translation is related to speech input, but its main goal is translation across languages rather than plain transcription in the same language.
Option D: Entity recognition is a text analysis task, not a speech recognition capability.
Quick Memory Tip 🧠
Calls to text = speech to text.
20 / 40
20. A model that has not been customized or fine-tuned for a specific use case is called a ________.
❌ Incorrect. Review the explanation below.
✅ Correct! Review the explanation below.
→ Why the correct answer is right:
A base model is the original model before task-specific customization. It has not yet been fine-tuned for a particular business use case. That is the term Microsoft uses for the starting point of many generative AI solutions.
→ Why the other options are wrong:
Option A: A grounded response is an output supported by data, not a model type.
Option B: An agent session is an interaction context, not a model.
Option D: A vector store holds embeddings, not a model definition.
Quick Memory Tip 🧠
Untuned model = base model.
21 / 40
21. Which TWO statements are true about how generative AI models work? (Select TWO.)
Check
❌ Incorrect. Review the explanation below.
✅ Correct! Review the explanation below.
→ Why the correct answer is right:
Prompts shape the model's response, and fine-tuning can change the model's weights for a task. Those are both true descriptions of how generative AI systems are guided and adapted. The other statements are too absolute or describe different technologies.
→ Why the other options are wrong:
Option B: Outputs are not guaranteed to be identical in every context.
Option D: Base models do not automatically know private company data.
Option E: Embeddings are semantic vectors, not relational table rows.
Quick Memory Tip 🧠
Prompts guide output; fine-tuning changes weights.
22 / 40
22. After you retrieve the OpenAI-compatible client, a basic Responses API call sends the user prompt in the ________ parameter.
❌ Incorrect. Review the explanation below.
✅ Correct! Review the explanation below.
→ Why the correct answer is right:
Microsoft's Responses API examples use input for the user prompt text. So the prompt goes in the input parameter when you call responses.create(...). This is the documented pattern for simple requests.
→ Why the other options are wrong:
Option B: prompt is a common word, but not the documented field here.
Option C: message belongs to a different request style.
Option D: content is used in some message structures, not this top-level field.
Quick Memory Tip 🧠
Responses API prompt field = input.
23 / 40
23. You are building a lightweight app that listens in English and returns translated text in French.
translation_config = speechsdk.translation.SpeechTranslationConfig(
subscription=speech_key,
region=service_region
)
translation_config.speech_recognition_language = "en-US"
translation_config._______("fr")
❌ Incorrect. Review the explanation below.
✅ Correct! Review the explanation below.
→ Why the correct answer is right:
To translate from English into French, you add French as a target language on the translation configuration. The app listens in one language and adds one or more output target languages before creating the recognizer. That is the correct setup pattern.
→ Why the other options are wrong:
Option A: speak_text_async is for synthesis, not translation setup.
Option B: recognize_once_async is a recognizer method, not a configuration method.
Option C: remove_target_language does the opposite of what this app needs.
Quick Memory Tip 🧠
Translation setup = add target language.
24 / 40
24. An AI app should continue to behave safely when users submit unexpected or adversarial prompts. This is a reliability and safety consideration because the system must resist ________.
❌ Incorrect. Review the explanation below.
✅ Correct! Review the explanation below.
→ Why the correct answer is right:
Reliability and safety includes resisting harmful manipulation from adversarial or unexpected prompts. In other words, the system should remain safe and dependable even when someone tries to push it into bad behavior. That is exactly what this sentence is describing.
→ Why the other options are wrong:
Option A: Model cards are documentation, not something the system resists.
Option B: Stakeholder mapping is part of risk analysis, not a threat the model resists.
Option D: Explainability relates more to transparency than to resisting manipulation.
Quick Memory Tip 🧠
Adversarial prompts = harmful manipulation.
25 / 40
25. For each of the following statements, determine whether the statement is correct.
Statement 1: Generative AI models are trained on large datasets to learn patterns.
Statement 2: A base model is already customized for a specific use case.
Statement 3: Embeddings can be used to represent semantic similarity between inputs.
Select the correct combination.
❌ Incorrect. Review the explanation below.
✅ Correct! Review the explanation below.
→ Why the correct answer is right:
Generative AI models learn patterns from large datasets. Base models are not yet customized for a specific use case, and embeddings are useful for representing semantic similarity. So the right pattern is Yes / No / Yes.
→ Why the other options are wrong:
Option A: It wrongly claims a base model is already customized.
Option C: It wrongly denies that generative AI learns patterns from large datasets.
Option D: It wrongly denies both the training and embedding statements.
Quick Memory Tip 🧠
Base model = not customized yet.
26 / 40
26. During text generation, a generative AI model usually predicts one ________ at a time based on the prompt and the text already generated.
❌ Incorrect. Review the explanation below.
✅ Correct! Review the explanation below.
→ Why the correct answer is right:
Generative language models work token by token. A token is a chunk of text, and the model predicts the next token using the prompt and everything it has generated so far. That step-by-step process is what makes language generation possible.
→ Why the other options are wrong:
Option A: Tables are output formats, not generation units.
Option B: Image layers belong to image generation, not text generation.
Option D: A schema is a structure, not the item predicted during generation.
Quick Memory Tip 🧠
Text generation is token-by-token.
27 / 40
27. A team is building an AI solution that summarizes medical notes for clinicians. Which consideration is most important for reliability and safety?
❌ Incorrect. Review the explanation below.
✅ Correct! Review the explanation below.
→ Why the correct answer is right:
Medical summarization is a sensitive scenario. The most important reliability-and-safety step is to test how the system behaves in high-risk, unusual, or potentially harmful situations before it goes live. That is how teams catch unsafe behavior early instead of discovering it after deployment.
→ Why the other options are wrong:
Option B: A brighter theme affects appearance, not safety.
Option C: Marketing copy does not reduce clinical risk.
Option D: Renaming the workspace changes administration, not model safety.
Quick Memory Tip 🧠
High-risk use case = test edge cases first.
28 / 40
28. You are building a Python app that listens to the default microphone and returns one spoken utterance as text.
import azure.cognitiveservices.speech as speechsdk
audio_config = speechsdk.audio.AudioConfig(use_default_microphone=True)
speech_recognizer = speechsdk.SpeechRecognizer(
speech_config=speech_config,
audio_config=audio_config
)
# Missing line
print(result.text)
❌ Incorrect. Review the explanation below.
✅ Correct! Review the explanation below.
→ Why the correct answer is right:
Microsoft's Python quickstart for speech recognition shows the recognizer calling recognize_once_async().get() to capture one utterance and return the recognition result. That matches the scenario here because the app is listening to the microphone and needs a speech-to-text result.
→ Why the other options are wrong:
Option A: speak_text_async is a text-to-speech method, so it belongs to synthesis rather than recognition.
Option C: SpeechSynthesizer is the class used for text-to-speech output, not for recognizing microphone input.
Option D: speak_ssml_async is also a synthesis method, specifically for synthesizing SSML input into speech.
Quick Memory Tip 🧠
One utterance from mic = recognize_once_async().
29 / 40
29. A web app must capture spoken microphone input and show live captions while the user is talking. Which Azure Speech capability should you add to the app?
❌ Incorrect. Review the explanation below.
✅ Correct! Review the explanation below.
→ Why the correct answer is right:
Speech to text is the Azure Speech feature that listens to audio and converts it into text in real time. That makes it the right choice for live captions, dictation, and call transcription. The app needs recognition, not voice generation or search.
→ Why the other options are wrong:
Option A: Text to speech does the reverse job.
Option C: Agent Service is not the core speech-recognition capability.
Option D: Search is for retrieval, not transcription.
Quick Memory Tip 🧠
Live captions = speech to text.
30 / 40
30. You need descriptions for separate parts of a photo, not just one overall sentence for the entire image. Which capability is the best fit?
❌ Incorrect. Review the explanation below.
✅ Correct! Review the explanation below.
→ Why the correct answer is right:
Microsoft explains that dense captioning generates detailed captions for individual objects found in an image and returns bounding box coordinates for each. This makes it the right fit when you need separate descriptions for multiple parts of a photo — not just one overall sentence.
→ Why the other options are wrong:
Option A: OCR extracts readable text that already exists in the image — it doesn't generate descriptive captions for visual objects or regions.
Option C: Text-to-image generation creates new images from prompts — it doesn't analyze an existing photo and describe its individual parts.
Option D: Speech recognition converts spoken audio to text — it has no relationship to visual description of image regions.
Quick Memory Tip 🧠
"One sentence for whole image = Image Captioning | Separate descriptions for parts = Dense Captioning | Read text in image = OCR"
31 / 40
31. You are building a lightweight Python client for video extraction.
video_url = "https://example.com/demo.mp4"
poller = client.begin_analyze(
analyzer_id="prebuilt-videoSearch",
inputs=[AnalysisInput(url=video_url)],
)
result = poller.result()
for media in result.contents:
video_content = media
print(video_content.________)
Which code should replace the missing section?
❌ Incorrect. Review the explanation below.
✅ Correct! Review the explanation below.
→ Why the correct answer is right:
Microsoft's video quickstart shows iterating through result.contents and accessing video_content.markdown when using prebuilt-videoSearch. The service packages extracted video content into richly formatted Markdown for downstream use in search, chat, or automation.
→ Why the other options are wrong:
Option B: deployment_name is used when selecting a deployed model — not a property on video extraction result objects.
Option C: temperature is a model generation parameter — not a content property returned by an analyzer result.
Option D: embedding represents vector data for retrieval — not the formatted content output returned by a video analyzer.
Quick Memory Tip 🧠
"video_content.markdown = access extracted video results | deployment_name = model selection | temperature = generation param"
32 / 40
32. Which THREE pairs are correctly matched? (Select THREE.)
Check
❌ Incorrect. Review the explanation below.
✅ Correct! Review the explanation below.
→ Why the correct answer is right:
All three correct pairs align with Microsoft's documented capability definitions: OCR reads text from images, object detection identifies and localizes objects with bounding box coordinates, and image captioning generates a human-readable sentence describing an image.
→ Why the other options are wrong:
Option B: Sentiment scores come from text analysis (NLP) — not from image generation models. Image generation creates visuals, it doesn't classify sentiment.
Option D: Speech synthesis converts text to audio — it doesn't analyze photos or create image captions. Captioning is a vision task.
Option F: OCR reads existing text from images — it cannot create a new poster from a prompt. Creating content from a prompt is image generation.
Quick Memory Tip 🧠
"OCR = Read text | Object Detection = Locate + Coordinates | Image Captioning = Describe in a sentence | None of these CREATE images"
33 / 40
33. For each of the following statements, determine whether the statement is correct.
- Statement 1: A deployed multimodal model can accept image input in addition to text.
- Statement 2: A public image URL can be used as input for image interpretation.
- Statement 3: Every multimodal model supports multiple images in the same chat turn.
Select the correct combination.
❌ Incorrect. Review the explanation below.
✅ Correct! Review the explanation below.
→ Why the correct answer is right:
Statement 1 is Yes — multimodal chat models accept images in addition to text. Statement 2 is Yes — a public image URL is a valid and documented way to provide image input. Statement 3 is No — Microsoft Learn notes that some models support only one image per turn; not every multimodal model supports multiple images in the same turn.
→ Why the other options are wrong:
Option B: Incorrectly marks Statement 2 as No — public image URLs are explicitly documented as valid input.
Option C: Incorrectly marks Statement 1 as No — multimodal models are specifically designed to accept image input.
Option D: Incorrectly denies both Statements 1 and 2 — both are confirmed supported behaviors in Microsoft's documentation.
Quick Memory Tip 🧠
"Multimodal = text + images ✅ | Public URL = valid input ✅ | Every model = multiple images? NO — model-specific ❌"
34 / 40
34. Which TWO statements describe image-generation model capabilities? (Select TWO.)
Check
❌ Incorrect. Review the explanation below.
✅ Correct! Review the explanation below.
→ Why the correct answer is right:
Microsoft's image generation documentation states these models create images from user-provided text prompts, and in some workflows they also accept optional images as input (for tasks like variations or inpainting). Both are documented image generation capabilities.
→ Why the other options are wrong:
Option C: Returning people-detection bounding boxes is a computer vision analysis capability — it identifies and locates people in existing images, not a generation task.
Option D: Reading printed text from posters is OCR — a text extraction capability from existing images, not image creation.
Option E: Producing sentiment labels is a text analysis (NLP) task — completely different workload family from image generation.
Quick Memory Tip 🧠
"Image Generation = Create from prompt + Optional image input | NOT analysis, NOT OCR, NOT sentiment"
35 / 40
35. You are preparing a request for an image-generation model in Foundry.
payload = {
"model": deployment_name,
________
"width": 1024,
"height": 1024
}
Which code should replace the missing section?
❌ Incorrect. Review the explanation below.
✅ Correct! Review the explanation below.
→ Why the correct answer is right:
Microsoft's image generation documentation states that image generation models create images from user-provided text prompts. The prompt field is the core input in the request payload — it contains the natural language description that the model uses to generate the new image.
→ Why the other options are wrong:
Option B: "ocr" is not a field for image generation. OCR is a reading capability for existing images — not a creation request field.
Option C: "objects": ["bicycle", "park"] resembles image analysis output, not the text prompt that drives creation. The API uses a natural language prompt, not an object list.
Option D: "caption": True is associated with image analysis (generating a description of an existing image) — the opposite of creating a new one.
Quick Memory Tip 🧠
"Image generation request = prompt field | OCR = reads existing image text | Caption = describes existing image"
36 / 40
36. You want a client call that sends both text and an image to a model.
image_url = "https://example.com/item.png"
response = client.complete(
messages=[
SystemMessage("You are a helpful assistant."),
UserMessage(content=[
TextContentItem(text="Describe this product photo."),
# Missing line
]),
],
temperature=0,
)
Which code should replace the missing section?
❌ Incorrect. Review the explanation below.
✅ Correct! Review the explanation below.
→ Why the correct answer is right:
Microsoft Learn's multimodal chat examples show that image input is added to a UserMessage content list using ImageContentItem(image_url=ImageUrl(image_url)). This gives the model a properly structured image payload — not just a text string that happens to look like a URL.
→ Why the other options are wrong:
Option B: TextContentItem(text=image_url) sends the URL as plain text — the model will read a string, not an actual image. It won't interpret the visual.
Option C: client.embeddings.create(...) generates vectors — it cannot be inserted as a content item in a chat message, and doesn't provide image context.
Option D: AudioContentItem is for audio input — using it for an image is a modality mismatch.
Quick Memory Tip 🧠
"Add image to message = ImageContentItem(image_url=ImageUrl(...)) | TextContentItem = text only | AudioContentItem = audio only"
37 / 40
37. A team is building a RAG chatbot that must ground answers in a knowledge base. Which TWO model-related choices are appropriate? (Select TWO.)
Check
❌ Incorrect. Review the explanation below.
✅ Correct! Review the explanation below.
→ Why the correct answer is right:
A RAG chatbot needs two key model types working together: an embedding model to convert knowledge base content and queries into vectors for semantic retrieval, and a chat completion model to generate grounded answers using the retrieved content. Microsoft Learn confirms this pattern in Azure AI Search RAG workflows.
→ Why the other options are wrong:
Option A: Image generation models create images — they don't retrieve knowledge or generate text answers grounded in a knowledge base.
Option D: Speech synthesis converts text to spoken audio — useful as an optional output layer but not a core RAG model choice.
Option E: OCR extracts text from images — useful during knowledge ingestion, but not the primary model choice for retrieval and answer generation.
Quick Memory Tip 🧠
"RAG = Embedding (find it) + Chat Completion (answer it) | These two always work together in grounded chatbots"
38 / 40
38. A design team needs a model for prompt-based visual creation. Which TWO capabilities most directly indicate an image generation model? (Select TWO.)
Check
❌ Incorrect. Review the explanation below.
✅ Correct! Review the explanation below.
→ Why the correct answer is right:
Microsoft Learn describes image generation models as creating images from user-provided text prompts and optional images. The same documentation notes editing capabilities like inpainting (filling or replacing parts of an image). Both capabilities — original image creation and inpainting — are signature image generation features.
→ Why the other options are wrong:
Option B: Returning floating-point vectors is the role of an embedding model — not an image generation model.
Option C: Scoring semantic similarity depends on embedding vectors and cosine similarity — an embedding/retrieval concept, not image generation.
Option D: Retrieval optimization points to embedding models and Azure AI Search — not visual content creation.
Quick Memory Tip 🧠
"Image Generation = Create images + Inpainting | Embedding = Vectors + Similarity scores | Search = Retrieval optimized"
39 / 40
39. An AI team decides to authenticate to Azure resources without storing secrets in application code. This decision primarily strengthens ________. Which answer best completes the sentence?
❌ Incorrect. Review the explanation below.
✅ Correct! Review the explanation below.
→ Why the correct answer is right:
Avoiding hard-coded secrets reduces the risk of credential leakage and unauthorized access to AI resources and connected data. This is a core privacy and security practice — one of Microsoft's six Responsible AI principles. It protects both the system and any data it processes.
→ Why the other options are wrong:
Option A: Transparency is about communicating system behavior and limitations to users — not about how credentials are stored or managed.
Option C: Fairness addresses equitable treatment across groups and avoiding bias — it has nothing to do with secret management or authentication design.
Option D: Summarization is a text-analysis AI capability — not a Responsible AI principle, and unrelated to credential security.
Quick Memory Tip 🧠
"No hard-coded secrets → Privacy & Security | Explain system behavior → Transparency | Equal treatment → Fairness"
40 / 40
40. You are choosing a model for an assistant that must reason through a request and call tools during the response. Which model type is the best fit?
❌ Incorrect. Review the explanation below.
✅ Correct! Review the explanation below.
→ Why the correct answer is right:
Microsoft Learn notes that model catalog Capabilities filters include reasoning and tool calling. A reasoning chat model is specifically built for working through complex tasks step by step and invoking tools — like web search or functions — during the response flow. This is the foundation of agentic AI behavior.
→ Why the other options are wrong:
Option B: Embedding models convert text into vectors for retrieval — they cannot reason through requests or call tools in a conversational flow.
Option C: Image generation models create visual content from prompts — not designed for reasoning steps or tool invocation.
Option D: Speech synthesis converts text to audio — it handles output format, not reasoning or tool orchestration.
Quick Memory Tip 🧠
"Reasoning + Tool Calling = Reasoning Chat Model | Vectors = Embedding | Images = Generation | Audio output = Speech Synthesis"
Your score is
The average score is 67%
Share This Practice Exam Found this quiz helpful?
Share it with friends, colleagues, and fellow certification candidates preparing for Azure, AWS, AI, and Security exams.
Restart quiz