nerdexam
Cloudera

CCA-500 · Question #36

Your cluster implements HDFS High Availability (HA). Your two NameNodes are named nn01 and nn02. What occurs when you execute the command: hdfs haadmin -failover nn01 nn02?

The correct answer is C. nn01 becomes the standby NameNode and nn02 becomes the active NameNode. Correct answer is C. B is not acceptable as the first Name-node could become stand-by without fencing.

Configuration

Question

Your cluster implements HDFS High Availability (HA). Your two NameNodes are named nn01 and nn02. What occurs when you execute the command: hdfs haadmin -failover nn01 nn02?

Options

  • Ann02 is fenced, and nn01 becomes the active NameNode
  • Bnn01 is fenced, and nn02 becomes the active NameNode
  • Cnn01 becomes the standby NameNode and nn02 becomes the active NameNode
  • Dnn02 becomes the standby NameNode and nn01 becomes the active NameNode

How the community answered

(28 responses)
  • A
    4% (1)
  • B
    11% (3)
  • C
    82% (23)
  • D
    4% (1)

Explanation

Correct answer is C. B is not acceptable as the first Name-node could become stand-by without fencing.

Topics

#HDFS HA#haadmin#NameNode failover#standby NameNode

Community Discussion

No community discussion yet for this question.

Full CCA-500 Practice