Bird
0
0

To enable automatic failover in a PostgreSQL cluster managed by a Kubernetes operator, which manifest setting is essential?

hard📝 Workflow Q8 of 15
Kubernetes - Operators and Custom Resources
To enable automatic failover in a PostgreSQL cluster managed by a Kubernetes operator, which manifest setting is essential?
ASet replicas to 1 and enable backups
BConfigure a high-availability section with synchronous replication enabled
CUse a Deployment instead of a StatefulSet
DDisable persistent volume claims to allow pod restarts
Step-by-Step Solution
Solution:
  1. Step 1: Understand failover requirements

    Automatic failover requires synchronous replication to keep standby nodes updated.
  2. Step 2: Identify manifest configuration

    High-availability settings with synchronous replication enable failover capabilities.
  3. Final Answer:

    Configure a high-availability section with synchronous replication enabled -> Option B
  4. Quick Check:

    Failover needs HA and sync replication [OK]
Quick Trick: Enable synchronous replication for failover [OK]
Common Mistakes:
  • Setting replicas to 1 disables failover
  • Using Deployment instead of StatefulSet loses persistence
  • Disabling PVCs removes data durability

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes