Courseiva
User Interfaces →hardMultiple Select

JN0-106 User Interfaces Practice Question

Which THREE CLI features are available in Junos OS to assist with command entry?

⚠ Common exam trap

The trap here is that candidates familiar with Cisco IOS may mistakenly associate Ctrl+Z with undo functionality (since in IOS it exits configuration mode) or Ctrl+R with repeating commands, but Junos uses different key bindings and relies on the Up arrow and Tab for command recall and completion.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

? (question mark) for context-sensitive help.

Option A is correct because in Junos OS CLI, typing ? at any point displays context-sensitive help listing valid commands, keywords, or options available at that position. Option C is correct because the Up arrow key scrolls backward through the command history buffer, allowing the user to recall and re-execute previously entered commands. Option E is correct because the Tab key performs command and option completion, automatically finishing a partially typed command or keyword when the entry is unambiguous. Option B is incorrect because Ctrl+R is not a Junos OS command-recall feature; command history is navigated with the Up/Down arrow keys or the show cli history command. Option D is incorrect because Ctrl+Z is not an undo function in Junos OS; it is not a supported command-entry aid in the CLI.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✓

    ? (question mark) for context-sensitive help.

    Why this is correct

    In Junos CLI, the question mark (?) is a context-sensitive help feature that displays all valid commands, subcommands, or arguments at the current input position, along with brief descriptions. For instance, typing 'show ?' lists every possible option following the 'show' command, aiding discoverability without requiring manual lookup. This interactive help is indispensable for constructing valid commands in an unfamiliar operating system like Junos.

  • ✗

    Ctrl+R to repeat the last command.

    Why it's wrong here

    Ctrl+R is not a command-repeat function in Junos CLI; it typically triggers a reverse incremental search through the command history in readline-based shells, or in some contexts simply refreshes the current line. Repeating a previous command in Junos is achieved by using the Up arrow to select it from history and pressing Enter, or by using 'show system history' and re-entering the command. Therefore, Ctrl+R would not assist in performing a command over again as a native CLI feature.

  • ✓

    Up arrow key to recall previous commands.

    Why this is correct

    The Up arrow key is a core CLI feature in Junos that recalls the most recently entered command from the session's history buffer. Each press moves backwards through the history, allowing the user to quickly retrieve and edit the command line before re-execution. This functionality is equivalent to the 'history' mechanism found in Unix shells and is especially valuable for executing variations of a previous command.

  • ✗

    Ctrl+Z to undo the last command.

    Why it's wrong here

    In Junos OS, there is no Ctrl+Z shortcut to undo the last command; the CLI is modeless in terms of explicit undo keystrokes. Configuration changes are instead reverted using commands such as 'rollback' in configuration mode or by 'deactivate' for individual statements, and in operational mode Ctrl+Z would only be interpreted as a terminal control character (e.g., to suspend a process in a Unix shell, which is not applicable here). Thus, Ctrl+Z is not a reliable or defined assistance feature in the Junos CLI.

  • ✓

    Tab key for command completion.

    Why this is correct

    The Tab key provides command completion in Junos CLI by automatically filling in the remainder of a command word, argument, or known value when the input is unambiguous. For example, typing 'show in' and pressing Tab may complete to 'show interfaces', and if multiple matches exist, the CLI will display the choices or require additional letters. This reduces typing errors and increases efficiency, making command completion a key productivity feature widely used in Junos configuration and operational mode.

About these practice questions

This JN0-106 question is part of Courseiva's 326-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This JN0-106 practice question is part of Courseiva's free Juniper Networks certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the JN0-106 exam.