ExamGecko
Home Home / LPI / 102-500

LPI 102-500 Practice Test - Questions Answers, Page 5

Question list
Search
Search

Your senior administrator asked you to change the default background of his machine, which uses XDM. Which file would you edit to achieve this?

A.
/etc/X11/xdm/Xsetup
A.
/etc/X11/xdm/Xsetup
Answers
B.
/etc/X11/xdm.conf
B.
/etc/X11/xdm.conf
Answers
C.
/etc/X11/xdm/Defaults
C.
/etc/X11/xdm/Defaults
Answers
D.
/etc/X11/defaults.conf
D.
/etc/X11/defaults.conf
Answers
Suggested answer: A

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

A.
To assist users who have difficulty holding down multiple keys at once
A.
To assist users who have difficulty holding down multiple keys at once
Answers
B.
To prevent repeated input of a single character if the key is held down
B.
To prevent repeated input of a single character if the key is held down
Answers
C.
To ignore brief keystrokes according to a specified time limit
C.
To ignore brief keystrokes according to a specified time limit
Answers
D.
To repeat the input of a single character
D.
To repeat the input of a single character
Answers
Suggested answer: A

Why is the xhost program considered dangerous to use?

A.
It makes it difficult to uniquely identify a computer on the network.
A.
It makes it difficult to uniquely identify a computer on the network.
Answers
B.
It allows easy access to your X server by other users.
B.
It allows easy access to your X server by other users.
Answers
C.
It logs sensitive information to syslog.
C.
It logs sensitive information to syslog.
Answers
D.
It makes your computer share network resources without any authentication.
D.
It makes your computer share network resources without any authentication.
Answers
E.
It is a graphical DNS tool with known exploits.
E.
It is a graphical DNS tool with known exploits.
Answers
Suggested answer: B

An administrator wants to determine the geometry of a particular window in X, so she issues the __________ -metric command and then clicks on the window.

A.
/usr/bin/xwininfo, xwininfo
A.
/usr/bin/xwininfo, xwininfo
Answers
Suggested answer: A

On a system running the KDE Display Manager, when is the /etc/kde4/kdm/Xreset script automatically executed?

A.
When KDM starts
A.
When KDM starts
Answers
B.
When a user's X session exits
B.
When a user's X session exits
Answers
C.
When KDM crashes
C.
When KDM crashes
Answers
D.
When X is restarted
D.
When X is restarted
Answers
E.
When X crashes
E.
When X crashes
Answers
Suggested answer: B

Which of the following lines is an example of a correct setting for the DISPLAY environment variable?

A.
hostname:displayname
A.
hostname:displayname
Answers
B.
hostname:displaynumber
B.
hostname:displaynumber
Answers
C.
hostname/displayname
C.
hostname/displayname
Answers
D.
hostname/displaynumber
D.
hostname/displaynumber
Answers
E.
hostname
E.
hostname
Answers
Suggested answer: B

Explanation:

Topic 3, Administrative Tasks

Which of the following steps prevents a user from obtaining an interactive login session?

A.
Run the command chsh -s /bin/false with the user name.
A.
Run the command chsh -s /bin/false with the user name.
Answers
B.
Set the UID for the user to 0.
B.
Set the UID for the user to 0.
Answers
C.
Remove the user from the group staff.
C.
Remove the user from the group staff.
Answers
D.
Add the user to /etc/noaccess.
D.
Add the user to /etc/noaccess.
Answers
E.
Create a .nologin file in the user's home directory.
E.
Create a .nologin file in the user's home directory.
Answers
Suggested answer: A

Which file specifies the user accounts that can NOT submit jobs via at or batch? (Provide the full path and filename)

A.
/etc/at.deny
A.
/etc/at.deny
Answers
Suggested answer: A

Which character in the password field of /etc/passwd is used to indicate that the encrypted password is stored in /etc/shadow?

A.
*
A.
*
Answers
B.
-
B.
-
Answers
C.
s
C.
s
Answers
D.
x
D.
x
Answers
Suggested answer: D

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)

A.
/usr/share/zoneinfo/
A.
/usr/share/zoneinfo/
Answers
Suggested answer: A
Total 194 questions
Go to page: of 20