A team plans to introduce caching to reduce database load. Which set of cache design decisions best preserves correctness while improving performance under failure conditions?

Answer

Use explicit TTLs, define cache keys that include all relevant query dimensions, and ensure invalidation/refresh strategy is consistent with data consistency requirements

Explanation

Correctness requires staleness management (TTL) and precise cache keying so different requests don’t collide. Consistent invalidation/refresh prevents serving outdated data after updates.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error

Related questions

Consider a microservice that must scale quickly while remaining resilient to downstream outages. Which combination of patterns best matches CCAR-F foundations for fault tolerance and graceful degradation?

View question →

A data pipeline writes to object storage and then triggers analytics jobs. Sometimes analytics jobs run before the data is fully committed, producing partial results. Which CCAR-F approach best addresses event-driven consistency concerns?

View question →

You discover a critical dependency chain: Service A calls Service B, which calls a database. Service B exhibits elevated latency only when Service A retries. Which CCAR-F foundation principle most directly explains the amplification risk and suggests the mitigation?

View question →

In a CCAR-F architecture, you must implement secure configuration management for an application that runs in multiple environments (dev/stage/prod). Which strategy most directly reduces the risk of configuration drift and secret exposure?

View question →

A workload shows intermittent 429/5xx responses during peak traffic. You need to reason about whether the limiting factor is rate limiting, upstream saturation, or cold-start latency. Which approach best separates these causes using CCAR-F foundations observability signals?

View question →

Your organization requires a strategy for disaster recovery testing that balances safety and realism. Which plan best aligns with CCAR-F foundations by minimizing systemic risk while validating critical recovery paths?

View question →

QuestionBack to list