Question 344 of 514
Junos Configuration BasicshardMultiple SelectObjective-mapped

Quick Answer

The correct answer is that the 'apply-groups' statement is used to include a group's configuration at a specific hierarchy level, and configuration groups are defined under the [edit groups] hierarchy. This works because Junos configuration groups act as reusable templates: you define a block of configuration under [edit groups], then reference it with apply-groups at any hierarchy level, from global to interface-specific, to inherit those settings without rewriting them. On the JNCIA-Junos exam, this concept tests your understanding of configuration inheritance and hierarchy—a common trap is confusing apply-groups with apply-groups-except, which excludes a group from a specific level. A strong memory tip is to think of groups as "configuration macros" and apply-groups as the "include directive" that pulls them into place, reducing duplication and simplifying large-scale device management.

JNCIA-JUNOS Junos Configuration Basics Practice Question

This JNCIA-JUNOS practice question tests your understanding of junos configuration basics. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

Which TWO statements about configuration groups in Junos are correct? (Choose two.)

Question 1hardmulti select
Full question →

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 defined under the [edit groups] hierarchy.

Option A is correct because configuration groups in Junos are defined under the [edit groups] hierarchy. This allows you to create reusable configuration snippets that can be applied to multiple parts of the configuration, reducing duplication and simplifying management.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

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 are defined under the [edit groups] hierarchy.

    Why this is correct

    Configuration groups are indeed defined under the 'groups' hierarchy and can be inherited.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Configuration groups are stored in separate files that are imported using the 'file' statement.

    Why it's wrong here

    Configuration groups are part of the configuration hierarchy, not separate files.

  • The 'apply-groups' statement is used to include a group's configuration at a specific hierarchy level.

    Why this is correct

    'apply-groups' is used to apply a group's configuration at the desired hierarchy level.

    Related concept

    Read the scenario before looking for a memorised answer.

  • The 'replace' tag is used to reference a configuration group.

    Why it's wrong here

    The 'replace' tag is used in other contexts, not to reference groups; 'apply-groups' is used.

  • Configuration groups are applied only at the [edit interfaces] hierarchy level.

    Why it's wrong here

    Configuration groups can be applied at any hierarchy level, not just interfaces.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often confuse configuration groups with Junos's 'apply-path' or 'apply-macro' features, or mistakenly think groups are external files, when in fact they are defined inline under [edit groups] and applied via 'apply-groups'.

Detailed technical explanation

How to think about this question

Configuration groups leverage Junos's hierarchical inheritance model. When 'apply-groups' is used at a specific hierarchy level, the group's configuration is merged with the existing configuration at that level, with the group's settings taking precedence over default values but being overridden by explicit configuration at the same level. This is particularly useful in large-scale deployments where common settings (e.g., SNMP, NTP, or interface parameters) need to be consistently applied across many devices.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A practitioner preparing for the JNCIA-JUNOS exam encounters this exact type of scenario on the job. The correct answer here is not the most general option — it is the best answer for the specific constraint described. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Real exam questions reward reading the full scenario before eliminating options, because the constraint defines which answer fits.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related JNCIA-JUNOS practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free JNCIA-JUNOS practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this JNCIA-JUNOS question test?

Junos Configuration Basics — This question tests Junos Configuration Basics — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Configuration groups are defined under the [edit groups] hierarchy. — Option A is correct because configuration groups in Junos are defined under the [edit groups] hierarchy. This allows you to create reusable configuration snippets that can be applied to multiple parts of the configuration, reducing duplication and simplifying management.

What should I do if I get this JNCIA-JUNOS question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

1 more ways this is tested on JNCIA-JUNOS

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. Which TWO statements about configuration groups are correct? (Choose two.)

medium
  • A.The 'apply-groups' statement is only valid at the top level of the configuration.
  • B.Configuration groups can only contain interface-related configuration.
  • C.The 'apply-groups' statement can be used to apply only specific statements from a group.
  • D.Multiple groups can be applied, and the order of application determines priority.
  • E.Configuration groups are defined under the 'groups' hierarchy.

Why D: Option D is correct because when multiple configuration groups are applied, the order of the 'apply-groups' statements determines the priority: the last group listed has the highest priority and overrides conflicting settings from earlier groups. This allows administrators to layer configuration changes predictably, with more specific groups overriding more general ones.

Last reviewed: Jun 11, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This JNCIA-JUNOS 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 JNCIA-JUNOS exam.