Juniper certification · Exam JN0-106

JN0-106 Mock Exam

Junos - Associate (JNCIA-Junos) Junos OS 21.2

Free JN0-106 questions on Configuration Basics, each with the answer and an explanation.

20 questions · 28 minutes · free, no sign-up

Configuration Basics questions

1–3 of 3 free
Question 1 Choose 1
You want to automatically back up your Junos device configuration to an external server every time you commit a configuration change. In this scenario, which command would accomplish this task?
Show answerHide answer

Correct answer: C set system archival configuration transfer-on-commit

Explanation

Explanation:
Junos OS provides an automated configuration archival feature. The transfer-on-commit statement under set system archival configuration triggers an automatic backup of the candidate configuration to a specified archive site every time a commit operation is performed.

Correct Option:

C: set system archival configuration transfer-on-commit
This command enables automatic configuration backup upon every commit. When configured together with archive-sites, the device will transfer the active configuration to the external server each time a configuration change is committed.

Incorrect Option:

A: set system commit synchronize
This command is used only on chassis with dual Routing Engines. It forces both REs to commit simultaneously. It has no relation to configuration backup or archival.

B: set system archival configuration transfer-interval
This sets periodic time‑based backups (e.g., daily or hourly), not backup triggered by commit events. It does not satisfy the "every time you commit" requirement.

D: set system archival configuration archive-sites
This defines the destination (e.g., FTP, SCP, or HTTP URL) for archived configurations. However, without transfer-on-commit, no automatic backup occurs on commit. This command alone is insufficient.

Reference:
Juniper TechLibrary – "Automatically Archiving Configurations": Use transfer-on-commit under system archival configuration to back up configuration to archive-sites after each commit operation.
Question 2 Choose 1
You successfully committed a configuration change. You now realize an issue exists and must revert back to the previous configuration. Which command entered in configuration mode will accomplish this task when committed?
Show answerHide answer

Correct answer: D rollback 1

Explanation

Explanation:
Junos OS maintains a committed configuration history (0 = active, 1 = most recent previous, up to 49). After committing a problematic change, the previous working configuration is stored as rollback 1. Using rollback 1 in configuration mode restores that configuration, which then takes effect after a commit.

Correct Option:

D: rollback 1
rollback 1 in configuration mode replaces the candidate configuration with the configuration that was active before the most recent commit. After issuing rollback 1, you must run commit to activate the reverted configuration.

Incorrect Option:

A: show | compare
This command displays the differences between the candidate configuration and the active configuration. It is used for viewing changes, not for reverting to a previous configuration.

B: save config
The save command writes the current configuration to a file. It does not revert or roll back any changes. This is used for backup purposes.

C: rollback 0
rollback 0 replaces the candidate configuration with the currently active (committed) configuration. Since the problematic change is already committed, rollback 0 discards any uncommitted edits but does not revert the active configuration.

Reference:
Juniper TechLibrary – "Rolling Back to a Previous Configuration": Use rollback 1 to revert to the configuration prior to the most recent commit. Follow with commit to activate the rolled‑back version.
Question 3 Choose 2
Which two statements describe rollback configuration behavior in Junos OS? (Choose two.)
Show answerHide answer

Correct answer: A, C Rollback configurations are applied automatically after a commit confirmed timeout.Rollback files are stored automatically after each commit.

Explanation

Explanation:
Junos OS automatically stores committed configurations as rollback files (numbered 0 through 49 by default). Rollback 0 is the currently active configuration. The commit confirmed feature automatically rolls back to the previous configuration (rollback 1) if not confirmed within the specified timeout.

Correct Option:

A: Rollback configurations are applied automatically after a commit confirmed timeout.
When you issue commit confirmed, the device commits the changes and starts a timer. If you do not issue commit before the timer expires, Junos automatically performs a rollback 1 followed by commit, reverting to the previous active configuration.

C: Rollback files are stored automatically after each commit.
Every successful commit automatically saves the newly committed configuration as a rollback file. The previous rollback files shift (e.g., rollback 0 becomes rollback 1, rollback 1 becomes rollback 2, etc.). This provides a history of configuration changes.

Incorrect Option:

B: Rollback 0 always refers to the factory default configuration.
Rollback 0 refers to the currently active (committed) configuration, not factory defaults. Factory default configuration is typically rollback 0 only on a freshly zeroized device before any changes are made.

D: Up to 100 rollback configurations are maintained by default.
The default number of rollback files maintained is 50 (rollback 0 through rollback 49), not 100. This can be increased using set system max-configurations-on-flash up to 49 additional files.

Reference:
Juniper TechLibrary – "Configuration Rollback and Commit Confirmed": Junos stores up to 50 rollback files by default. commit confirmed automatically reverts to the previous configuration if not confirmed. Each successful commit generates a new rollback file.

That's the last free question in Configuration Basics

You've seen the free 30% (3 of 12 questions). Full access unlocks every question and full-length JN0-106 mock exams (65 questions, 90 minutes), a different mock on every attempt.

Unlock full mock exam
Full mock exam

Sit the JN0-106 exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real JN0-106 exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full JN0-106 mock exam
  • 65questions per mock
  • 90 mintime limit
  • 94questions in the bank
  • Newmock on every attempt