Microsoft AB-620 Practice Test 13
Question 120
The original requirement was: An agent needs to return strict JSON to an internal middleware caller but readable prose in a customer chat. The initial control is already in place. A new requirement appears: The middleware later introduces a required schema version field. What ADDITIONAL action BEST addresses that change?
- Reuse a free-form conversational paragraph where the consuming API requires JSON
- Schema tests parse the API output and human-channel tests display clear natural language
- Version and validate the output contract before deployment
- Configure channel-aware response formatting and a schema-valid structured output for the middleware
Explanation
Correct Answer
C:If a new middleware field becomes mandatory, evolve and version the structured schema and add regression cases. Do not silently change customer-facing wording or send a partially compliant payload to the dependent service.
Incorrect Answers
A:This was not defensible for the initial situation and remains inappropriate. Free-form text can violate parser expectations
B:This documents the original outcome rather than implementing the new change. Schema tests parse the API output and human-channel tests display clear natural language
D:This is the already deployed original solution. Machine-readable contracts and human responses have distinct format requirements It does not address the additional requirement by itself.
Question 121
A customer chooses a different product during a multi-step cancellation conversation. Which recommendation BEST meets the original requirement?
- Keep the original product ID indefinitely while presenting the newly selected product name
- Replace the single-valued state with a validated collection and confirm each target
- Implement a governed custom knowledge retrieval trigger or tool with properly shaped grounded results
- Use explicit conditions and correctly reset or overwrite topic variables when the product changes
Explanation
Correct Answer
D:Bind the current selected product ID to a typed topic variable and validate it before the next action. The topic should reflect an explicit user change instead of continuing with an earlier, now-stale selection.
Incorrect Answers
A:Mismatched state can cancel an unintended product The rejected option is: Keep the original product ID indefinitely while presenting the newly selected product name
B:This applies when a different later requirement appears: The customer now wants to cancel two different products together A multi-item action needs a structured list and per-item authorization It is not the requested initial control.
C:This can be useful in a different Configure topics context: A proprietary search service is the only approved source for a complex contract-answer topic It is not the most directly justified action for the stated scenario.
Question 122
A customer chooses a different product during a multi-step cancellation conversation. A proposed alternative is: 'Keep the original product ID indefinitely while presenting the newly selected product name'. Which diagnosis BEST explains the deficiency in that alternative?
- Invented slots are not grounded in actual provider state
- Local scope limits stale state and accidental reuse elsewhere in the agent
- A multi-item action needs a structured list and per-item authorization
- Mismatched state can cancel an unintended product
Explanation
Correct Answer
D:Reusing a previous product ID after the customer changes their selection risks a wrong-target transaction. Overwrite or invalidate prior state and do not let answer fluency stand in for the current verified choice.
Incorrect Answers
A:This concern relates to a different decision: An agent's HTTP topic occasionally receives a 503 error from an availability API It does not directly diagnose the rejected proposal here: Keep the original product ID indefinitely while presenting the newly selected product name
B:That justification supports another control: Store the value as a topic variable with appropriate type and pass it explicitly to tool inputs It does not establish the immediate flaw in this scenario's proposal.
C:This describes a future change: The customer now wants to cancel two different products together It does not explain why the present proposed action is deficient.
Question 123
A customer chooses a different product during a multi-step cancellation conversation. After adopting 'Use explicit conditions and correctly reset or overwrite topic variables when the product changes', which result is the STRONGEST evidence that the control works?
- Topic tests show the value is available within the branch but not silently in unrelated topics
- The design board approves 'Use explicit conditions and correctly reset or overwrite topic variables when the product changes' on paper, without executing its validation procedure.
- No user complaints have been recorded about the configure topics service since the last meeting.
- Tests switch products mid-dialogue and confirm only the final authorized ID is used
Explanation
Correct Answer
D:Change the selection twice within one dialogue and verify that only the final authorized product ID is sent to the tool. Test clearing a selection as well as replacing it to detect stale state.
Incorrect Answers
A:This confirms a different outcome: A topic asks for a contract number and uses it only during the current conversation branch It does not directly demonstrate the current implemented control.
B:Governance approval is not the same as operational evidence. A stronger proof for this case is: Tests switch products mid-dialogue and confirm only the final authorized ID is used
C:Absence of complaints does not establish control effectiveness. This case needs observed evidence: Tests switch products mid-dialogue and confirm only the final authorized ID is used
Question 124
The original requirement was: A customer chooses a different product during a multi-step cancellation conversation. The initial control is already in place. A new requirement appears: The customer now wants to cancel two different products together. What ADDITIONAL action BEST addresses that change?
- Use explicit conditions and correctly reset or overwrite topic variables when the product changes
- Keep the original product ID indefinitely while presenting the newly selected product name
- Tests switch products mid-dialogue and confirm only the final authorized ID is used
- Replace the single-valued state with a validated collection and confirm each target
Explanation
Correct Answer
D:Canceling two products requires a validated collection of two distinct authorized identifiers, not one scalar reused after a new selection. Confirm both targets and require the downstream action to check each item’s entitlement and result.
Incorrect Answers
A:This is the already deployed original solution. Conversation state must reflect the latest confirmed selection to avoid wrong-target actions It does not address the additional requirement by itself.
B:This was not defensible for the initial situation and remains inappropriate. Mismatched state can cancel an unintended product
C:This documents the original outcome rather than implementing the new change. Tests switch products mid-dialogue and confirm only the final authorized ID is used
Question 125
A proprietary contract-search service is the sole approved source for a knowledge agent. Select TWO: an authorized retrieval integration and a direct test showing that only relevant permitted excerpts with source IDs reach its answers.
- Copy the entire unfiltered private index into the base prompt for every request
- Filter and redact search results before handing them to generation
- Add an explicit transient-error branch with bounded retry and a useful fallback message
- Implement a governed custom knowledge retrieval trigger or tool with properly shaped grounded results
- Evaluation traces contain only authorized top-ranked excerpts with source identifiers
Explanation
Correct Answers
D:The initial safeguard is a governed custom knowledge retrieval tool that returns only authorized contract passages with source IDs and grounded result fields. Bulk copying the proprietary index into every prompt is unnecessary and unsafe.
E:The direct proof is an evaluated retrieval trace showing only permission-checked, relevant excerpts, with verifiable source identifiers and no unapproved contract records. A diagram or link to the search service is not evidence of correct authorization.
Incorrect Answers
A:Incorrect alternative. Bulk exposure increases confidentiality and context-limit risks The proposed action is not a safe substitute for the intended control.
B:This could become relevant when requirements change: The security team later requires redaction of confidential identifiers before the model sees excerpts It is not a direct validation of the current requirement.
C:This measure addresses a different Configure topics condition: An agent's HTTP topic occasionally receives a 503 error from an availability API
Question 126
A proprietary search service is the only approved source for a complex contract-answer topic. A proposed alternative is: 'Copy the entire unfiltered private index into the base prompt for every request'. Which diagnosis BEST explains the deficiency in that alternative?
- Bulk exposure increases confidentiality and context-limit risks
- Unnecessary broad scope increases accidental data leakage and stale state errors
- Retrieval-based answers should use authorized policy material rather than unaudited model recollection
- Retrieval authorization and prompt exposure controls address different points in the data path
Explanation
Correct Answer
A:Copying the complete private index into every prompt leaks unnecessary records and can exceed context limits. Retrieval should select only relevant, authorized passages with stable source identifiers and support a no-evidence outcome.
Incorrect Answers
B:This concern relates to a different decision: A topic asks for a contract number and uses it only during the current conversation branch It does not directly diagnose the rejected proposal here: Copy the entire unfiltered private index into the base prompt for every request
C:That justification supports another control: Configure a generative answers node with approved knowledge sources and test citation grounding It does not establish the immediate flaw in this scenario's proposal.
D:This describes a future change: The security team later requires redaction of confidential identifiers before the model sees excerpts It does not explain why the present proposed action is deficient.
Question 127
A proprietary search service is the only approved source for a complex contract-answer topic. After adopting 'Implement a governed custom knowledge retrieval trigger or tool with properly shaped grounded results', which result is the STRONGEST evidence that the control works?
- Evaluation traces contain only authorized top-ranked excerpts with source identifiers
- A known question returns the permitted policy passage while an absent fact triggers a grounded uncertainty response
- The design board approves 'Implement a governed custom knowledge retrieval trigger or tool with properly shaped grounded results' on paper, without executing its validation procedure.
- No user complaints have been recorded about the configure topics service since the last meeting.
Explanation
Correct Answer
A:A strong test asks a known question and an unanswerable one. The first should use an authorized indexed excerpt with genuine provenance; the second should state that evidence is absent without fabricating contract terms.
Incorrect Answers
B:This confirms a different outcome: A support topic must answer from a limited policy SharePoint site and cite the source used It does not directly demonstrate the current implemented control.
C:Governance approval is not the same as operational evidence. A stronger proof for this case is: Evaluation traces contain only authorized top-ranked excerpts with source identifiers
D:Absence of complaints does not establish control effectiveness. This case needs observed evidence: Evaluation traces contain only authorized top-ranked excerpts with source identifiers
Question 128
The original requirement was: A proprietary search service is the only approved source for a complex contract-answer topic. The initial control is already in place. A new requirement appears: The security team later requires redaction of confidential identifiers before the model sees excerpts. What ADDITIONAL action BEST addresses that change?
- Filter and redact search results before handing them to generation
- Implement a governed custom knowledge retrieval trigger or tool with properly shaped grounded results
- Copy the entire unfiltered private index into the base prompt for every request
- Evaluation traces contain only authorized top-ranked excerpts with source identifiers
Explanation
Correct Answer
A:The later redaction requirement applies before generation: remove or mask protected identifiers in retrieved excerpts under approved policy, even for an otherwise-authorized search result. Maintain the source-link metadata necessary for audit.
Incorrect Answers
B:This is the already deployed original solution. Structured retrieval results let the agent answer from the permitted proprietary index It does not address the additional requirement by itself.
C:This was not defensible for the initial situation and remains inappropriate. Bulk exposure increases confidentiality and context-limit risks
D:This documents the original outcome rather than implementing the new change. Evaluation traces contain only authorized top-ranked excerpts with source identifiers
Question 129
An agent's HTTP topic occasionally receives a 503 error from an availability API. Which recommendation BEST meets the original requirement?
- Store the value as a topic variable with appropriate type and pass it explicitly to tool inputs
- Add an explicit transient-error branch with bounded retry and a useful fallback message
- Respond with made-up available appointments every time the API times out
- Handle authorization failures through credential renewal or connection repair instead of general retries
Explanation
Correct Answer
B:An HTTP tool must handle transient service unavailability explicitly. Configure a bounded, status-aware retry or deferred recovery path for 503, then provide a meaningful customer fallback if the endpoint does not recover.
Incorrect Answers
A:This can be useful in a different Configure topics context: A topic asks for a contract number and uses it only during the current conversation branch It is not the most directly justified action for the stated scenario.
C:Invented slots are not grounded in actual provider state The rejected option is: Respond with made-up available appointments every time the API times out
D:This applies when a different later requirement appears: The provider later returns 401 when a service token expires Authentication failure requires a distinct remediation from transient service unavailability It is not the requested initial control.
Question 130
An agent's HTTP topic occasionally receives a 503 error from an availability API. A proposed alternative is: 'Respond with made-up available appointments every time the API times out'. Which diagnosis BEST explains the deficiency in that alternative?
- Structured input reduces free-text ambiguity when the channel can render interactive cards
- Authentication failure requires a distinct remediation from transient service unavailability
- Invented slots are not grounded in actual provider state
- Fabricated citations undermine trust and may misstate official policy
Explanation
Correct Answer
C:After a 503 or timeout, inventing appointment availability asserts a fact the provider never returned. The safe branch reports temporary unavailability and preserves the request context for bounded retry without fictitious booking slots.
Incorrect Answers
A:That justification supports another control: Use an Adaptive Card with typed inputs and a validated submit action supported by the target channel It does not establish the immediate flaw in this scenario's proposal.
B:This describes a future change: The provider later returns 401 when a service token expires It does not explain why the present proposed action is deficient.
D:This concern relates to a different decision: A support topic must answer from a limited policy SharePoint site and cite the source used It does not directly diagnose the rejected proposal here: Respond with made-up available appointments every time the API times out