100% Latest & Updated Microsoft AI-103 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 220
A digital education platform is running controlled prompt improvement experiments. The model sometimes produces code fences around JSON. Which approach best fits the requirement?
- Compare both on the same held-out question set
- Clarify the structured-output contract and reject nonconforming responses
- Gate release on important risk-slice and safety thresholds
- Put stable tone and formatting rules in application-level instructions
Explanation
Correct Answer
B:Parse and schema checks keep formatting problems from reaching clients.
Incorrect Answers
A:A fixed evaluation dataset controls for differences in difficulty. Parse and schema checks keep formatting problems from reaching clients.
C:Risk-sensitive acceptance cannot rely only on aggregate utility, whereas parse and schema checks keep formatting problems from reaching clients.
D:Higher-level stable instructions govern style more reliably than hoping each user repeats them. Parse and schema checks keep formatting problems from reaching clients.
Question 221
A grant-review agent consults a changing policy corpus. New regulations arrive but the agent only uses stale indexed files. Which approach best satisfies the stated requirement?
- Remove it from permitted retrieval and invalidate affected caches
- Apply permission-aware retrieval before adding the source to context
- Propagate chunk and document provenance into the output
- Refresh the connected knowledge index or file corpus
Explanation
Correct Answer
D:Knowledge refresh updates evidence independently of the model's pretrained memory.
Incorrect Answers
A:Revoked sources must stop being eligible grounding evidence; knowledge refresh updates evidence independently of the model's pretrained memory.
B:Access control must be enforced during retrieval, not after model completion, whereas knowledge refresh updates evidence independently of the model's pretrained memory.
C:Citations need stable source metadata rather than generated guessed titles. Knowledge refresh updates evidence independently of the model's pretrained memory.
Question 222
A grant-review agent consults a changing policy corpus. A policy document was retracted for legal reasons. What should the engineering team implement?
- Refresh the connected knowledge index or file corpus
- Propagate chunk and document provenance into the output
- Attach a file-search or indexed-knowledge tool to the agent
- Remove it from permitted retrieval and invalidate affected caches
Explanation
Correct Answer
D:Revoked sources must stop being eligible grounding evidence.
Incorrect Answers
A:Knowledge refresh updates evidence independently of the model's pretrained memory, whereas revoked sources must stop being eligible grounding evidence.
B:Citations need stable source metadata rather than generated guessed titles. Revoked sources must stop being eligible grounding evidence.
C:File search surfaces relevant evidence rather than relying on model memorization, but revoked sources must stop being eligible grounding evidence.
Question 223
A grant-review agent consults a changing policy corpus. The agent gives a correct answer but cannot identify its supporting source. Which implementation best satisfies the requirement?
- Remove it from permitted retrieval and invalidate affected caches
- Retrieve a bounded adjacent chunk or use suitable overlap during ingestion
- Apply permission-aware retrieval before adding the source to context
- Propagate chunk and document provenance into the output
Explanation
Correct Answer
D:Citations need stable source metadata rather than generated guessed titles.
Incorrect Answers
A:Revoked sources must stop being eligible grounding evidence. Citations need stable source metadata rather than generated guessed titles.
B:Context reconstruction protects caveats crossing chunk boundaries, but citations need stable source metadata rather than generated guessed titles.
C:Access control must be enforced during retrieval, not after model completion. Citations need stable source metadata rather than generated guessed titles.
Question 224
A grant-review agent consults a changing policy corpus. The user has no permission for a document named in a suggested answer. Which approach best fits the requirement?
- Apply permission-aware retrieval before adding the source to context
- Refresh the connected knowledge index or file corpus
- Attach a file-search or indexed-knowledge tool to the agent
- Propagate chunk and document provenance into the output
Explanation
Correct Answer
A:Access control must be enforced during retrieval, not after model completion.
Incorrect Answers
B:Knowledge refresh updates evidence independently of the model's pretrained memory. Access control must be enforced during retrieval, not after model completion.
C:File search surfaces relevant evidence rather than relying on model memorization; access control must be enforced during retrieval, not after model completion.
D:Citations need stable source metadata rather than generated guessed titles, whereas access control must be enforced during retrieval, not after model completion.
Question 225
A service desk supports multiple callers through a long-running conversational agent. A new caller starts a session and must not see the previous caller's messages. Which approach best satisfies the stated requirement?
- Isolate conversation state by authenticated user and session
- Summarize older turns with verifiable decisions and source links
- Retrieve authorized prior session state and preserve relevant commitments
- Reauthorize each new record access instead of trusting old session permission
Explanation
Correct Answer
A:Session isolation prevents cross-customer message leakage.
Incorrect Answers
B:Bounded memory preserves salient context without runaway token cost; session isolation prevents cross-customer message leakage.
C:Conversation state supports reference resolution across successive turns, whereas session isolation prevents cross-customer message leakage.
D:Session continuity cannot override current object-level authorization. Session isolation prevents cross-customer message leakage.
Question 226
A service desk supports multiple callers through a long-running conversational agent. The caller asks what was decided earlier in their own session. What should the engineering team implement?
- Configure a managed prompt agent in Foundry
- Reauthorize each new record access instead of trusting old session permission
- Summarize older turns with verifiable decisions and source links
- Retrieve authorized prior session state and preserve relevant commitments
Explanation
Correct Answer
D:Conversation state supports reference resolution across successive turns.
Incorrect Answers
A:Prompt agents are defined chiefly through configuration and use a managed runtime; conversation state supports reference resolution across successive turns.
B:Session continuity cannot override current object-level authorization, whereas conversation state supports reference resolution across successive turns.
C:Bounded memory preserves salient context without runaway token cost. Conversation state supports reference resolution across successive turns.
Question 227
A service desk supports multiple callers through a long-running conversational agent. A caller reconnects after a temporary network interruption and should resume the authorized session with its previous state. The conversation service returned a valid session handle during the first connection and still has its permitted durable state after reconnect. Which implementation best satisfies the requirement?
- Isolate conversation state by authenticated user and session
- Reauthorize each new record access instead of trusting old session permission
- Configure a managed prompt agent in Foundry
- Restore authorized session state from a controlled persisted session record
Explanation
Correct Answer
D:Rehydrating scoped session state maintains continuity after a reconnect without merging unrelated users or rebuilding decisions from guesses. Verify the documented behavior on the configured service and preserve relevant authorization controls.
Incorrect Answers
A:Session isolation prevents cross-customer message leakage. This may address a related workflow, but it does not implement restore authorized session state from a controlled persisted session record for the requirement that a caller reconnects after a temporary network interruption and should resume the authorized session with its previous state.
B:Session continuity cannot override current object-level authorization. This may address a related workflow, but it does not implement restore authorized session state from a controlled persisted session record for the requirement that a caller reconnects after a temporary network interruption and should resume the authorized session with its previous state.
C:Prompt agents are defined chiefly through configuration and use a managed runtime. This may address a related workflow, but it does not implement restore authorized session state from a controlled persisted session record for the requirement that a caller reconnects after a temporary network interruption and should resume the authorized session with its previous state.
Question 228
A service desk supports multiple callers through a long-running conversational agent. A staff member revokes the agent's access to a customer record mid-session. Which approach best fits the requirement?
- Isolate conversation state by authenticated user and session
- Deploy a hosted agent containing the team's code
- Retrieve authorized prior session state and preserve relevant commitments
- Reauthorize each new record access instead of trusting old session permission
Explanation
Correct Answer
D:Session continuity cannot override current object-level authorization.
Incorrect Answers
A:Session isolation prevents cross-customer message leakage. Session continuity cannot override current object-level authorization.
B:Hosted agents run custom application code while Foundry manages hosting and identity, but session continuity cannot override current object-level authorization.
C:Conversation state supports reference resolution across successive turns. Session continuity cannot override current object-level authorization.
Question 229
An ecommerce agent can search inventory and place approved replenishment orders. The agent's inventory-check loop never finishes for a missing SKU. Which approach best satisfies the stated requirement?
- Capture tool outcomes and use an explicit fallback-or-escalation branch
- Enforce the maximum purchase amount in the order tool
- Query order status or retry with an idempotency key
- Set a bounded number of attempts and a terminal exception outcome
Explanation
Correct Answer
D:Attempt budgets prevent nonterminating tool loops.
Incorrect Answers
A:Error-aware orchestration prevents blind repetition of failed steps, but attempt budgets prevent nonterminating tool loops.
B:Backend spending limits cannot depend only on prompt compliance. Attempt budgets prevent nonterminating tool loops.
C:Exactly-once side effects need transactional safeguards around retries; attempt budgets prevent nonterminating tool loops.
Question 230
An ecommerce agent can search inventory and place approved replenishment orders. The agent can choose a supplier but must not exceed a spending ceiling. What should the engineering team implement?
- Set a bounded number of attempts and a terminal exception outcome
- Capture tool outcomes and use an explicit fallback-or-escalation branch
- Add an explicit inventory validation branch before fulfillment
- Enforce the maximum purchase amount in the order tool
Explanation
Correct Answer
D:Backend spending limits cannot depend only on prompt compliance.
Incorrect Answers
A:Attempt budgets prevent nonterminating tool loops. Backend spending limits cannot depend only on prompt compliance.
B:Error-aware orchestration prevents blind repetition of failed steps; backend spending limits cannot depend only on prompt compliance.
C:Business rules determine whether side effects are authorized regardless of model confidence, whereas backend spending limits cannot depend only on prompt compliance.
Developing AI Apps and Agents on Azure (AI-103) Practice Tests