- A
set system login user admin class operator
Why wrong: Operator class provides read-write access, not read-only.
- B
set system login user guest class read-only
This creates a user 'guest' with read-only privileges.
- C
set system login user readonly class super-user
Why wrong: Super-user class provides full access, not read-only.
- D
set system login user guest class operator
Why wrong: Operator class provides read-write access.
Quick Answer
The correct command is `set system login user guest class read-only`. This configuration works because Junos includes a predefined `read-only` login class that restricts users to viewing operational and configuration data via SSH without permitting any modifications, directly fulfilling the administrator’s requirement. On the JNCIA-Junos exam, this topic tests your understanding of Junos authentication and authorization, often appearing as a scenario where you must distinguish the `read-only` class from other predefined classes like `operator` or `super-user`. A common trap is confusing `read-only` with `operator`, which allows limited operational commands like `request`; remember that only `read-only` truly prevents all changes. For a quick memory tip, think “read-only = look, don’t touch” to recall that this class permits SSH login for viewing only, never for editing the configuration.
JNCIA-JUNOS Junos OS Fundamentals Practice Question
This JNCIA-JUNOS practice question tests your understanding of junos os fundamentals. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. 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.
An administrator needs to grant a user read-only access to the device via SSH. Which configuration should be applied?
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 system login user guest class read-only
Option B is correct because the 'read-only' class in Junos provides exactly the required level of access: users can view configuration and operational data but cannot make any changes. The 'set system login user guest class read-only' command assigns the predefined 'read-only' login class to the user 'guest', which permits SSH login with read-only privileges. This matches the administrator's requirement precisely.
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.
- ✗
set system login user admin class operator
Why it's wrong here
Operator class provides read-write access, not read-only.
- ✓
set system login user guest class read-only
Why this is correct
This creates a user 'guest' with read-only privileges.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
set system login user readonly class super-user
Why it's wrong here
Super-user class provides full access, not read-only.
- ✗
set system login user guest class operator
Why it's wrong here
Operator class provides read-write access.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often confuse the 'operator' class with read-only access, not realizing that 'operator' permits operational mode changes (e.g., clearing logs or rebooting), whereas only the 'read-only' class truly restricts all modifications.
Detailed technical explanation
How to think about this question
Junos login classes are defined under 'system login class' and control access via permissions flags (e.g., 'view', 'configure', 'superuser'). The predefined 'read-only' class has only the 'view' permission, which allows 'show' commands and 'show configuration' but denies any 'set', 'delete', or 'request' commands. In real-world scenarios, this is critical for auditors or monitoring tools that need to inspect device state without risk of accidental changes, and it can be further customized with 'allow-commands' or 'deny-commands' for granular control.
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 security administrator must allow nursing staff to reach a patient records server while blocking access from the guest Wi-Fi VLAN. After applying an extended ACL, traffic is still blocked from nursing workstations. The ACL was applied outbound instead of inbound on the wrong interface. Questions like this test ACL direction and placement rules.
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.
- →
Junos OS Fundamentals — study guide chapter
Learn the concepts, then practise the questions
- →
Junos OS Fundamentals practice questions
Targeted practice on this topic area only
- →
All JNCIA-JUNOS questions
514 questions across all exam domains
- →
Juniper Networks Certified Associate Junos JNCIA-Junos study guide
Full concept coverage aligned to exam objectives
- →
JNCIA-JUNOS practice test guide
How to use practice tests most effectively before exam day
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.
User Interfaces practice questions
Practise JNCIA-JUNOS questions linked to User Interfaces.
Junos Configuration Basics practice questions
Practise JNCIA-JUNOS questions linked to Junos Configuration Basics.
Operational Monitoring and Maintenance practice questions
Practise JNCIA-JUNOS questions linked to Operational Monitoring and Maintenance.
Routing Fundamentals practice questions
Practise JNCIA-JUNOS questions linked to Routing Fundamentals.
Networking Fundamentals practice questions
Practise JNCIA-JUNOS questions linked to Networking Fundamentals.
Junos OS Fundamentals practice questions
Practise JNCIA-JUNOS questions linked to Junos OS Fundamentals.
JNCIA-JUNOS fundamentals practice questions
Practise JNCIA-JUNOS questions linked to JNCIA-JUNOS fundamentals.
JNCIA-JUNOS scenario practice questions
Practise JNCIA-JUNOS questions linked to JNCIA-JUNOS scenario.
JNCIA-JUNOS troubleshooting practice questions
Practise JNCIA-JUNOS questions linked to JNCIA-JUNOS troubleshooting.
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 — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: set system login user guest class read-only — Option B is correct because the 'read-only' class in Junos provides exactly the required level of access: users can view configuration and operational data but cannot make any changes. The 'set system login user guest class read-only' command assigns the predefined 'read-only' login class to the user 'guest', which permits SSH login with read-only privileges. This matches the administrator's requirement precisely.
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 →
Last reviewed: Jun 24, 2026
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.
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.
Sign in to join the discussion.