Question 1
Topic: Module 1: Introduction to AI Agents
Skill tested: Selects layered guardrails for an LLM agent handling sensitive enterprise actions.
A procurement team is piloting an LLM agent that can search approved vendor records and draft purchase orders. The agent must never submit an order without an authorized employee's approval, must not expose confidential records in responses, and must reject requests outside procurement policy. The organization also wants protection against malicious instructions embedded in vendor documents. Which design best addresses these requirements without relying on a single prompt instruction?
Layered guardrails address different failure points: identity and authorization control who can act; input and retrieved-content checks help resist malicious instructions; constrained tool arguments limit unsafe operations; human approval enforces the submission requirement; and output checks reduce disclosure risk. A system prompt alone is not an enforcement boundary. Logging after unrestricted actions, as in C, cannot prevent unauthorized submissions. Removing grounded search in D undermines reliable vendor lookup and leaves the consequential submission capability enabled.