GCP Professional Data Engineer Practice Question

A retail analytics platform stores user-specific session state in Memorystore for Redis Basic Tier (non-clustered). After a zonal outage caused a 15-minute cache outage and lost in-flight writes, the team must redesign for the following objectives:

  • Survive a single-zone failure within the region with automatic failover completed in under one minute.
  • Keep potential data loss to only the most recent few seconds of writes.
  • Avoid managing sharding logic in the application layer.

Which redesign best meets these requirements while minimizing operational overhead?

  • Migrate the existing instance to Memorystore for Redis Standard Tier in the same region; no code changes are required because it remains a non-clustered endpoint with automatic cross-zone replication and failover.

  • Recreate the cache as Memorystore for Redis Cluster, distributing shards across zones; update clients to use Redis Cluster-aware libraries to handle key hashing and redirection.

  • Switch to Memorystore for Redis Basic Tier in two different zones and add custom health-check logic in the application to route traffic to the healthy instance when a zone fails.

  • Continue using Basic Tier but enable Redis persistence (AOF and RDB) and store backup files in Cloud Storage, then script an automated restore procedure on outage.

GCP Professional Data Engineer
Maintaining and automating data workloads
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