JN0-106 Junos Configuration Basics Practice Question
Exhibit
Refer to the exhibit.
[edit]
user@router# set interfaces ge-0/0/0 unit 0 family inet address 192.168.1.1/24
user@router# set interfaces ge-0/0/0 unit 0 family inet address 192.168.1.2/24
user@router# show interfaces ge-0/0/0
unit 0 {
family inet {
address 192.168.1.1/24;
address 192.168.1.2/24;
}
}Refer to the exhibit. If the administrator now enters the command 'delete interfaces ge-0/0/0 unit 0 family inet address 192.168.1.1/24' and then commits, what will be the result?
⚠ Common exam trap
Many candidates assume deleting one address under a 'family inet' block will remove all addresses, similar to how some other platforms (e.g., Cisco IOS) treat the 'ip address' command as replacing the entire address list, but Junos treats each address as an independent leaf.
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
✓
Only the address 192.168.1.1/24 will be removed, and 192.168.1.2/24 will remain.
The 'delete' command in Junos is hierarchical and targets the exact configuration hierarchy specified. In this case, the command specifies 'address 192.168.1.1/24' under 'family inet', so only that specific address is removed. The other address (192.168.1.2/24) remains because it is a separate leaf under the same 'address' statement and is not affected by the deletion.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Only the address 192.168.1.1/24 will be removed, and 192.168.1.2/24 will remain.
Why this is correct
In Junos, the delete command operates on the exact hierarchy node identified by the address. The configuration node for 192.168.1.1/24 is a separate leaf under unit 0's family inet address list. Deleting that specific leaf removes only that address, leaving 192.168.1.2/24 intact in the same unit. This is standard behavior when using the explicit address form of the delete command.
- ✗
The commit will fail due to an attempt to delete a non-existent address.
Why it's wrong here
The commit will not fail because the address does exist in the configuration; the statement is factually incorrect. Junos validates the delete against the current configuration, and since 192.168.1.1/24 is present, the operation is valid. Even if the address were absent, a delete of a non-existent leaf typically results in a warning or a no-op, not a commit failure. Thus, the commit proceeds successfully after the deletion.
- ✗
The entire unit 0 will be deleted.
Why it's wrong here
Deleting an address leaf does not affect the parent unit's existence; unit 0 remains configured with its other properties, such as the remaining IP address. The unit hierarchy is preserved because the delete targets the address node, not the unit node. To remove the entire unit, the administrator would need to issue a delete on the 'unit 0' hierarchy specifically. The correct result is a single address removal, not a unit deletion.
- ✗
Both addresses will be removed from the configuration.
Why it's wrong here
The delete command only removes the explicitly specified address 192.168.1.1/24; 192.168.1.2/24 is a separate leaf with its own configuration path. Junos does not implicitly cascade the deletion to sibling addresses under the same family. Therefore, only one address is removed, and the other remains active. Both addresses would be removed only if the administrator deleted the entire unit or the entire family 'inet' hierarchy.
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 →
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.