Developing Applications Using Cisco Core Platforms and APIs (DEVCOR) — Question 214
Two Elasticsearch database servers use bidirectional asynchronous data replication. Both servers accept writes from clients. The design must meet these requirements:
• The cluster survives if a fault occurs that causes the network connection to go down between nodes.
• The data remains consistent if communication between nodes fails.
• The data is spread evenly across all nodes in the cluster.
Which design approach must be used to meet the requirements?
Answer options
- A. Set the initial voting configuration to force a specific node as the master.
- B. Set the minimum_master_nodes to 2 in the configuration.
- C. Scale the master nodes down to a single node.
- D. Add a third cluster node to provide majority votes.
Correct answer: D
Explanation
The correct answer is D because adding a third node ensures that there is a majority for voting, which is crucial for maintaining cluster stability and data consistency during a network partition. Options A, B, and C do not provide a sufficient quorum for decision-making, which could lead to split-brain scenarios where data consistency is compromised.