Flashcardsfor IT Certifications

D1: Caching Solutions

Google Cloud Professional Cloud Developer exam practice questions · 10 flashcards

Question
Why cache?
1 / 10

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 10 Caching Solutions practice questions and answers
  1. Why cache?
    Reduce latency and backend load for frequently read data.
  2. Memorystore options?
    Redis, Redis Cluster, Valkey and Memcached.
  3. What is cache-aside?
    App checks cache first; on miss reads DB and populates cache.
  4. What is write-through caching?
    Writes go to cache and database together.
  5. What is TTL?
    Time-to-live after which cached data expires.
  6. How to cache static content?
    Cloud CDN with an external Application Load Balancer.
  7. Cache invalidation strategies?
    TTL expiry, explicit delete on update, versioned keys.
  8. How do apps reach Memorystore from Cloud Run?
    Direct VPC egress or Serverless VPC Access connector.
  9. When not to cache?
    Highly volatile data needing strong consistency.
  10. Redis vs Memcached?
    Redis: data structures, persistence, replication. Memcached: simple, multithreaded key-value cache.