AWS Certified Developer Associate DVA-C02 Practice Question
Your application frequently reads user profile data that experiences peaks of read activity. User profile updates are much less frequent. To mitigate read load on the database and improve read performance, you decide to implement a caching solution. Given the need for up-to-date information and considering cost-efficiency, which caching strategy should you employ?
Use a read-through caching strategy to manage the loading of data into the cache
Employ a lazy loading caching strategy with an appropriate time-to-live (TTL) to ensure data freshness
Implement write-through caching to ensure the cache always has the most up-to-date data
Avoid caching and allow the database to handle all read operations directly to ensure data integrity