JN0-106 Junos OS Fundamentals Practice Question
Exhibit
Refer to the exhibit. set system syslog host 10.10.10.1 any any set system syslog archive size 100k files 3
Refer to the exhibit. An administrator wants to ensure that log messages are stored even if the remote syslog server becomes unavailable. What additional configuration is required?
⚠ Common exam trap
A common mix-up: candidates confuse remote syslog configuration (host) with local logging (file), assuming that simply configuring a remote server is sufficient for all logging needs, but Junos requires an explicit local file to store logs locally when the remote server is unavailable.
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 syslog file messages any any
Configuring a local log file with `set system syslog file messages any any` ensures that log messages are stored locally on the device, even if the remote syslog server becomes unavailable. This provides a persistent local copy of logs that can be reviewed later, independent of the remote server's reachability.
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 syslog archive world-readable
Why it's wrong here
This option configures the archive to be world-readable but does not store logs locally, so it does not ensure logs are stored when the remote server is unavailable.
- ✗
set system syslog host 10.10.10.1 facility-override
Why it's wrong here
The facility-override parameter only changes the syslog facility code attached to messages, so it does nothing to retain logs when the remote host is unreachable. It is tempting because facility-override is genuinely used to reclassify messages for filtering on the collector, which would be the right choice if facility mismatches, not server outages, were the problem.
- ✗
set system syslog rate-limit 1000
Why it's wrong here
Rate-limiting caps how many syslog messages per second reach the remote server; it does not buffer or persist messages when that server is unreachable, so logs are still lost. Rate limiting is genuinely useful for protecting a syslog server from message floods during event storms, but the stem requires local storage until the server returns.
- ✓
set system syslog file messages any any
Why this is correct
Configuring a local log file with `set system syslog file messages any any` ensures that log messages are stored locally on the device, even if the remote syslog server becomes unavailable. This provides a persistent local copy of logs that can be reviewed later, independent of the remote server's reachability.
Go deeper
Related to this question
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.