Bird
0
0

Which of the following is the correct way to define a permission boundary for an AI tool in pseudocode?

easy📝 Syntax Q12 of 15
Agentic AI - Agent Safety and Guardrails
Which of the following is the correct way to define a permission boundary for an AI tool in pseudocode?
Apermissions = 'full_access'
Ballow_actions = ['read', 'write', 'execute']
Cactions = ['all']
Dpermission_boundary = { 'allowed': ['read', 'write'], 'denied': ['delete'] }
Step-by-Step Solution
Solution:
  1. Step 1: Identify correct permission boundary structure

    A permission boundary should clearly specify allowed and denied actions.
  2. Step 2: Compare options

    permission_boundary = { 'allowed': ['read', 'write'], 'denied': ['delete'] } explicitly defines allowed and denied actions, which fits permission boundary concept.
  3. Final Answer:

    permission_boundary = { 'allowed': ['read', 'write'], 'denied': ['delete'] } -> Option D
  4. Quick Check:

    Permission boundary = allowed and denied actions [OK]
Quick Trick: Look for explicit allowed and denied lists in permission definitions [OK]
Common Mistakes:
  • Using vague permissions like 'all' or 'full_access'
  • Not specifying denied actions
  • Confusing action lists with permission boundaries

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Agentic AI Quizzes