Certbus > Lpi > LPIC-1 > 102-400 > 102-400 Online Practice Questions and Answers

102-400 Online Practice Questions and Answers

Questions 4

What is the default name of the configuration file for the Xorg X11 server? (Specify the file name only without any path.)

Browse 120 Q&As
Questions 5

The system's timezone may be set by linking /etc/localtime to an appropriate file in which directory? (Provide the full path to the directory, without any country information)

Browse 120 Q&As
Questions 6

After configuring printing on a Linux server, the administrator sends a test file to one of the printers and it fails to print. What command can be used to display the status of the printer's queue? (Specify ONLY the command without any path or parameters.)

Browse 120 Q&As
Questions 7

What is the lowest numbered unprivileged TCP port? (Specify the number in digits only.)

Browse 120 Q&As
Questions 8

On a Linux system with shadow passwords enabled, which file in the file system contains the password hashes of all local users? (Specify the full name of the file, including path.)

Browse 120 Q&As
Questions 9

Which of the following are requirements in order to run a shell script like a regular command from anywhere in the filesystem? (Choose THREE correct answers.)

A. The user issuing the command must be in the group script.

B. The script file must be found in the $PATH.

C. The script file must have the executable permission bit set.

D. The script must begin with a shebang-line (#!) that points to the correct interpreter.

E. The file system on which the script resides must be mounted with the option scripts.

Browse 120 Q&As
Questions 10

Which file contains the date of the last change of a user's password?

A. /etc/gshadow

B. /etc/passwd

C. /etc/pwdlog

D. /etc/shadow

E. /var/log/shadow

Browse 120 Q&As
Questions 11

To prevent a specific user from scheduling tasks with at, what should the administrator do?

A. Add the specific user to /etc/at.allow file.

B. Add the specific user to [deny] section in the /etc/atd.conf file.

C. Add the specific user to /etc/at.deny file.

D. Add the specific user to nojobs group.

E. Run the following: atd --deny [user].

Browse 120 Q&As
Questions 12

Which of the following crontab entries will execute myscript at 30 minutes past every hour on Sundays?

A. 0 * * * 30 myscript

B. 30 * * * 6 myscript

C. 30 0 * * 0 myscript

D. 30 0-23 * * 0 myscript

E. 0 0-23 * * 30 myscript

Browse 120 Q&As
Questions 13

Which commands can be used to change a user's account aging information? (Choose THREE correct answers.)

A. usermod

B. passwd

C. chattr

D. chage

E. chsh

Browse 120 Q&As
Questions 14

What is true about the file /etc/localtime?

A. It is a plain text file containing a string such as Europe/Berlin.

B. It is created and maintained by the NTP service based on the geolocation of the system's IP address.

C. It is a symlink to /sys/device/clock/ltime and always contains the current local time.

D. It is either a symlink to or a copy of a timezone information file such as /usr/share/zoneinfo/Europe/ Berlin.

Browse 120 Q&As
Questions 15

Which of the following are syslog facilities? (Choose TWO correct answers.)

A. local7

B. mail

C. advanced

D. postmaster

E. remote

Browse 120 Q&As
Questions 16

Which of the following commands can be used to display the local routing table? (Choose TWO correct answers.)

A. ifconfig

B. dig

C. netstat

D. route

E. trackroute

Browse 120 Q&As
Questions 17

When trying to unmount a device it is reported as being busy. Which of the following commands could be used to determine which process is causing this?

A. debug

B. lsof

C. nessus

D. strace

E. traceroute

Browse 120 Q&As
Questions 18

Which of the following commands can be used to limit the amount of memory a user may use?

A. umask

B. usermod

C. ulimit

D. passwd

E. chage

Browse 120 Q&As
Exam Code: 102-400
Exam Name: LPI Level 1 Exam 102, Junior Level Linux Certification,Part 2 of 2
Last Update: Apr 21, 2024
Questions: 120 Q&As

PDF

$45.99

VCE

$49.99

PDF + VCE

$59.99