Valid GH-600 Dumps shared by ExamDiscuss.com for Helping Passing GH-600 Exam! ExamDiscuss.com now offer the newest GH-600 exam dumps, the ExamDiscuss.com GH-600 exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com GH-600 dumps with Test Engine here:
You have multiple GitHub Copilot coding agents that run tasks concurrently. You live stream the session log output and see the following. * agent execution (ID 987654321) Run ./scripts/agent-run.sh -------------------------------- [agent] Starting task: Clean up infra configs [agent] Executing step: Remove unused files rm -rf /infra Error: Command blocked by policy Reason: destructive_operation_detected [agent] Escalating to human review... X Run agent task X Process completed with exit code 1 X agent-execution failed What is a possible cause of the error?
Correct Answer: A
A preToolUse hook is a possible cause because it evaluates a proposed tool invocation before execution. Such a hook can inspect the tool name and arguments, identify a prohibited operation, and deny permission. A shell command containing recursive, forced deletion of an infrastructure directory is an appropriate target for this type of preventive rule. The decisive evidence is the statement that the command was blocked because a destructive operation was detected. This describes a decision about the proposed command rather than a failure to reach a network destination. Copilot firewall controls address network access; they do not ordinarily classify local filesystem deletion commands. A postToolUse hook runs after a tool operation and therefore does not provide the same pre-execution interception. An application installation policy governs application access or installation rather than this command-level decision. The surrounding script can treat a denied operation as a task failure and escalate it for human review, producing the displayed exit status. The answer identifies a plausible enforcement mechanism; the log does not establish its exact implementation. Study-guide topics: preventive guardrails, tool authorization, destructive-action detection, and escalation. Reference: GitHub Copilot-Hooks reference.