Microsoft AB-620 Practice Test 22
Question 210
A supported standard-harness tenant has the preview REST API tool enabled and a reachable authenticated internal JSON API, but no existing Power Platform custom connector. A proposed alternative is: 'Send arbitrary user text as executable code to a private server endpoint'. Which diagnosis BEST explains the deficiency in that alternative?
- Code execution from untrusted input is not an API contract
- Confidence is not a substitute for authorization or human consent
- Reliable tools need explicit failure semantics rather than optimistic natural-language guesses
- Repeated cross-agent use benefits from centrally managed schemas
Explanation
Correct Answer
A:Executing arbitrary chat text on a server is not the REST tool contract. The supported preview requires an operation described in OpenAPI v2, with declared inputs and authentication; the API must treat user content as validated data, not executable instructions.
Incorrect Answers
B:This concern relates to a different decision: An agent exposes a REST endpoint that can delete customer records, and the API accepts any valid service token It does not directly diagnose the rejected proposal here: Send arbitrary user text as executable code to a private server endpoint
C:That justification supports another control: Normalize outputs to typed success, error and pending states and branch on those states It does not establish the immediate flaw in this scenario's proposal.
D:This describes a future change: Several agents later need the same API and must share one versioned integration It does not explain why the present proposed action is deficient.
Question 211
A supported standard-harness tenant has the preview REST API tool enabled and a reachable authenticated internal JSON API, but no existing Power Platform custom connector. After adopting 'Add a REST API tool with a defined operation, inputs, response schema, secure connection and error rules', which result is the STRONGEST evidence that the control works?
- Contract tests validate request types, response mapping, authorization and non-2xx status handling
- Tests for 200, 401 and 503 yield distinct structured outcomes with no false success
- The design board approves 'Add a REST API tool with a defined operation, inputs, response schema, secure connection and error rules' on paper, without executing its validation procedure.
- No user complaints have been recorded about the add tools to agents service since the last meeting.
Explanation
Correct Answer
A:An acceptance test for the preview REST tool must prove that its OpenAPI v2 operation maps schema-valid requests, enforces identity, and returns expected 2xx and controlled 4xx/5xx responses. The current Microsoft preview documentation does not certify that any private/internal endpoint is reachable without networking configuration.
Incorrect Answers
B:This confirms a different outcome: A tool returns unpredictable unstructured text after a failed API call and the agent invents an order status 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: Contract tests validate request types, response mapping, authorization and non-2xx status handling
D:Absence of complaints does not establish control effectiveness. This case needs observed evidence: Contract tests validate request types, response mapping, authorization and non-2xx status handling
Question 212
The original requirement was: A supported standard-harness tenant has the preview REST API tool enabled and a reachable authenticated internal JSON API, but no existing Power Platform custom connector. The initial control is already in place. A new requirement appears: Several agents later need the same API and must share one versioned integration. What ADDITIONAL action BEST addresses that change?
- Package a reusable governed custom connector or MCP endpoint as appropriate
- Add a REST API tool with a defined operation, inputs, response schema, secure connection and error rules
- Send arbitrary user text as executable code to a private server endpoint
- Contract tests validate request types, response mapping, authorization and non-2xx status handling
Explanation
Correct Answer
A:If multiple agents later need this operation, a governed reusable custom connector or authorized MCP service can centralize versioning. The initial direct REST tool remains preview-only, so selecting a production route requires a separate compatibility and access decision rather than copying a preview configuration to every agent.
Incorrect Answers
B:This is the already deployed original solution. Direct REST integration is appropriate when one supported endpoint meets a specific tool need It does not address the additional requirement by itself.
C:This was not defensible for the initial situation and remains inappropriate. Code execution from untrusted input is not an API contract
D:This documents the original outcome rather than implementing the new change. Contract tests validate request types, response mapping, authorization and non-2xx status handling
Question 213
A REST API returns 202 Accepted with a job identifier rather than the completed export file. Which recommendation BEST meets the original requirement?
- Add explicit action confirmation, business authorization and narrowly scoped credentials to the destructive tool
- Treat 202 as pending and track the operation until completion through polling or callback
- Report the file as ready immediately when the 202 status arrives
- Implement bounded retry with Retry-After or provider guidance and preserve idempotency
Explanation
Correct Answer
B:HTTP 202 means the request was accepted for processing, not that the export file exists. Record the returned operation identifier, reply with a pending state, and use an authorized status endpoint or callback to confirm completion.
Incorrect Answers
A:This can be useful in a different Add tools to agents context: An agent exposes a REST endpoint that can delete customer records, and the API accepts any valid service token It is not the most directly justified action for the stated scenario.
C:Premature completion claims can mislead users and break downstream steps The rejected option is: Report the file as ready immediately when the 202 status arrives
D:This applies when a different later requirement appears: The export service later introduces rate limiting during high-volume use New rate limits affect retry behavior, not the meaning of completed status It is not the requested initial control.
Question 214
A REST API returns 202 Accepted with a job identifier rather than the completed export file. A proposed alternative is: 'Report the file as ready immediately when the 202 status arrives'. Which diagnosis BEST explains the deficiency in that alternative?
- New rate limits affect retry behavior, not the meaning of completed status
- Premature completion claims can mislead users and break downstream steps
- Missing error signals make fabricated completion more likely
- Computer use can automate GUI-only workflows but needs clear operational and authorization boundaries
Explanation
Correct Answer
B:Treating 202 as completed can provide users a nonexistent artifact and may trigger follow-up processing too soon. The missing step is checking the asynchronous job’s terminal state before asserting availability.
Incorrect Answers
A:This describes a future change: The export service later introduces rate limiting during high-volume use It does not explain why the present proposed action is deficient.
C:This concern relates to a different decision: A tool returns unpredictable unstructured text after a failed API call and the agent invents an order status It does not directly diagnose the rejected proposal here: Report the file as ready immediately when the 202 status arrives
D:That justification supports another control: Evaluate a governed computer-use tool with a defined desktop task, least-privileged session and failure checkpoints It does not establish the immediate flaw in this scenario's proposal.
Question 215
A REST API returns 202 Accepted with a job identifier rather than the completed export file. After adopting 'Treat 202 as pending and track the operation until completion through polling or callback', which result is the STRONGEST evidence that the control works?
- No user complaints have been recorded about the add tools to agents service since the last meeting.
- A test progresses from accepted to completed and returns a traceable final artifact ID
- A staged desktop test records correct field entry, evidence of completion and a safe stop on changed screens
- The design board approves 'Treat 202 as pending and track the operation until completion through polling or callback' on paper, without executing its validation procedure.
Explanation
Correct Answer
B:Test a mock job moving from accepted to running to completed, and confirm the returned artifact ID matches the original operation. A status code alone does not demonstrate content generation or traceability.
Incorrect Answers
A:Absence of complaints does not establish control effectiveness. This case needs observed evidence: A test progresses from accepted to completed and returns a traceable final artifact ID
C:This confirms a different outcome: A legacy finance desktop application has no supported API and a clerk repeats an approved data-entry task It does not directly demonstrate the current implemented control.
D:Governance approval is not the same as operational evidence. A stronger proof for this case is: A test progresses from accepted to completed and returns a traceable final artifact ID
Question 216
The original requirement was: A REST API returns 202 Accepted with a job identifier rather than the completed export file. The initial control is already in place. A new requirement appears: The export service later introduces rate limiting during high-volume use. What ADDITIONAL action BEST addresses that change?
- A test progresses from accepted to completed and returns a traceable final artifact ID
- Implement bounded retry with Retry-After or provider guidance and preserve idempotency
- Treat 202 as pending and track the operation until completion through polling or callback
- Report the file as ready immediately when the 202 status arrives
Explanation
Correct Answer
B:When polling is throttled, honor a documented Retry-After value or bounded provider-recommended backoff. Maintain the same operation reference rather than resubmitting a potentially duplicated export request.
Incorrect Answers
A:This documents the original outcome rather than implementing the new change. A test progresses from accepted to completed and returns a traceable final artifact ID
C:This is the already deployed original solution. An accepted request is not evidence that a long-running job has finished It does not address the additional requirement by itself.
D:This was not defensible for the initial situation and remains inappropriate. Premature completion claims can mislead users and break downstream steps
Question 217
An agent exposes a REST endpoint that can delete customer records, and the API accepts any valid service token. Which recommendation BEST meets the original requirement?
- Implement reversible status updates, recovery testing and retention according to policy
- Normalize outputs to typed success, error and pending states and branch on those states
- Add explicit action confirmation, business authorization and narrowly scoped credentials to the destructive tool
- Trust the model's confidence score as sufficient authorization to delete records
Explanation
Correct Answer
C:A valid service token does not authorize every individual deletion. Require a named business authorization, record-level permission verification and explicit confirmation before exposing this destructive operation, using narrowly scoped connector rights.
Incorrect Answers
A:This applies when a different later requirement appears: The organization later adds a reversible soft-delete requirement Reversibility changes the destructive workflow and its restoration evidence It is not the requested initial control.
B:This can be useful in a different Add tools to agents context: A tool returns unpredictable unstructured text after a failed API call and the agent invents an order status It is not the most directly justified action for the stated scenario.
D:Confidence is not a substitute for authorization or human consent The rejected option is: Trust the model's confidence score as sufficient authorization to delete records
Question 218
An agent exposes a REST endpoint that can delete customer records, and the API accepts any valid service token. A proposed alternative is: 'Trust the model's confidence score as sufficient authorization to delete records'. Which diagnosis BEST explains the deficiency in that alternative?
- GUI automation must verify what is actually visible rather than assume old screen coordinates
- Reversibility changes the destructive workflow and its restoration evidence
- Confidence is not a substitute for authorization or human consent
- Broad unsupervised desktop permissions create unnecessary security and execution risk
Explanation
Correct Answer
C:An LLM confidence score or natural-language assurance cannot establish consent or a source-system deletion entitlement. The tool must reject unauthorized callers even if their prompt sounds confident or urgent.
Incorrect Answers
A:That justification supports another control: Review recorded screenshots, execution traces and task instructions, then add robust validation before committing It does not establish the immediate flaw in this scenario's proposal.
B:This describes a future change: The organization later adds a reversible soft-delete requirement It does not explain why the present proposed action is deficient.
D:This concern relates to a different decision: A legacy finance desktop application has no supported API and a clerk repeats an approved data-entry task It does not directly diagnose the rejected proposal here: Trust the model's confidence score as sufficient authorization to delete records
Question 219
An agent exposes a REST endpoint that can delete customer records, and the API accepts any valid service token. After adopting 'Add explicit action confirmation, business authorization and narrowly scoped credentials to the destructive tool', which result is the STRONGEST evidence that the control works?
- The design board approves 'Add explicit action confirmation, business authorization and narrowly scoped credentials to the destructive tool' on paper, without executing its validation procedure.
- No user complaints have been recorded about the add tools to agents service since the last meeting.
- A non-privileged user cannot delete records and authorized deletion requires a recorded approval
- A test run detects the changed layout and stops without committing an unintended transaction
Explanation
Correct Answer
C:Use a low-privilege test caller and an authorized approver on disposable records. Verify denied deletion has no side effect and permitted deletion is linked to an explicit recorded approval and audit identifier.
Incorrect Answers
A:Governance approval is not the same as operational evidence. A stronger proof for this case is: A non-privileged user cannot delete records and authorized deletion requires a recorded approval
B:Absence of complaints does not establish control effectiveness. This case needs observed evidence: A non-privileged user cannot delete records and authorized deletion requires a recorded approval
D:This confirms a different outcome: A computer-using agent repeatedly clicks the wrong Save button after a legacy app updates its layout It does not directly demonstrate the current implemented control.
Question 220
The original requirement was: An agent exposes a REST endpoint that can delete customer records, and the API accepts any valid service token. The initial control is already in place. A new requirement appears: The organization later adds a reversible soft-delete requirement. What ADDITIONAL action BEST addresses that change?
- Trust the model's confidence score as sufficient authorization to delete records
- A non-privileged user cannot delete records and authorized deletion requires a recorded approval
- Implement reversible status updates, recovery testing and retention according to policy
- Add explicit action confirmation, business authorization and narrowly scoped credentials to the destructive tool
Explanation
Correct Answer
C:If retention later requires restoration, prefer a policy-compliant reversible state transition with a tested recovery path. The new safety requirement does not justify silently retaining prohibited data beyond its legal retention schedule.
Incorrect Answers
A:This was not defensible for the initial situation and remains inappropriate. Confidence is not a substitute for authorization or human consent
B:This documents the original outcome rather than implementing the new change. A non-privileged user cannot delete records and authorized deletion requires a recorded approval
D:This is the already deployed original solution. A valid connection alone does not mean every user should perform high-impact actions It does not address the additional requirement by itself.