← Back to companies
[ OK ] Loaded —
[ INFO ]
$ cd
$ ls -lt
01
02
03
04
05
$ ls -lt
01
02
03
04
05
user@intervues:~/$
Design a centralized ACL (Access-Control List) micro-service that every other micro-service in the company can call to answer the question: “Can subject X do action Y on resource Z?” The system must support:
You do not need to implement the policy language parser; assume policies are stored as tuples (subject, action, resource, allow/deny). Outline the APIs, storage layer, caching strategy, cache-invalidation mechanism, and how you would guarantee freshness and horizontal scale. Be prepared to discuss trade-offs (latency vs. consistency, storage cost vs. throughput, cache hit ratio vs. revocation delay).