Question 6 of 514
Junos OS FundamentalsmediumDrag & DropObjective-mapped

How to Configure a User Account in Junos

This JNCIA-JUNOS practice question tests your understanding of junos os fundamentals. 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. A key principle to apply: user account configuration. 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.

Order the steps to configure a user account with a password in Junos.

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

Set the class (set system login user <name> class <class>), then set the authentication method to plain-text-password (set system login user <name> authentication plain-text-password), then commit the configuration.

The correct order for configuring a user account in Junos is to first set the class to define the user's privilege level, then set the authentication method (e.g., plain-text-password), and finally commit the configuration. Option A follows this sequence. Option B is incorrect because setting authentication before class can lead to a configuration error; Junos requires the class to be set first. Option C is wrong because committing before setting authentication leaves the user without a password, preventing login. Option D is incorrect because committing before setting the class results in an incomplete user configuration with no privilege level.

Key principle: user account configuration

Answer analysis

Option-by-option breakdown

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

  • Set the class (set system login user <name> class <class>), then set the authentication method to plain-text-password (set system login user <name> authentication plain-text-password), then commit the configuration.

    Why this is correct

    This is the correct order. First, set the class to define the user's privilege level. Then, set the authentication method to plain-text-password, which will prompt for a password. Finally, commit to apply the configuration.

    Related concept

    user account configuration

  • Set the authentication method to plain-text-password first, then set the class, then commit the configuration.

    Why it's wrong here

    This order is incorrect. Setting authentication before class is not a supported sequence in Junos; the user must first have a class assigned. Attempting to set authentication without a class may result in an error or ineffective configuration.

  • Set the class, commit the configuration, then set the authentication method to plain-text-password.

    Why it's wrong here

    This is incorrect because committing before setting authentication leaves the user without a password, making it impossible to log in.

  • Set the authentication method to plain-text-password, commit the configuration, then set the class.

    Why it's wrong here

    This is incorrect because committing before setting the class results in an incomplete user configuration; the user would not have a privilege level.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Many candidates erroneously think that the order of class and authentication does not matter, but Junos requires class to be set first for the authentication to be applied correctly.

Detailed technical explanation

How to think about this question

Treat this as a scenario question. Identify the problem, the constraint, and the best action. Then compare each option against those facts.

KKey Concepts to Remember

  • user account configuration
  • plain-text-password authentication
  • commit operation
  • login class

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

user account configuration

Real-world example

How this comes up in practice

A junior network technician can log in to a core router but cannot reach the enable prompt or configuration mode. The AAA server is authenticating the login — but the authorisation policy only grants privilege level 1, not 15. Authentication (who you are) is working; authorisation (what you can do) is not.

What to study next

Got this wrong? Here's your next step.

Review user account configuration, then practise related JNCIA-JUNOS questions on the same topic to reinforce the concept.

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 OS Fundamentals — This question tests Junos OS Fundamentals — user account configuration.

What is the correct answer to this question?

The correct answer is: Set the class (set system login user <name> class <class>), then set the authentication method to plain-text-password (set system login user <name> authentication plain-text-password), then commit the configuration. — The correct order for configuring a user account in Junos is to first set the class to define the user's privilege level, then set the authentication method (e.g., plain-text-password), and finally commit the configuration. Option A follows this sequence. Option B is incorrect because setting authentication before class can lead to a configuration error; Junos requires the class to be set first. Option C is wrong because committing before setting authentication leaves the user without a password, preventing login. Option D is incorrect because committing before setting the class results in an incomplete user configuration with no privilege level.

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

Review user account configuration, then practise related JNCIA-JUNOS questions on the same topic to reinforce the concept.

What is the key concept behind this question?

user account configuration

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

Keep practising

More JNCIA-JUNOS practice questions

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.