JN0-102 · Question #77
To which directory does the Junos OS write traceoptions files?
The correct answer is C. /var/log/. Junos OS traceoptions files, which contain debugging and logging information for various processes, are by default written to the /var/log/ directory, following standard Unix-like file system conventions.
Question
To which directory does the Junos OS write traceoptions files?
Options
- A/var/tmp/
- B/var/
- C/var/log/
- D/var/home/<username>/
How the community answered
(40 responses)- A3% (1)
- B8% (3)
- C88% (35)
- D3% (1)
Why each option
Junos OS traceoptions files, which contain debugging and logging information for various processes, are by default written to the `/var/log/` directory, following standard Unix-like file system conventions.
`/var/tmp/` is typically used for temporary files that can be deleted upon reboot.
`/var/` is a high-level directory, but `/var/log/` is the specific subdirectory for logs.
Junos OS, being based on FreeBSD, adheres to common Unix-like file system conventions. The `/var/log/` directory is the standard location where system and application log files, including traceoptions output, are stored by default.
`/var/home/<username>/` is the home directory for a specific user and is not the default location for system-generated traceoptions files.
Concept tested: Junos OS file system - default log directory
Source: https://www.juniper.net/documentation/us/en/software/junos/system-basics/topics/topic-map/system-management-basics.html
Topics
Community Discussion
No community discussion yet for this question.