Courseiva

PCDE Practice Question: Manage a solution that can span multiple database technologies

A startup uses Memorystore for Redis as a session store. They are concerned about losing session data if the instance fails. Which option provides the best durability for session data without significant application changes?

⚠ Common exam trap

A common misconception in this exam is that enabling persistence (RDB/AOF) provides high availability and durability against instance failures, when in reality persistence only protects against data loss on restart and does not provide automatic failover or cross-region resilience.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Configure a cross-region replica to provide high availability

Configuring a cross-region replica in Memorystore for Redis provides high availability and durability by replicating data asynchronously to a replica instance in a different region. If the primary instance fails, the replica can be promoted, minimizing session data loss without requiring significant application changes, as the application continues to connect to the same endpoint or a new primary endpoint.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Increase the maxmemory setting to store more data

    Why it's wrong here

    Increasing maxmemory does not provide durability; data is still lost on failure.

  • Take regular snapshots of the instance using gcloud commands

    Why it's wrong here

    Memorystore does not support snapshot commands; snapshots must be done via application logic or using Cloud Storage with export.

  • Enable Redis persistence (RDB/AOF) on the Memorystore instance

    Why it's wrong here

    Memorystore does not support Redis persistence persistence; it's a managed service without that option.

  • Configure a cross-region replica to provide high availability

    Why this is correct

    Cross-region replicas provide failover capability, protecting against zone/regional failures with minimal application changes.

About these practice questions

Courseiva writes every PCDE question from scratch — 1,446 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This PCDE practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PCDE exam.