Question 394 of 514
Operational Monitoring and MaintenanceeasyMultiple SelectObjective-mapped

Quick Answer

The correct answer is that both the 'show log messages' and 'monitor start messages' commands are used to view system log messages on a Juniper device. The 'show log messages' command reads and displays the static contents of the default system log file, /var/log/messages, which stores kernel, daemon, and system-level events, making it ideal for historical review. In contrast, 'monitor start messages' provides a real-time tail of the same file, allowing you to watch live log entries as they are written, which is essential for troubleshooting ongoing issues. On the JNCIA-Junos exam, this question tests your understanding of Junos operational commands for system monitoring, and a common trap is confusing 'show log' with 'show log messages'—the former requires a specific filename, while the latter defaults to /var/log/messages. A helpful memory tip is to think of 'show' as a snapshot of the past and 'monitor start' as a live feed, just like the difference between reading a book and watching a live stream.

JNCIA-JUNOS Operational Monitoring and Maintenance Practice Question

This JNCIA-JUNOS practice question tests your understanding of operational monitoring and maintenance. Examine the command output carefully: the correct answer depends on what the output actually shows, not on general recall alone. 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 commands can be used to view the system log messages on a Juniper device? (Select two.)

Question 1easymulti 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

show log messages

Option B is correct because 'show log messages' displays the contents of the default system log file, /var/log/messages, which contains kernel, daemon, and system-level messages. Option C is correct because 'monitor start messages' provides a real-time tail of the same /var/log/messages file, allowing live monitoring of system log entries as they are written.

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.

  • show log dcd

    Why it's wrong here

    Shows a specific log, not the main messages.

  • show log messages

    Why this is correct

    Displays and tails the current log messages.

    Related concept

    Read the scenario before looking for a memorised answer.

  • monitor start messages

    Why this is correct

    Tails live log messages.

    Related concept

    Read the scenario before looking for a memorised answer.

  • show log file

    Why it's wrong here

    Not a standard command; usually specifies a file.

  • show system messages

    Why it's wrong here

    Not a valid command.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates confuse the generic 'show log' syntax with a nonexistent 'show log file' command, or they mistakenly think 'show system messages' is valid because of similarity to other vendors' commands like 'show logging' on Cisco IOS.

Trap categories for this question

  • Command / output trap

    Shows a specific log, not the main messages.

Detailed technical explanation

How to think about this question

Junos stores system log messages in /var/log/messages by default, controlled by the syslog daemon. The 'show log' command reads the file from disk, while 'monitor start' uses the 'tail -f' mechanism to follow the file in real time. In production, 'monitor start messages' is invaluable for troubleshooting live issues like interface flaps or routing protocol changes without repeatedly polling the log file.

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?

Operational Monitoring and Maintenance — This question tests Operational Monitoring and Maintenance — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: show log messages — Option B is correct because 'show log messages' displays the contents of the default system log file, /var/log/messages, which contains kernel, daemon, and system-level messages. Option C is correct because 'monitor start messages' provides a real-time tail of the same /var/log/messages file, allowing live monitoring of system log entries as they are written.

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 commands can be used to monitor system log messages in real-time?

medium
  • A.show log messages | last 100
  • B.show system log messages
  • C.show configuration system syslog
  • D.monitor start interactive-commands
  • E.monitor start messages

Why D: Option D is correct because the 'monitor start interactive-commands' command in Junos OS enables real-time monitoring of interactive commands executed on the device, displaying them as they occur. Option E is correct because 'monitor start messages' streams the contents of the /var/log/messages file in real-time, allowing you to see new syslog entries as they are generated. Both commands use the 'monitor start' family, which is specifically designed for real-time log monitoring, unlike 'show log' which only displays historical data.

Last reviewed: Jun 24, 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.