引导式测验 · 硬 等级

LLM 代理测验的最低特权

测试任务范围的权限、工具和数据边界、聚合访问、临时提升、可审核性以及仅提示规则的限制。

问题 1 的 8

最小权限对于人工智能代理意味着什么?

预览每个问题8 问题

当您参加测验时,就会出现答案和解释。

  1. 最小权限对于人工智能代理意味着什么?
    • Grant only the identity, data, tools, and actions needed for the task
    • Give every tool to avoid interruptions
    • Use an administrator identity for all workflows
    • Rely on the system prompt to restrict behavior
  2. 为什么系统提示“不要删除文件”本身不够?
    • It proves a tool call is safe
    • It does not remove deletion permission from the tool or identity
    • It prevents the model from reading text
    • It changes the file system permissions automatically
  3. 哪种权限集适合文档摘要器?
    • Global administrator access
    • Delete access to every repository
    • Read-only access to an approved collection
    • Tenant-wide read/write access
  4. 代理如何在降低常设权限的情况下执行敏感写入操作?
    • Keep broad access permanently
    • Let the model decide whether it is authorized
    • Hide the action from logs
    • Use time-limited elevation or an approval gate
  5. 为什么要审查跨角色和服务的聚合权限?
    • Several narrow grants can combine into broad effective access
    • Each role always remains isolated
    • The model cannot use more than one tool
    • Aggregate access is unrelated to agent security
  6. Which details improve auditability of agent actions?
    • 仅提示文字
    • Identity, scope, action, resource, and approval or correlation context
    • Only the final chat response
    • The model’s self-reported confidence
  7. What should a team do when tools or workflows materially change?
    • Delete all logs
    • Give the agent broader rights preemptively
    • Re-review permissions and effective scope
    • Keep the original grants without checking
  8. What does least privilege do and not do?
    • Guarantees that prompt injection cannot occur
    • Replaces output validation
    • Ensures every answer is accurate
    • Limits potential impact, but does not prove the agent’s judgment is correct