Question 480
In a resiliency and cost governance review for caching architecture tradeoffs, the following requirement is confirmed: A client caches access-control decisions permanently even after role revocation. Which design should the architect select?
Explanation
Correct Answer
Use bounded cache TTL and timely invalidation for security-sensitive state. Stale authorization caches can preserve permissions after revocation.
Incorrect Answers
Keep the transactional database as the source of truth and govern cache invalidation addresses A payment system requires exact authoritative account balances after every write; Caches can hold stale copies and should not replace authoritative transactions.
Use edge caching through a supported Azure CDN or Front Door feature applies when A globally distributed HTTP website repeatedly downloads identical immutable images, because edge caches reduce origin requests and latency for suitable static content.
Use an appropriately secured distributed session cache is intended for a different condition: An app has many replicas and must share short-lived session state across them. Distributed session state avoids losing session continuity when a request reaches another replica.