JNCIA-Junos: Juniper Networks Certified Associate – Junos (2022) — Question 82
Which statement is true about using custom login class permissions?
Answer options
- A. If you allow and deny the same command, the command is denied.
- B. If you allow and deny the same command, Junos OS will randomly choose the action.
- C. If you allow and deny the same command, the command is allowed.
- D. If you allow and deny the same command, the Junos OS will fail the commit check.
Correct answer: C
Explanation
The correct answer is C, as when a command is both allowed and denied, the permission to allow takes precedence. Options A, B, and D are incorrect because they misstate the behavior of Junos OS regarding conflicting permissions, as it does not deny the command nor choose randomly, nor does it fail the commit check in this scenario.