Skip to content

Quiz: Policy Engines & Enforcement

Review first: Policy Engines & Enforcement

#

Question 1

Your service calls an OPA sidecar for every authorization decision. During an incident the sidecar is unreachable. What should the service do?

#

Question 2

The API gateway validates tokens and enforces scope=orders:read on GET /orders/*. A team proposes removing the authorization code inside the orders service to reduce duplication. What's the problem?

#

Question 3

For DELETE /projects/7, the policy engine needs to know who owns project 7. In the PEP/PDP architecture, which component supplies that?

#

Question 4

GET /projects must return only the projects the caller may see, from a table of 2 million rows. What's the right approach with a policy engine?

#

Question 5

Which practices belong in a production policy-engine rollout? Select ALL that apply: