nerdexam
Juniper

JN0-102 · Question #172

Using the command, user@router# load override latest.conf, where in the file system will the latest.conf be located?

The correct answer is A. /var/home/user/. When loading a configuration file without specifying an absolute path in Junos OS, the system by default looks for the file in the current user's home directory.

Junos OS Fundamentals

Question

Using the command, user@router# load override latest.conf, where in the file system will the latest.conf be located?

Options

  • A/var/home/user/
  • B/var/config/saved/
  • C/var/tmp/
  • D/config/

How the community answered

(45 responses)
  • A
    91% (41)
  • B
    2% (1)
  • C
    2% (1)
  • D
    4% (2)

Why each option

When loading a configuration file without specifying an absolute path in Junos OS, the system by default looks for the file in the current user's home directory.

A/var/home/user/Correct

When the `load override <filename>` command is issued without an absolute path, Junos OS, like many Unix-like systems, expects the file to be located in the current user's home directory. For a user named 'user', this directory is `/var/home/user/`.

B/var/config/saved/

`/var/config/saved/` is not the default location for the `load` command to look for user-specified configuration files.

C/var/tmp/

`/var/tmp/` is a temporary directory and not the default search path for loading configuration files.

D/config/

`/config/` typically holds the running configuration files but is not the default location for `load` to find user-provided config files.

Concept tested: Default file load location in Junos OS

Source: https://www.juniper.net/documentation/us/en/software/junos/junos-cli/topics/reference/command/load-configuration-data-from-file.html

Topics

#file system#load configuration#Junos OS

Community Discussion

No community discussion yet for this question.

Full JN0-102 Practice