nerdexam
Juniper

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.

Operational Monitoring and Maintenance

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)
  • A
    3% (1)
  • B
    8% (3)
  • C
    88% (35)
  • D
    3% (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.

A/var/tmp/

`/var/tmp/` is typically used for temporary files that can be deleted upon reboot.

B/var/

`/var/` is a high-level directory, but `/var/log/` is the specific subdirectory for logs.

C/var/log/Correct

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.

D/var/home/<username>/

`/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

#traceoptions#logging#file paths#Junos OS

Community Discussion

No community discussion yet for this question.

Full JN0-102 Practice