JN0-106 Junos OS Fundamentals Practice Question
Which TWO statements are true regarding Junos configuration groups?
⚠ Common exam trap
Candidates often assume configuration groups automatically apply to all hierarchies or that they cannot override existing settings, but in reality, groups are explicitly applied and follow a strict precedence order where later groups can override earlier ones.
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
✓
Configuration groups are applied using the apply-groups statement.
Option B is correct because configuration groups in Junos are explicitly attached to the configuration hierarchy using the apply-groups statement (for example, set interfaces ge-0/0/0 apply-groups GROUP-NAME), which is the mechanism that injects the group's statements into the active configuration. Option E is correct because when multiple groups are referenced in an apply-groups statement, Junos processes them in the order listed, with later groups taking precedence over earlier ones, and the explicit configuration taking precedence over all applied groups. Option A is wrong because group settings can override existing settings depending on inheritance and precedence rules. Option C is wrong because configuration groups can contain almost any configuration stanza, not just interfaces. Option D is wrong because groups are not applied automatically to all hierarchies; they must be explicitly referenced with apply-groups at the desired hierarchy level.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Configuration groups never override existing settings.
Why it's wrong here
This statement is false because Junos configuration groups are not limited to only filling in missing settings. When a configuration group is applied, its values can override existing configuration at the same hierarchy level, depending on the order in which the group is applied relative to other configuration or groups. Specifically, the last-applied group or explicitly configured statement wins, so a group can supersede a previously set value. Thus, the assertion that groups never override is incorrect.
- ✓
Configuration groups are applied using the apply-groups statement.
Why this is correct
This is a true statement. In Junos, configuration groups are defined under the `groups` hierarchy, and to activate them, you must reference them via the `apply-groups` statement at the appropriate hierarchy level. For example, applying `apply-groups global` at the top-level ensures that the settings from the `global` group are merged into the active configuration. Without an explicit `apply-groups` statement, a configuration group has no effect on the running configuration.
- ✗
Configuration groups are only useful for interface configuration.
Why it's wrong here
That statement is false because configuration groups are a general-purpose inheritance mechanism. They can be used for any configuration hierarchy, including protocols (like OSPF or BGP), system settings (such as NTP or SNMP), firewall filters, and more. While they are frequently used to consolidate interface settings, limiting their usefulness to interfaces ignores their broader capability to create reusable configuration templates across many parts of the Junos configuration. This flexibility is a key reason why they are a powerful scaling and automation tool.
- ✗
Configuration groups are applied automatically to all hierarchies.
Why it's wrong here
This is incorrect because configuration groups do not automatically propagate to every hierarchy. A group must be explicitly activated with an `apply-groups` statement, and the statement's placement determines which parts of the hierarchy the group's settings affect. For instance, an `apply-groups` placed at the top level applies to the entire configuration, but placing it under an interface applies only to that interface subtree. Without such a statement, the group is defined but inert, and different groups can be applied selectively to different levels, providing granular control.
- ✓
Configuration groups are applied in the order they are listed in apply-groups.
Why this is correct
This statement is true. When multiple groups are listed in a single `apply-groups` statement, Junos processes them from left to right, so the groups listed last take precedence over earlier groups. If two groups define the same parameter, the value from the last listed group wins. This ordering behavior is analogous to configuration inheritance where later files override earlier ones, and it gives operators predictable precedence when stacking reusable template groups.
About these practice questions
Courseiva writes every JN0-106 question from scratch — 326 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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.