AWS Certified Developer Associate DVA-C02 Practice Question

Your application frequently reads user profile data that can experience sudden spikes in traffic, while profile updates occur only occasionally. To reduce database load and latency you plan to add a cache. You also want to minimize operating costs and ensure profiles are not served stale for long periods. Which caching approach best satisfies these requirements?

  • Implement write-through caching to keep the cache synchronized with every database update

  • Employ a lazy-loading caching strategy with an appropriate time-to-live (TTL) to maintain freshness

  • Avoid caching and continue to serve all reads directly from the database

  • Use a read-through caching layer so the cache automatically fetches data on a miss

AWS Certified Developer Associate DVA-C02
Development with AWS Services
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot