Question 480
Which recurring control best reduces the chance of repeating: A support agent's custom Apex action runs with elevated capabilities but the agent instructions merely ask it not to touch other cases.
Explanation
Correct Answer
Include cross-record negative action tests in release QA. This helps prevent repetition of: A support agent's custom Apex action runs with elevated capabilities but the agent instructions merely ask it not to touch other cases. Expected evidence is: Cross-customer update attempts are denied even with adversarial prompts.
Incorrect Answers
Audit system-context automations used by agents. That is a useful safeguard for ANOTHER problem: An agent's action writes new Account records through Flow using an overly broad system context without validating caller entitlement. For this case, the tailored control is: Include cross-record negative action tests in release QA.
Perform output leakage tests using restricted fields. That is a useful safeguard for ANOTHER problem: A customer-support agent's prompt reveals an internal formula field the public user could not read directly. For this case, the tailored control is: Include cross-record negative action tests in release QA.
Add audit-evidence checks to production acceptance. That is a useful safeguard for ANOTHER problem: An autonomous case-update agent handles production transactions but stores no actionable history linking requests to executed actions. For this case, the tailored control is: Include cross-record negative action tests in release QA.