Complete the code to identify the primary replication type used for high availability.
ReplicationType = "[1]" # Commonly used for synchronous data copying
Synchronous replication ensures data is copied to replicas immediately, providing high availability.
Complete the code to select the replication strategy that allows replicas to lag behind the primary.
ReplicationStrategy = "[1]" # Replicas update after some delay
Asynchronous replication allows replicas to lag, improving performance but risking stale reads.
Fix the error in the replication mode assignment to correctly represent multi-master replication.
replication_mode = "[1]" # Allows multiple nodes to accept writes
Multi-master replication allows multiple nodes to accept writes simultaneously, improving availability.
Fill both blanks to complete the code for a quorum-based replication read and write strategy.
write_quorum = "[1]" # Minimum nodes to confirm write read_quorum = "[2]" # Minimum nodes to confirm read
Quorum-based replication requires a majority of nodes to confirm reads and writes to ensure consistency.
Fill all three blanks to complete the code for a replication setup with primary, secondary, and failover nodes.
primary_node = "[1]" secondary_node = "[2]" failover_node = "[3]"
The primary node accepts writes, the secondary replicates data, and the failover takes over if the primary fails.