Microsoft AI-901 (Microsoft Azure AI Fundamentals) Practice Test 34

Question 330

The proposed design adopts the action “Send a model request with the correct model or deployment identifier” to diagnose a not-found error caused by an incorrect model identifier. The implementation target for a field-service mobile app is instead to preserve only the relevant earlier context within token limits. Which method fits the target?

  1. Install the current Azure AI Projects Python client for Foundry development
  2. Send a model request with the correct model or deployment identifier
  3. Maintain conversation state explicitly when the API requires it
  4. Inspect the returned response content rather than assuming plain text

Explanation

Correct Answer

C:

For the requirement to preserve only the relevant earlier context within token limits, this action has the relevant behavior: A model request does not automatically retain arbitrary prior messages unless the client or service supplies conversation context; applications should use the supported conversation mechanism or pass relevant history; by contrast, Send a model request with the correct model or deployment identifier addresses the separate goal to diagnose a not-found error caused by an incorrect model identifier.

Incorrect Answers

A:

If the target were to prepare a Python environment for current Foundry project APIs, this would be useful; however the acceptance test is to preserve only the relevant earlier context within token limits; its technical role is that the azure-ai-projects package supplies the project SDK, and azure-identity provides credential classes; current Foundry project API examples use the 2.x client family, not classic 1.x patterns; it does not resolve the stated gap.

B:

The previously considered capability is useful to diagnose a not-found error caused by an incorrect model identifier, whereas the present acceptance test is to preserve only the relevant earlier context within token limits; its mechanism is that inference requests target an available model deployment using the expected API field or bound client; A display name in documentation is not necessarily the callable deployment name; it does not itself deliver the new requirement.

D:

This alternative addresses a separate task to inspect output data before passing it to a user interface, not the explicit requirement to preserve only the relevant earlier context within token limits; its mechanism is that SDK responses can include structured output items, status, and metadata alongside convenience text properties; applications should handle empty or nontext output appropriately; the requested outcome demands a different operation.

Question 331

For an internal policy assistant, the proposal “Put stable behavioral rules in a system-level instruction” addresses the ability to require an assistant to disclose uncertainty for all conversations. Which different action is needed when the requirement is to constrain a recap to the decisions and owners only?

  1. Delimit quoted reference data from governing instructions
  2. Reduce prompt ambiguity by specifying audience and objective
  3. Put stable behavioral rules in a system-level instruction
  4. Control irrelevant verbosity through precise response constraints

Explanation

Correct Answer

D:

For the requirement to constrain a recap to the decisions and owners only, this action has the relevant behavior: specific length and content requirements guide an assistant to produce appropriately scoped answers; generating fewer tokens is not proof that a response is correct; by contrast, Put stable behavioral rules in a system-level instruction addresses the separate goal to require an assistant to disclose uncertainty for all conversations.

Incorrect Answers

A:

This choice addresses a separate goal to distinguish a transcript excerpt from instructions to the assistant, which is different from the requested outcome to constrain a recap to the decisions and owners only; the relevant technical behavior is separators and explicit instructions clarify which text is untrusted context and which text directs the assistant; this reduces confusion when user-supplied documents contain imperative language; this is not the focused implementation here.

B:

Its role is to tell a model exactly what decision the answer should support, while the present test is about the ability to constrain a recap to the decisions and owners only; the underlying operation is that clear prompts identify the user, purpose, constraints, and expected result; this narrows the solution space without needing to retrain a foundation model; the two needs must not be conflated.

C:

The previously considered capability is useful to require an assistant to disclose uncertainty for all conversations, whereas the present acceptance test is to constrain a recap to the decisions and owners only; its mechanism is that system instructions establish overarching application behavior and boundaries for a model conversation; user prompts express individual requests and should not silently replace higher-priority operational rules; it does not itself deliver the new requirement.

Question 332

The team operating a technician support portal recommends the approach “Constrain agent network and external data access as required” to limit which external APIs a production agent may call. The acceptance criterion, however, is to restrict who can manage agent tool connections. Which approach should be selected instead?

  1. Audit sensitive agent actions and protect telemetry data
  2. Use Microsoft Entra authorization and least privilege for project access
  3. Apply content filters and safety policy at supported model endpoints
  4. Constrain agent network and external data access as required

Explanation

Correct Answer

B:

For the requirement to restrict who can manage agent tool connections, this action has the relevant behavior: authenticated identities should receive only the permissions needed for their project and resource operations; broad access increases the impact of stolen tokens or mistaken commands; by contrast, Constrain agent network and external data access as required addresses the separate goal to limit which external APIs a production agent may call.

Incorrect Answers

A:

Its role is to record who approved a high-impact tool operation, while the present test is about the ability to restrict who can manage agent tool connections; the underlying operation is that logs and traces help attribute privileged tool usage and detect misuse, but must follow access and data-retention policies; observability should not become a new source of secret leakage; the two needs must not be conflated.

C:

If the target were to block prohibited user inputs before processing in a public application, this would be useful; however the acceptance test is to restrict who can manage agent tool connections; its technical role is that safety controls can screen incoming prompts and generated content according to configured risk categories; this supplements authorization and must be tested for the target use case; it does not resolve the stated gap.

D:

The previously considered capability is useful to limit which external APIs a production agent may call, whereas the present acceptance test is to restrict who can manage agent tool connections; its mechanism is that network restrictions, connection governance, and tool allowlists reduce accidental exposure of sensitive systems; A model cannot override enforced endpoint access limits; it does not itself deliver the new requirement.

Question 333

An acceptance test requires a customer-service automation app to create a reusable customer-support agent with a stable role. Which of the following matches that test?

  1. Inspect agent traces to debug tool selection and response quality
  2. Use the agent-bound OpenAI client for application conversations
  3. Require human review for sensitive agent side effects
  4. Define a prompt agent using a model plus persistent instructions
  5. Limit an agent to approved task-relevant tools
  6. Create a versioned prompt agent through the project agents API

Explanation

Correct Answer

D:

The requested outcome is to create a reusable customer-support agent with a stable role; this action is the focused implementation: A prompt agent packages a selected model with behavior instructions and optional tools into a reusable agent definition; the current Foundry Agent Service supports versioned prompt-agent definitions; it provides the underlying capability rather than a neighboring workflow step.

Incorrect Answers

A:

This choice addresses a separate goal to follow a failed multi-step workflow through its tool calls, which is different from the requested outcome to create a reusable customer-support agent with a stable role; the relevant technical behavior is tracing can reveal the sequence of model decisions, tool invocations, errors, and timing; it helps explain observed behavior, but trace access should be controlled for sensitive content; this is not the focused implementation here.

B:

Its role is to integrate an existing named agent into a lightweight application, while the present test is about the ability to create a reusable customer-support agent with a stable role; the underlying operation is that the current project SDK can provide an OpenAI-compatible client bound to a saved agent by name; A program then submits inputs through supported conversation and response APIs; the two needs must not be conflated.

C:

This alternative addresses a separate task to protect production configuration from unapproved autonomous updates, not the explicit requirement to create a reusable customer-support agent with a stable role; its mechanism is that approval gates can pause high-impact operations until a qualified person authorizes execution; the agent may prepare a proposal but should not independently finalize risky changes; the requested outcome demands a different operation.

E:

This choice addresses a separate goal to restrict a travel agent to specific itinerary-search operations, which is different from the requested outcome to create a reusable customer-support agent with a stable role; the relevant technical behavior is A narrow tool set reduces unintended actions and limits the agent's operational surface; broad unrestricted tools are not required for a single-purpose assistant; this is not the focused implementation here.

F:

Its role is to distinguish persistent agent creation from invoking an inference endpoint, while the present test is about the ability to create a reusable customer-support agent with a stable role; the underlying operation is that current Foundry project SDK examples use a PromptAgentDefinition and the agents.create_version operation to persist an agent version; this is different from sending a one-off model prompt; the two needs must not be conflated.

Question 334

A visual accessibility assistant can already find and count visible packages on a conveyor image through a feature based on “Apply object detection to locate multiple instances”. However, users also need to transcribe signs visible in a road image. Which capability is missing?

  1. Apply image quality checks before visual inference
  2. Apply object detection to locate multiple instances
  3. Apply optical character recognition to read depicted text
  4. Apply image segmentation to label pixel-level regions

Explanation

Correct Answer

C:

The earlier implementation covers a different outcome; to transcribe signs visible in a road image, use this approach because OCR identifies text characters or words in images and scanned pages; it produces recognized text rather than semantic descriptions of the whole scene; it adds the requested behavior without confusing it with the existing feature.

Incorrect Answers

A:

This alternative addresses a separate task to check whether a low-resolution image is fit for OCR, not the explicit requirement to transcribe signs visible in a road image; its mechanism is that blurring, glare, cropping, low resolution, and occlusion can degrade image recognition; A preflight quality gate identifies unsuitable input before downstream inference; the requested outcome demands a different operation.

B:

The previously considered capability is useful to find and count visible packages on a conveyor image, whereas the present acceptance test is to transcribe signs visible in a road image; its mechanism is that object detection identifies objects and returns categories with spatial locations or bounding boxes; it differs from whole-image classification because the question is where each object appears; it does not itself deliver the new requirement.

D:

Its role is to label each pixel belonging to water in satellite imagery, while the present test is about the ability to transcribe signs visible in a road image; the underlying operation is that segmentation partitions image pixels into meaningful categories or instances; it provides finer spatial detail than rectangular object-detection boxes; the two needs must not be conflated.

Question 335

After adding the action “Call custom text classification for organization-specific routing” to predict an organization-defined case type from message content, engineers verify that a digital accessibility service still cannot choose a compatible locale after inspecting text content. Which addition addresses the remaining gap?

  1. Call PII detection and redact returned sensitive spans
  2. Call language detection before language-specific processing
  3. Call custom text classification for organization-specific routing
  4. Call named entity recognition on text messages

Explanation

Correct Answer

B:

The second test calls for a capability that can choose a compatible locale after inspecting text content. language detection identifies the likely language of text and can inform downstream routing; it does not convert the words into a translated target language; this is the missing implementation, rather than another adjustment to Call custom text classification for organization-specific routing.

Incorrect Answers

A:

Its role is to detect account-related personal data in free-form notes, while the present test is about the ability to choose a compatible locale after inspecting text content; the underlying operation is that language PII analysis helps locate personal identifiers and their offsets or categories; the application must decide how to mask or handle those spans safely; the two needs must not be conflated.

C:

The previously considered capability is useful to predict an organization-defined case type from message content, whereas the present acceptance test is to choose a compatible locale after inspecting text content; its mechanism is that custom classification predicts business-defined document classes learned from labeled examples; it is different from extracting spans within the document; it does not itself deliver the new requirement.

D:

This choice addresses a separate goal to identify geographic mentions in support tickets, which is different from the requested outcome to choose a compatible locale after inspecting text content; the relevant technical behavior is prebuilt NER extracts recognized spans and entity categories such as persons, organizations, and locations; an application can map those spans into a structured result; this is not the focused implementation here.

Question 336

After adding the action “Provide explicit output format and schema requirements” to require three concise action items rather than an unrestricted essay, engineers verify that a digital accessibility service still cannot define a stable role and prohibited actions for a chatbot. Which addition addresses the remaining gap?

  1. Put stable behavioral rules in a system-level instruction
  2. Provide explicit output format and schema requirements
  3. Control irrelevant verbosity through precise response constraints
  4. Ask the model to abstain when reference evidence is insufficient

Explanation

Correct Answer

A:

The second test calls for a capability that can define a stable role and prohibited actions for a chatbot. system instructions establish overarching application behavior and boundaries for a model conversation; user prompts express individual requests and should not silently replace higher-priority operational rules; this is the missing implementation, rather than another adjustment to Provide explicit output format and schema requirements.

Incorrect Answers

B:

The previously considered capability is useful to require three concise action items rather than an unrestricted essay, whereas the present acceptance test is to define a stable role and prohibited actions for a chatbot; its mechanism is that A precise prompt or supported structured-output schema makes required fields, length, and structure clearer; vague wording often produces prose unsuitable for machine parsing; it does not itself deliver the new requirement.

C:

This choice addresses a separate goal to prevent a support answer from burying the main action in unrelated background, which is different from the requested outcome to define a stable role and prohibited actions for a chatbot; the relevant technical behavior is specific length and content requirements guide an assistant to produce appropriately scoped answers; generating fewer tokens is not proof that a response is correct; this is not the focused implementation here.

D:

Its role is to distinguish an unsupported fact from a plausible-sounding generated answer, while the present test is about the ability to define a stable role and prohibited actions for a chatbot; the underlying operation is that A grounded prompt can require the assistant to say when no supplied document supports an answer; this is safer than fabricating citations when a question falls outside the retrieved context; the two needs must not be conflated.

Question 337

A visual accessibility assistant can already specify lighting and viewpoint for a product concept through a feature based on “Specify subject, composition, and style in the image prompt”. However, users also need to synthesize a fictional classroom scene for an app. Which capability is missing?

  1. Review generated imagery for safety and rights concerns
  2. Validate image output types and store generated assets securely
  3. Specify subject, composition, and style in the image prompt
  4. Use text-to-image generation for new visual content

Explanation

Correct Answer

D:

The earlier implementation covers a different outcome; to synthesize a fictional classroom scene for an app, use this approach because image generation produces original pixels conditioned on a prompt and supported settings; it does not by itself extract fields from an existing invoice; it adds the requested behavior without confusing it with the existing feature.

Incorrect Answers

A:

Its role is to assess rights and consent before depicting identifiable private individuals, while the present test is about the ability to synthesize a fictional classroom scene for an app; the underlying operation is that generative images may include problematic or misleading content, so output review should consider intended use, consent, and applicable rights; A successful model response is not automatic publication approval; the two needs must not be conflated.

B:

This alternative addresses a separate task to handle generated visual assets separately from chat text, not the explicit requirement to synthesize a fictional classroom scene for an app; its mechanism is that image APIs may return a supported URL, encoded output, or another asset reference; clients must decode or retrieve artifacts appropriately and protect private generated content; the requested outcome demands a different operation.

C:

The previously considered capability is useful to specify lighting and viewpoint for a product concept, whereas the present acceptance test is to synthesize a fictional classroom scene for an app; its mechanism is that A well-scoped prompt gives visual constraints that guide generation toward a desired result; it cannot guarantee pixel-perfect compliance but improves controllability; it does not itself deliver the new requirement.

Question 338

A pilot of a contact-center application successfully uses “Synthesize text into speech by selecting a compatible voice” to create an audio response after text generation completes. The next milestone requires it to adapt a speech recognizer to domain-specific expressions. Which step would meet the milestone?

  1. Customize speech recognition for specialized domain vocabulary
  2. Configure the Speech resource and supported authentication
  3. Use streaming or continuous recognition for ongoing input
  4. Synthesize text into speech by selecting a compatible voice

Explanation

Correct Answer

A:

The second test calls for a capability that can adapt a speech recognizer to domain-specific expressions. custom Speech can improve recognition for unusual terms when enough suitable adaptation data and supported configuration are available; it is distinct from changing the synthesized voice; this is the missing implementation, rather than another adjustment to Synthesize text into speech by selecting a compatible voice.

Incorrect Answers

B:

Its role is to replace placeholder credentials before live testing, while the present test is about the ability to adapt a speech recognizer to domain-specific expressions; the underlying operation is that A Speech client needs the correct service resource information and valid credentials or a supported token flow; configuration errors prevent recognition or synthesis even when audio content is valid; the two needs must not be conflated.

C:

This alternative addresses a separate task to avoid limiting a long interaction to one short utterance, not the explicit requirement to adapt a speech recognizer to domain-specific expressions; its mechanism is that continuous recognition processes audio over time and reports partial or final results as available; A one-shot recognition call may not suit long live sessions; the requested outcome demands a different operation.

D:

The previously considered capability is useful to create an audio response after text generation completes, whereas the present acceptance test is to adapt a speech recognizer to domain-specific expressions; its mechanism is that Speech synthesis takes written text and generates audio using an available voice and locale; voice choice must be compatible with supported synthesis settings; it does not itself deliver the new requirement.

Question 339

A claims processing application can already import supplier billing details into an accounting workflow through a feature based on “Use a prebuilt invoice analyzer for accounts payable fields”. However, users also need to preserve section boundaries in a document knowledge base. Which capability is missing?

  1. Use a receipt analyzer for consumer transaction details
  2. Use prebuilt document analysis to read text and structure
  3. Use document-oriented chunking for searchable knowledge ingestion
  4. Use a prebuilt invoice analyzer for accounts payable fields

Explanation

Correct Answer

C:

The earlier implementation covers a different outcome; to preserve section boundaries in a document knowledge base, use this approach because retrieval-preparation analyzers can organize document structure and chunks for indexing; this supports RAG retrieval rather than direct form-field extraction alone; it adds the requested behavior without confusing it with the existing feature.

Incorrect Answers

A:

If the target were to populate an employee expense entry from a store receipt, this would be useful; however the acceptance test is to preserve section boundaries in a document knowledge base; its technical role is that receipt-oriented extraction targets merchant, purchases, dates, totals, and taxes; it is designed around retail transaction artifacts rather than arbitrary long legal documents; it does not resolve the stated gap.

B:

This choice addresses a separate goal to extract document structure before mapping values to fields, which is different from the requested outcome to preserve section boundaries in a document knowledge base; the relevant technical behavior is document analyzers can identify recognized text, layout, tables, and other elements to create machine-usable output; they are appropriate for PDFs and other supported document inputs; this is not the focused implementation here.

D:

The previously considered capability is useful to import supplier billing details into an accounting workflow, whereas the present acceptance test is to preserve section boundaries in a document knowledge base; its mechanism is that invoice-oriented extraction targets supplier, invoice identifier, line items, totals, and dates; it supports payable workflows more directly than a generic image description; it does not itself deliver the new requirement.

Question 340

An integration team needs to satisfy 3 independent requirements for an internal developer portal: (1) identify company names within procurement correspondence; (2) identify which restaurant features drive negative comments; (3) track how opinions change after a product launch. Which THREE distinct actions directly address these requirements? Choose THREE.

  1. Apply sentiment analysis to determine expressed polarity
  2. Apply opinion mining to connect sentiment with specific aspects
  3. Apply document summarization to condense long prose
  4. Apply key phrase extraction to find central topics
  5. Apply named entity recognition to label people and organizations

Explanation

Correct Answers

A:

Within this combination of requirements to identify company names within procurement correspondence and identify which restaurant features drive negative comments and track how opinions change after a product launch, this is the action for the specific condition to track how opinions change after a product launch: sentiment classification estimates whether text expresses positive, negative, neutral, or mixed sentiment; it does not establish a customer's actual intention or verify claims; it addresses that condition independently of the other selected actions.

B:

Within this combination of requirements to identify company names within procurement correspondence and identify which restaurant features drive negative comments and track how opinions change after a product launch, this is the action for the specific condition to identify which restaurant features drive negative comments: aspect-based sentiment links positive or negative opinions to targets such as battery life or delivery speed; A whole-document sentiment score can hide those distinct evaluations; it addresses that condition independently of the other selected actions.

E:

Within this combination of requirements to identify company names within procurement correspondence and identify which restaurant features drive negative comments and track how opinions change after a product launch, this is the action for the specific condition to identify company names within procurement correspondence: NER identifies spans such as person names, places, dates, and organizations and assigns entity categories; it extracts mentions, not a document's overall emotional tone; it addresses that condition independently of the other selected actions.

Incorrect Answers

C:

This alternative supports another requirement to generate a concise overview of an extensive policy document, rather than the specified combination of requirements to identify company names within procurement correspondence and identify which restaurant features drive negative comments and track how opinions change after a product launch: summarization produces a concise representation of important information from a source; extractive approaches select existing sentences; abstractive approaches compose new wording; it is not one of the keyed operations.

D:

This alternative supports another requirement to summarize complaint themes as short topical phrases rather than complete sentences, rather than the specified combination of requirements to identify company names within procurement correspondence and identify which restaurant features drive negative comments and track how opinions change after a product launch: key phrase extraction identifies salient words and short phrases in text without requiring a manually predefined set of topic labels; it is different from detecting named entities or measuring emotional polarity; it is not one of the keyed operations.

Microsoft Azure AI Fundamentals (AI-901) Practice Tests