Question 210
An engineer receives this incident report: A frontend must be edited every time the developer changes the agent's model or instructions. What should be changed?
- Migrate consumers, disable the stale agent endpoint, and revoke its credentials
- Route approved computation to an isolated code tool with validated file inputs
- Publish a stable agent interface and manage revision selection in deployment configuration
- Use an approved shared tool integration with centralized access policy and secret handling
Explanation
Correct Answer
C:The fault signal is that a frontend must be edited every time the developer changes the agent's model or instructions; the targeted fix works because versioned published endpoints decouple client contracts from internals and support staged promotion when the platform supports it, restoring the ability to let several applications consume an agent while its implementation changes under controlled release.
Incorrect Answers
A:If the failing function were to remove old versions that retain deprecated tools without disrupting active clients, this change could be relevant because a controlled retirement checks clients, revokes unused credentials, and archives relevant audit records before deletion; the actual symptom is that a frontend must be edited every time the developer changes the agent's model or instructions, which calls for a different repair.
B:If the failing function were to let an agent aggregate a supplied numeric CSV where exact computation is important, this change could be relevant because a sandboxed execution tool performs calculations deterministically; executable code needs strict isolation and resource limits; the actual symptom is that a frontend must be edited every time the developer changes the agent's model or instructions, which calls for a different repair.
D:If the failing function were to avoid giving every agent separate uncontrolled credentials for the same external service, this change could be relevant because centralized governed tool access can standardize authentication and logging while each agent remains least privileged; the actual symptom is that a frontend must be edited every time the developer changes the agent's model or instructions, which calls for a different repair.
Question 211
What test should engineers run after they evaluate whether an agent chooses appropriate tools, rather than relying solely on a successful API response?
- Locate the first failing step and measure time spent by workflow stage
- Use a labeled error taxonomy and compare the distribution before and after each change
- Measure tool precision, forbidden-call rate, and unnecessary invocation count
- Run no-result test cases and verify termination under configured budgets
Explanation
Correct Answer
C:The accepted change is to evaluate whether an agent chooses appropriate tools; this evaluation checks whether it can detect unnecessary or dangerous tool calls even when its final prose looks plausible, since tool-selection evaluation examines intermediate actions and authorization fit, not only the final natural-language answer.
Incorrect Answers
A:This test concerns the ability to find where a lengthy agent plan diverges from intended workflow, for which per-step tracing captures model requests, tool parameters, statuses and transitions; a final response log hides the path taken; it does not establish whether the change to evaluate whether an agent chooses appropriate tools works for the current release.
B:This test concerns the ability to prioritize corrections across retrieval misses, malformed tools, policy blocks, and model planning errors, for which failure classification links observed symptoms to the component that can be improved; a single aggregate error rate obscures causes; it does not establish whether the change to evaluate whether an agent chooses appropriate tools works for the current release.
D:This test concerns the ability to stop self-triggering tool loops from consuming unlimited tokens or external calls, for which step, time, and spending limits create enforceable failure boundaries regardless of the prompt plan; it does not establish whether the change to evaluate whether an agent chooses appropriate tools works for the current release.
Question 212
A design review proposes to run task-completion evaluations with ground truth. Which measurable check would establish success on real inputs?
- Locate the first failing step and measure time spent by workflow stage
- Compute end-to-end task completion and false-success claim rates
- Use a labeled error taxonomy and compare the distribution before and after each change
- Measure field-level extraction accuracy on labeled scans and low-quality images
Explanation
Correct Answer
B:The accepted change is to run task-completion evaluations with ground truth; this evaluation checks whether it can determine whether the agent actually achieved a multi-step business goal, since task-success tests compare final system state with expected outcomes; prose fluency does not prove work was completed.
Incorrect Answers
A:This test concerns the ability to find where a lengthy agent plan diverges from intended workflow, for which per-step tracing captures model requests, tool parameters, statuses and transitions; a final response log hides the path taken; it does not establish whether the change to run task-completion evaluations with ground truth works for the current release.
C:This test concerns the ability to prioritize corrections across retrieval misses, malformed tools, policy blocks, and model planning errors, for which failure classification links observed symptoms to the component that can be improved; a single aggregate error rate obscures causes; it does not establish whether the change to run task-completion evaluations with ground truth works for the current release.
D:This test concerns the ability to enable an agent to read key fields from photographed or scanned paperwork, for which document extraction tools convert visual text and layout into structured data suitable for subsequent agent reasoning; it does not establish whether the change to run task-completion evaluations with ground truth works for the current release.
Question 213
An architecture board is assessing 3 separate deliverables: (1) route finance, operations, and security questions to different bounded expert agents; (2) combine independent research subtasks into a coherent final response with oversight; and (3) stop one agent from receiving private data that another agent needed only for its subtask. Which distinct implementations meet these deliverables? Choose THREE.
- Use a dispatcher agent to select a specialist
- Use a supervisor to coordinate parallel worker agents
- Limit information passed between specialist agents
- Register a read-only API tool for live status
- Use a sequential handoff between specialist agents
- Evaluate whether an agent chooses appropriate tools
Explanation
Correct Answers
A:For the stated requirement to route finance, operations, and security questions to different bounded expert agents, a router delegates to an appropriate specialist with a narrow tool set; a single all-powerful agent is harder to govern; this is the mechanism that the system must implement. This choice satisfies the specific deliverable to route finance, operations, and security questions to different bounded expert agents, while the other deliverables require separate capabilities.
B:For the stated requirement to combine independent research subtasks into a coherent final response with oversight, a supervisor can assign independent tasks, collect outputs, and apply cross-checks before presenting an answer; this is the mechanism that the system must implement. This choice satisfies the specific deliverable to combine independent research subtasks into a coherent final response with oversight, while the other deliverables require separate capabilities.
C:For the stated requirement to stop one agent from receiving private data that another agent needed only for its subtask, scoped messages and redacted handoff contracts minimize sensitive context propagation across multiple agents; this is the mechanism that the system must implement. This choice satisfies the specific deliverable to stop one agent from receiving private data that another agent needed only for its subtask, while the other deliverables require separate capabilities.
Incorrect Answers
D:For a system whose objective is to let an agent check a shipment's present location without permission to modify the order, a scoped API tool obtains current transactional facts while maintaining least-privilege read access; this does not directly meet the required outcome to combine independent research subtasks into a coherent final response with oversight.
E:For a system whose objective is to require one specialist's validated output before another starts its dependent work, a sequential handoff makes intermediate contracts explicit; parallel execution would violate a data dependency; this does not directly meet the required outcome to combine independent research subtasks into a coherent final response with oversight.
F:For a system whose objective is to detect unnecessary or dangerous tool calls even when its final prose looks plausible, tool-selection evaluation examines intermediate actions and authorization fit, not only the final natural-language answer; this does not directly meet the required outcome to combine independent research subtasks into a coherent final response with oversight.
Question 214
A user-acceptance test fails with the following observation: A follow-up referring to previously selected records is treated as a brand-new query. What is the best correction?
- Route approved computation to an isolated code tool with validated file inputs
- Carry relevant prior tool results and user selections in session-scoped conversation state
- Summarize older turns, keep current facts verbatim, and validate the retained state
- Exclude transient secrets from memory and enforce state expiration policies
Explanation
Correct Answer
B:The fault signal is that a follow-up referring to previously selected records is treated as a brand-new query; the targeted fix works because conversation tracking gives referential continuity across turns, but the context should be bounded to the correct user session, restoring the ability to resolve 'those two records' by retaining the preceding selection context.
Incorrect Answers
A:If the failing function were to let an agent aggregate a supplied numeric CSV where exact computation is important, this change could be relevant because a sandboxed execution tool performs calculations deterministically; executable code needs strict isolation and resource limits; the actual symptom is that a follow-up referring to previously selected records is treated as a brand-new query, which calls for a different repair.
C:If the failing function were to retain key decisions after a long conversation becomes too large to replay verbatim, this change could be relevant because a validated rolling summary compresses history while preserving commitments and identifiers; careless compression can discard safety constraints; the actual symptom is that a follow-up referring to previously selected records is treated as a brand-new query, which calls for a different repair.
D:If the failing function were to avoid retaining authentication tokens or temporary PII inside agent memory longer than needed, this change could be relevant because short-lived state and purpose-based retention protect secrets and sensitive data; summarization is not a substitute for removal; the actual symptom is that a follow-up referring to previously selected records is treated as a brand-new query, which calls for a different repair.
Question 215
A cloud engineering team needs its AI workflow to let an agent aggregate a supplied numeric CSV where exact computation is important. What technical approach most directly enables that?
- Scope shared tool access centrally
- Register a read-only API tool for live status
- Use a content-extraction tool for uploaded forms
- Add code execution for bounded data calculations
Explanation
Correct Answer
D:For the stated requirement to let an agent aggregate a supplied numeric CSV where exact computation is important, a sandboxed execution tool performs calculations deterministically; executable code needs strict isolation and resource limits; this is the mechanism that the system must implement.
Incorrect Answers
A:For a system whose objective is to avoid giving every agent separate uncontrolled credentials for the same external service, centralized governed tool access can standardize authentication and logging while each agent remains least privileged; this does not directly meet the required outcome to let an agent aggregate a supplied numeric CSV where exact computation is important.
B:For a system whose objective is to let an agent check a shipment's present location without permission to modify the order, a scoped API tool obtains current transactional facts while maintaining least-privilege read access; this does not directly meet the required outcome to let an agent aggregate a supplied numeric CSV where exact computation is important.
C:For a system whose objective is to enable an agent to read key fields from photographed or scanned paperwork, document extraction tools convert visual text and layout into structured data suitable for subsequent agent reasoning; this does not directly meet the required outcome to let an agent aggregate a supplied numeric CSV where exact computation is important.
Question 216
A product team must prioritize corrections across retrieval misses, malformed tools, policy blocks, and model planning errors. What is the most appropriate Azure AI implementation?
- Evaluate whether an agent chooses appropriate tools
- Analyze agent errors by failure class
- Decommission obsolete agent versions safely
- Run task-completion evaluations with ground truth
Explanation
Correct Answer
B:For the stated requirement to prioritize corrections across retrieval misses, malformed tools, policy blocks, and model planning errors, failure classification links observed symptoms to the component that can be improved; a single aggregate error rate obscures causes; this is the mechanism that the system must implement.
Incorrect Answers
A:For a system whose objective is to detect unnecessary or dangerous tool calls even when its final prose looks plausible, tool-selection evaluation examines intermediate actions and authorization fit, not only the final natural-language answer; this does not directly meet the required outcome to prioritize corrections across retrieval misses, malformed tools, policy blocks, and model planning errors.
C:For a system whose objective is to remove old versions that retain deprecated tools without disrupting active clients, a controlled retirement checks clients, revokes unused credentials, and archives relevant audit records before deletion; this does not directly meet the required outcome to prioritize corrections across retrieval misses, malformed tools, policy blocks, and model planning errors.
D:For a system whose objective is to determine whether the agent actually achieved a multi-step business goal, task-success tests compare final system state with expected outcomes; prose fluency does not prove work was completed; this does not directly meet the required outcome to prioritize corrections across retrieval misses, malformed tools, policy blocks, and model planning errors.
Question 217
An Azure AI workload passes basic health probes but has this issue: A booking succeeds but a downstream reservation step fails, leaving an inconsistent partial order. Which fix targets it?
- Define and test compensating operations for successfully completed steps when later steps fail
- Persist transactional state and idempotency keys outside the language-model transcript
- Place a mandatory approval gate on the account-closure tool
- Use stable operation identifiers and enforce idempotent processing server-side
Explanation
Correct Answer
A:The fault signal is that a booking succeeds but a downstream reservation step fails, leaving an inconsistent partial order; the targeted fix works because a compensating action undoes or offsets previously committed steps where a transaction cannot be atomic across services, restoring the ability to recover from a partially completed workflow when a later operation fails.
Incorrect Answers
B:If the failing function were to resume a long-running workflow safely after an inference retry, this change could be relevant because durable workflow state records completed steps and pending approvals; relying only on the model's last text risks duplicate side effects; the actual symptom is that a booking succeeds but a downstream reservation step fails, leaving an inconsistent partial order, which calls for a different repair.
C:If the failing function were to prevent an autonomous agent from executing account closure without explicit review, this change could be relevant because a human approval checkpoint separates proposed actions from committed side effects and provides an auditable decision; the actual symptom is that a booking succeeds but a downstream reservation step fails, leaving an inconsistent partial order, which calls for a different repair.
D:If the failing function were to prevent double charging when an agent retries after a network timeout, this change could be relevant because an idempotency key ties a logical transaction to one effect even if the same request is retried; the actual symptom is that a booking succeeds but a downstream reservation step fails, leaving an inconsistent partial order, which calls for a different repair.
Question 218
A solution architect is deciding how to enforce what both the service and the delegated user are authorized to do. Which Azure AI pattern addresses that task?
- Separate agent identity from the human requester
- Evaluate whether an agent chooses appropriate tools
- Scope shared tool access centrally
- Decommission obsolete agent versions safely
Explanation
Correct Answer
A:For the stated requirement to enforce what both the service and the delegated user are authorized to do, a workload identity authenticates the agent service, while user-aware authorization limits operations on behalf of a caller; this is the mechanism that the system must implement.
Incorrect Answers
B:For a system whose objective is to detect unnecessary or dangerous tool calls even when its final prose looks plausible, tool-selection evaluation examines intermediate actions and authorization fit, not only the final natural-language answer; this does not directly meet the required outcome to enforce what both the service and the delegated user are authorized to do.
C:For a system whose objective is to avoid giving every agent separate uncontrolled credentials for the same external service, centralized governed tool access can standardize authentication and logging while each agent remains least privileged; this does not directly meet the required outcome to enforce what both the service and the delegated user are authorized to do.
D:For a system whose objective is to remove old versions that retain deprecated tools without disrupting active clients, a controlled retirement checks clients, revokes unused credentials, and archives relevant audit records before deletion; this does not directly meet the required outcome to enforce what both the service and the delegated user are authorized to do.
Question 219
In an architecture review, the key requirement is to remove old versions that retain deprecated tools without disrupting active clients. Which solution directly satisfies it?
- Expire temporary secrets and tool results
- Scope shared tool access centrally
- Publish a versioned agent endpoint for stable clients
- Decommission obsolete agent versions safely
Explanation
Correct Answer
D:For the stated requirement to remove old versions that retain deprecated tools without disrupting active clients, a controlled retirement checks clients, revokes unused credentials, and archives relevant audit records before deletion; this is the mechanism that the system must implement.
Incorrect Answers
A:For a system whose objective is to avoid retaining authentication tokens or temporary PII inside agent memory longer than needed, short-lived state and purpose-based retention protect secrets and sensitive data; summarization is not a substitute for removal; this does not directly meet the required outcome to remove old versions that retain deprecated tools without disrupting active clients.
B:For a system whose objective is to avoid giving every agent separate uncontrolled credentials for the same external service, centralized governed tool access can standardize authentication and logging while each agent remains least privileged; this does not directly meet the required outcome to remove old versions that retain deprecated tools without disrupting active clients.
C:For a system whose objective is to let several applications consume an agent while its implementation changes under controlled release, versioned published endpoints decouple client contracts from internals and support staged promotion when the platform supports it; this does not directly meet the required outcome to remove old versions that retain deprecated tools without disrupting active clients.
Question 220
An Azure AI workload passes basic health probes but has this issue: An unconstrained agent begins offering account-deletion actions during troubleshooting conversations. Which fix targets it?
- Specify the support role and allowed actions, and constrain available tools to that role
- Delimit external evidence and apply instruction-hierarchy and injection controls
- Enforce an extraction-to-analysis handoff with schema validation at the boundary
- Define and test compensating operations for successfully completed steps when later steps fail
- Persist transactional state and idempotency keys outside the language-model transcript
Explanation
Correct Answer
A:The fault signal is that an unconstrained agent begins offering account-deletion actions during troubleshooting conversations; the targeted fix works because a clear role and allowed-goal scope guide planning; enforceable permissions remain necessary at tool boundaries, restoring the ability to keep a support agent focused on diagnosing product issues rather than taking unrelated administrative action.
Incorrect Answers
B:If the failing function were to keep untrusted customer-uploaded text from redefining the agent's permissions, this change could be relevant because trusted control instructions must have higher precedence than external content; retrieved pages are data, not agent policy; the actual symptom is that an unconstrained agent begins offering account-deletion actions during troubleshooting conversations, which calls for a different repair.
C:If the failing function were to require one specialist's validated output before another starts its dependent work, this change could be relevant because a sequential handoff makes intermediate contracts explicit; parallel execution would violate a data dependency; the actual symptom is that an unconstrained agent begins offering account-deletion actions during troubleshooting conversations, which calls for a different repair.
D:If the failing function were to recover from a partially completed workflow when a later operation fails, this change could be relevant because a compensating action undoes or offsets previously committed steps where a transaction cannot be atomic across services; the actual symptom is that an unconstrained agent begins offering account-deletion actions during troubleshooting conversations, which calls for a different repair.
E:If the failing function were to resume a long-running workflow safely after an inference retry, this change could be relevant because durable workflow state records completed steps and pending approvals; relying only on the model's last text risks duplicate side effects; the actual symptom is that an unconstrained agent begins offering account-deletion actions during troubleshooting conversations, which calls for a different repair.