Courseiva
Junos Configuration Basics →mediumMultiple Choice

JN0-106 Junos Configuration Basics Practice Question

An engineer needs to add a set of configuration parameters to a group that can be inherited by multiple interfaces. Which configuration element should be used?

⚠ Common exam trap

It's easy for candidates to confuse 'load merge' (a file operation) with a configuration inheritance mechanism, or think 'set default' is a valid command for setting default interface parameters, when in fact Junos uses 'apply-groups' for this purpose.

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 with apply-groups

Configuration groups with apply-groups allow you to define a set of configuration parameters in a named group and then apply that group to multiple interfaces (or other hierarchy levels) using the 'apply-groups' statement. This enables inheritance and reduces repetitive configuration, which is the exact requirement in the question.

Answer analysis

Option-by-option breakdown

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

  • ✗

    prefix lists

    Why it's wrong here

    Prefix lists are a firewall-filter or routing-policy construct used to match route prefixes (e.g., in a route-filter or community list). They are not a mechanism for defining reusable blocks of configuration parameters, and they cannot be applied to inherit settings across multiple hierarchy levels. Unlike configuration groups, prefix lists do not have any 'apply' semantics for configuration inheritance; their sole purpose is packet or route matching.

  • ✗

    set default

    Why it's wrong here

    There is no 'set default' command in Junos configuration mode. The Junos CLI uses 'set' for changing or adding configuration elements, but it does not have a 'default' keyword that triggers configuration inheritance. Inheritance is explicitly performed using 'apply-groups' and 'apply-groups-except' statements, not by any implicit default-setting command. If a 'set default' appears in documentation, it usually refers to resetting a system to factory defaults via 'load factory-default' or similar, which is unrelated to inheriting configuration blocks.

  • ✓

    configuration groups with apply-groups

    Why this is correct

    Configuration groups are the correct Junos mechanism for defining reusable configuration blocks. You define named groups under the 'groups' hierarchy, then reference them with 'apply-groups' at any hierarchy level where you want the group's parameters to be inherited. When the configuration is evaluated, Junos merges the group's settings into the active configuration, and changes to the group automatically propagate to all points that apply it. This is distinct from one-time load operations or routing-policy filters, and it also supports 'apply-groups-except' to exclude specific groups below a certain level for granular control.

  • ✗

    load merge

    Why it's wrong here

    'load merge' is a configuration management command that merges the contents of a file or terminal input into the candidate configuration. It is a one-time, manual operation—it does not create a persistent inheritance relationship between configuration blocks. Unlike configuration groups, which dynamically apply their contents wherever 'apply-groups' is placed, 'load merge' simply copies text into the candidate configuration; future changes to the original source file have no effect. It is a loading tool, not a grouping or inheritance construct.

About these practice questions

One of 326 original JN0-106 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.