Certbus > Lpi > LPI Other Certification > 102-500 > 102-500 Online Practice Questions and Answers

102-500 Online Practice Questions and Answers

Questions 4

What benefit does an alias in bash provide?

A. It provides faster lookups for commands in the system directory.

B. It creates a local copy of a file from another directory.

C. It hides what command you are running from others.

D. It allows a string to be substituted for the first word of a simple command.

Browse 199 Q&As
Questions 5

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 199 Q&As
Questions 6

How can the existing environment variable FOOBAR be suppressed for the execution of the script./myscript only?

A. unset -v FOOBAR;./myscript

B. set -a FOOBAR="";./myscript

C. env -u FOOBAR./myscript

D. env -i FOOBAR./myscript

Browse 199 Q&As
Questions 7

Which file used by XDM specifies the default wallpaper?

A. /etc/X11/xdm/Xsetup

B. /etc/X11/xdm.conf

C. /etc/X11/xdm/Defaults

D. /etc/X11/defaults.conf

Browse 199 Q&As
Questions 8

What is the purpose of the Sticky Keys feature in X?

A. To assist users who have difficulty holding down multiple keys at once

B. To prevent repeated input of a single character if the key is held down

C. To ignore brief keystrokes according to a specified time limit

D. To repeat the input of a single character

Browse 199 Q&As
Questions 9

X is running okay but you're concerned that you may not have the right color depth set. What single command will show you the running color depth while in X?

A. xcd

B. xcdepth

C. xwininfo

D. xcolordepth

E. cat /etc/X11

Browse 199 Q&As
Questions 10

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 199 Q&As
Questions 11

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 199 Q&As
Questions 12

Which of the following is a legacy program provided by CUPS for sending files to the printer queues on the command line?

A. lpd

B. lpp

C. lpq

D. lpr

Browse 199 Q&As
Questions 13

What is true regarding the file ~/.forward?

A. As it is owned by the MTA and not writable by the user, it must be edited using the editaliases command.

B. After editing ~/.forward the user must run newaliases to make the mail server aware of the changes.

C. Using ~/.forward, root may configure any email address whereas all other users may configure only their own addresses.

D. When configured correctly, ~/.forward can be used to forward each incoming mail to more than one other recipient.

Browse 199 Q&As
Questions 14

On a dual boot system, every time the system is booted back into Linux the time has been set backward by one day. Which of the following commands will correct the problem?

A. date -d '+ 1 day'

B. hwclock --systohc --localtime

C. ntpdate pool.ntp.org

D. time hwclock

Browse 199 Q&As
Questions 15

Which of the following is a valid IPv6 address?

A. 2001:db8:3241::1

B. 2001::db8:4581::1

C. 2001:db8:0g41::1

D. 2001%db8%9990%%1

E. 2001.db8.819f..1

Browse 199 Q&As
Questions 16

Which of the following features are provided by SPICE? (Choose two.)

A. Connecting local USB devices to remote applications.

B. Accessing graphical applications on a remote host.

C. Replacing Xorg as local X11 server.

D. Downloading and locally installing applications from a remote machine.

E. Uploading and running a binary program on a remote machine.

Browse 199 Q&As
Questions 17

Which command is used to sync the hardware clock to the system clock? (Specify ONLY the command without any path or parameters.)

A. hwclock

B. /sbin/hwclock

C. /usr/sbin/hwclock

D. PlaceHolder

Browse 199 Q&As
Questions 18

With IPv6, how many bits have been used for the interface identifier of an unicast address? (Specify the number using digits only.)

A. 64

B. PlaceHolder

C. PlaceHolder

D. PlaceHolder

Browse 199 Q&As
Exam Code: 102-500
Exam Name: LPIC-1 Exam 102 - Part 2 of 2 - version 5.0
Last Update: Apr 19, 2024
Questions: 199 Q&As

PDF

$45.99

VCE

$49.99

PDF + VCE

$59.99