1Y0-A21 · Question #157
What is the cli sytax to show the ha state of a node? Note: show node wasnt mentioned here!
The correct answer is A. show ha node. Citrix 1Y0-A21 Exam
Question
What is the cli sytax to show the ha state of a node? Note: show node wasnt mentioned here!
Options
- Ashow ha node
- Bshow node ha
- Cdont remember
- Ddont remember
How the community answered
(35 responses)- A71% (25)
- B3% (1)
- C17% (6)
- D9% (3)
Explanation
Citrix 1Y0-A21 Exam
Topics
Community Discussion
5A is the right call and it makes sense once you understand how the CLI is structured on NetScaler. The command hierarchy follows the object type first, then the qualifier, so "show ha node" fits the pattern of "show [feature] [object]" rather than "show [object] [feature]". If you typed "show node ha" the appliance would either error out or return something that has nothing to do with HA state, because "node" in that context is not an HA subcommand. Pull up a box in your lab, run "show ha node" and you will see the primary/secondary state, the sync status, and the heartbeat information all in one shot, which is exactly what the exam is testing you on.
That pattern clicked for me too, and worth adding that "show ha node" also surfaces the master state reason code, which caught me off guard on a practice question because the exam sometimes asks why a node holds primary, not just that it does.
Going with A on this one and here is why it clicked for me. The NetScaler CLI follows a pattern where you name the subsystem right after "show," so you are essentially saying "show me something about HA, specifically the node," which gives you "show ha node." If it were "show node ha" you would be leading with the object instead of the feature, and that just is not how the NS CLI is structured. The question even tips you off by ruling out "show node" on its own, which hints that "node" is the tail end of the command, not the start. I actually saw a question worded almost exactly like this on my exam last month and I almost talked myself into B because it felt more natural in plain English, but I stopped and said wait, think about how every other "show ha" command is structured and that pulled me back to A.
C has to be right, the "show node" exclusion in the question is a massive hint pointing away from B.
Samuel, the "show node" exclusion is a distractor the question writers love to plant, not a signpost to C. A is correct because the policy processes top-down and the first matching rule wins before it ever reaches the node-level condition you are fixating on.