JN0-231 practice question 6 of 25

You are monitoring an SRX Series device that has the factory-default configuration applied. In this scenario, where are log messages sent by default?

Full set: 105 questions
Answer options
A: Junos Space Log Director
B: Junos Space Security Director
C: to a local syslog server on the management network
D: to a local log file named messages Correct answer
Correct Answer:
D. to a local log file named messages
Explanation

In a factory-default configuration, a Juniper SRX Series device running Junos OS is pre-configured to log system messages locally. The [system syslog] stanza in the default configuration directs messages of certain facilities and severities to a file on the device's local storage. The primary file for general system messages, kernel messages, and process notifications is named messages. This ensures that essential diagnostic information is captured on the device itself without requiring any initial user configuration for external logging systems.

Why Incorrect

A. Junos Space Log Director: This is an external, centralized logging platform. Sending logs to it requires explicit configuration on the SRX device and is not part of the factory-default setup.
B. Junos Space Security Director: Similar to Log Director, this is a management platform. While it can process logs, it is not a default log destination and requires specific configuration.
C. to a local syslog server on the management network: This implies sending logs over the network to a separate server. The factory-default configuration logs to a local file on the device, not to an external server.

References

1. Juniper Networks TechLibrary - System Log Messages Configuration Guide: "By default

the system log daemon (syslogd) on a Juniper Networks device logs messages to the file /var/log/messages..." This guide details the default logging behavior.

Source: Juniper Networks

"System Log Messages Configuration Guide"

Section: "Understanding System Logging for Junos OS".

URL: https://www.juniper.net/documentation/us/en/software/junos/system-basics/topics/concept/system-log-messages-overview.html

2. Juniper Networks TechLibrary - Default Junos OS Configuration File: The documentation for the default configuration file shows the [system syslog] stanza

which explicitly defines the messages file as a log destination.

Source: Juniper Networks

"Understanding the Default Junos OS Configuration File".

URL: https://www.juniper.net/documentation/us/en/software/junos/system-basics/topics/concept/junos-os-default-configuration-file-understanding.html (Refer to the sample default configuration section).

Scroll to Top