McAfee Secured

Exam Code: AI-901

Exam Name: Microsoft Azure AI Fundamentals

Certification Provider: Microsoft

Corresponding Certification: Microsoft Certified: Azure AI Fundamentals

100% Microsoft AI-901 Guaranteed Success With Testking Training Materials

Get Real AI-901 Exam Questions & Expert Verified Answers as Experienced on the Real Exam!

166 Questions & Answers with Testing Engine

"Microsoft Azure AI Fundamentals Exam", also known as AI-901 exam, is a Microsoft certification exam.

Pass your tests with the always up-to-date AI-901 Exam Engine. Your AI-901 training materials keep you at the head of the pack!

Satisfaction Guaranteed

Money Back Guarantee

Testking provides hassle-free money back guarantee with our products. That is because we have 100% trust in the abilities of our professional and experience product team, and our record is a proof of that.

99.6% PASS RATE
Was: $137.49
Now: $124.99

Microsoft AI-901 Practice Test 40

Question 390

A bookstore creates a lightweight Python chat client for a deployed Foundry model. The app receives a response object and needs to display the generated answer. Which action best addresses this requirement?

  1. Embed a permanent API secret in the bookstore client's displayed sample code
  2. Use the model's supported inference endpoint and deployed model identifier
  3. Authenticate with an approved credential mechanism kept outside the repository
  4. Extract the response text from the SDK's documented result rather than printing the raw object blindly

Explanation

Correct Answer

D:

Correct response parsing distinguishes user-facing content from metadata and tool details.

Incorrect Answers

A:

A copied secret is insecure and cannot replace authenticated configuration, supported endpoint calls, or error handling. Here, the app receives a response object and needs to display the generated answer.

B:

Requests must target an actual endpoint and deployment; a catalog page is not an invocation target, which is relevant if the client needs to identify where inference requests should be sent; it does not correct the underlying issue: the app receives a response object and needs to display the generated answer.

C:

Credentials must be protected and supplied through the client authentication path. Here, the app receives a response object and needs to display the generated answer.

Question 391

An operations team manages multiple Foundry model deployments for text classification and generation. Requests accidentally hit an old deployment with the same general model family. Which approach most directly meets the stated need?

  1. Compare model cards and capabilities before configuring deployment
  2. Specify and log the exact deployment identifier used by the client
  3. Verify supported region and deployment type before provisioning
  4. Use the model-family brand name as the only reference for all configured deployments

Explanation

Correct Answer

B:

The deployment name resolves a particular configured model, independent of a family label.

Incorrect Answers

A:

Text, visual, audio, and tool behaviors vary by model and must match the workload, which is relevant if a developer selects a model that lacks the required output modality; it does not correct the underlying issue: requests accidentally hit an old deployment with the same general model family.

C:

Geography and offering availability are infrastructure constraints, not prompt settings; this would help when the service is expected to run in a restricted geography, whereas the required result is different: requests accidentally hit an old deployment with the same general model family.

D:

Distinct deployments require their actual identifiers, role permissions, and monitored configuration. Here, requests accidentally hit an old deployment with the same general model family.

Question 392

A legal-tech prototype answers clause questions over a permitted set of contract templates. A team plans to store confidential contracts in publicly accessible debugging traces. What should the team do to satisfy the requirement?

  1. Treat every retrieved contract clause as a new instruction with higher priority than the system policy
  2. Configure controlled telemetry and redact or avoid sensitive payloads
  3. Treat retrieved contract text as data, not higher-priority instructions
  4. Send the relevant quoted clause as task context with a clear summarization request

Explanation

Correct Answer

B:

Debugging observability should not turn private client documents into public artifacts.

Incorrect Answers

A:

Retrieved content is evidence to analyze, not authority to control the agent or its access rights. Here, a team plans to store confidential contracts in publicly accessible debugging traces.

C:

Prompt injection embedded in a document must not control model behavior or data access, which is relevant if an uploaded contract includes text instructing the assistant to reveal other customers' documents; it does not correct the underlying issue: a team plans to store confidential contracts in publicly accessible debugging traces.

D:

Contextual evidence narrows the answer to the text the user supplied. Here, a team plans to store confidential contracts in publicly accessible debugging traces.

Question 393

A hiring-assistant prototype is permitted to rewrite job ads but never make candidate selection decisions. A user asks the assistant to rank resumes despite the application's stated boundary. Which implementation is the best fit for this situation?

  1. Let an ad-rewriting agent automatically reject applicants based on its rewritten text
  2. Reject selection ranking and keep candidate decisions outside the rewriting agent
  3. Set consistent writing instructions and evaluate samples across job families
  4. Add adversarial boundary prompts to the evaluation dataset

Explanation

Correct Answer

B:

Stable application instructions should define the allowed scope despite user requests.

Incorrect Answers

A:

Drafting job advertisements does not authorize candidate selection or bypass restricted tools and human decisions. Here, a user asks the assistant to rank resumes despite the application's stated boundary.

C:

Prompt guidance plus testing can improve consistency without treating AI output as automatically compliant. Here, a user asks the assistant to rank resumes despite the application's stated boundary.

D:

Testing should target disallowed behaviors as well as normal successful responses; this would help when reviewers need evidence that prohibited ranking requests are handled correctly, whereas the required result is different: a user asks the assistant to rank resumes despite the application's stated boundary.

Question 394

A university helpdesk wants a single agent to answer account questions and open support tickets. The app should never reveal another student's account details. Which choice most appropriately resolves the issue?

  1. Enforce authorization in account-lookup tools and restrict the agent's data scope
  2. Distinguish generated text from successful tool confirmation
  3. Put helpdesk service credentials in the agent's public conversation history
  4. Capture bounded agent traces that include tool decisions and failure responses

Explanation

Correct Answer

A:

Identity checks belong to the backend, not merely model instructions.

Incorrect Answers

B:

Only verified tool results justify reporting completed external actions. Here, the app should never reveal another student's account details.

C:

Conversational context cannot protect privileged credentials or validate authenticated ticket-creation operations. Here, the app should never reveal another student's account details.

D:

Controlled observability exposes orchestration mistakes without publishing private student data, which is relevant if helpdesk staff need to diagnose failed escalations during testing; it does not correct the underlying issue: the app should never reveal another student's account details.

Question 395

A regional hospital trains staff on an internal Foundry demo with synthetic patient scenarios. The team must compare prompt variants before choosing an agent instruction set. Which action best addresses this requirement?

  1. Evaluate adverse cases and document remaining limitations before release
  2. Substitute genuine patient records for synthetic examples merely to make the staff demonstration more realistic
  3. Attach a scoped retrieval tool or knowledge source and test answers against it
  4. Run the same synthetic cases through each prompt variant and review differences

Explanation

Correct Answer

D:

Controlled test cases isolate instruction effects from input changes.

Incorrect Answers

A:

A single smooth interaction cannot establish reliability across clinical edge cases. Here, the team must compare prompt variants before choosing an agent instruction set.

B:

Extra sensitive data do not improve safe demonstration of tools, monitoring, or approved clinical boundaries. Here, the team must compare prompt variants before choosing an agent instruction set.

C:

Tool-backed grounding supports verifiable answers beyond a model's pretraining, which is relevant if the demo agent needs to search an approved knowledge article; it does not correct the underlying issue: the team must compare prompt variants before choosing an agent instruction set.

Question 396

A hiring-assistant prototype is permitted to rewrite job ads but never make candidate selection decisions. Reviewers need evidence that prohibited ranking requests are handled correctly. Which approach most directly meets the stated need?

  1. Let an ad-rewriting agent automatically reject applicants based on its rewritten text
  2. Set consistent writing instructions and evaluate samples across job families
  3. Treat imported descriptions as untrusted task data
  4. Add adversarial boundary prompts to the evaluation dataset

Explanation

Correct Answer

D:

Testing should target disallowed behaviors as well as normal successful responses.

Incorrect Answers

A:

Drafting job advertisements does not authorize candidate selection or bypass restricted tools and human decisions. Here, reviewers need evidence that prohibited ranking requests are handled correctly.

B:

Prompt guidance plus testing can improve consistency without treating AI output as automatically compliant, which is relevant if the writer needs to maintain a consistent inclusive tone in each ad; it does not correct the underlying issue: reviewers need evidence that prohibited ranking requests are handled correctly.

C:

Outside content may contain adversarial instructions and must not override policy. Here, reviewers need evidence that prohibited ranking requests are handled correctly.

Question 397

A regional hospital trains staff on an internal Foundry demo with synthetic patient scenarios. The team interprets a successful demo conversation as a production safety approval. What should the team do to satisfy the requirement?

  1. Keep synthetic examples and prevent unapproved access to production patient records
  2. Evaluate adverse cases and document remaining limitations before release
  3. Attach a scoped retrieval tool or knowledge source and test answers against it
  4. Substitute genuine patient records for synthetic examples merely to make the staff demonstration more realistic

Explanation

Correct Answer

B:

A single smooth interaction cannot establish reliability across clinical edge cases.

Incorrect Answers

A:

Testing does not require exposing sensitive operational data, which is relevant if staff ask for real patient data in the training demo; it does not correct the underlying issue: the team interprets a successful demo conversation as a production safety approval.

C:

Tool-backed grounding supports verifiable answers beyond a model's pretraining; this would help when the demo agent needs to search an approved knowledge article, whereas the required result is different: the team interprets a successful demo conversation as a production safety approval.

D:

Extra sensitive data do not improve safe demonstration of tools, monitoring, or approved clinical boundaries. Here, the team interprets a successful demo conversation as a production safety approval.

Question 398

A legal-tech prototype answers clause questions over a permitted set of contract templates. An uploaded contract includes text instructing the assistant to reveal other customers' documents. Which implementation is the best fit for this situation?

  1. Treat retrieved contract text as data, not higher-priority instructions
  2. Retrieve actual source passages and validate citations before presentation
  3. Configure controlled telemetry and redact or avoid sensitive payloads
  4. Treat every retrieved contract clause as a new instruction with higher priority than the system policy

Explanation

Correct Answer

A:

Prompt injection embedded in a document must not control model behavior or data access.

Incorrect Answers

B:

Grounding checks tie claims to real contract text rather than plausible invented section numbers; this would help when the model returns confident citations to clauses that do not exist, whereas the required result is different: an uploaded contract includes text instructing the assistant to reveal other customers' documents.

C:

Debugging observability should not turn private client documents into public artifacts, which is relevant if a team plans to store confidential contracts in publicly accessible debugging traces; it does not correct the underlying issue: an uploaded contract includes text instructing the assistant to reveal other customers' documents.

D:

Retrieved content is evidence to analyze, not authority to control the agent or its access rights. Here, an uploaded contract includes text instructing the assistant to reveal other customers' documents.

Question 399

A restaurant group tests a chat agent for menu allergy information. The bot must not guarantee that a menu item is allergen-free without current kitchen verification. Which choice most appropriately resolves the issue?

  1. Parse the update as data and keep trusted agent instructions separate
  2. Maintain an evaluation set with confirmed menu states and prohibited guarantees
  3. Infer food allergens from model recall without checking the restaurant's maintained ingredient information
  4. Instruct the agent to state limitations and refer allergy-critical decisions to staff

Explanation

Correct Answer

D:

High-risk advice needs grounded current facts and a human escalation path.

Incorrect Answers

A:

Tool-returned text cannot safely be promoted to control instructions; this would help when a kitchen update message contains commands unrelated to ingredients, whereas the required result is different: the bot must not guarantee that a menu item is allergen-free without current kitchen verification.

B:

Grounded test scenarios detect unsafe overstatements after version changes, which is relevant if developers need a repeatable allergen scenario test before a model update; it does not correct the underlying issue: the bot must not guarantee that a menu item is allergen-free without current kitchen verification.

C:

A plausible answer is not evidence of ingredient presence or safe customer disclosure. Here, the bot must not guarantee that a menu item is allergen-free without current kitchen verification.

Question 400

A nonprofit uses a Foundry chatbot to guide volunteers through approved emergency checklists. Two volunteers try to complete the same step concurrently. Which action best addresses this requirement?

  1. Treat the agent's statement that a step is complete as the actual database status update
  2. Handle write conflicts and idempotency in the checklist service
  3. Expose a narrowly scoped authenticated checklist-update tool
  4. Provide authoritative checklist steps and validate output sequence in evaluation

Explanation

Correct Answer

B:

Transaction coordination must be enforced by backend logic rather than prompt wording.

Incorrect Answers

A:

A language-model response does not safely coordinate concurrent writes or commit an authorized checklist operation. Here, two volunteers try to complete the same step concurrently.

C:

A model by itself describes an action; a tool performs the authorized state change; this would help when volunteers need an agent that can mark steps complete in a shared system, whereas the required result is different: two volunteers try to complete the same step concurrently.

D:

Grounded sequence tests detect deviations in safety-critical instructions, which is relevant if the model gives a step out of order during a practice drill; it does not correct the underlying issue: two volunteers try to complete the same step concurrently.

Microsoft Azure AI Fundamentals (AI-901) Practice Tests