New Year Special 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: bestdeal

Free LPI 102-500 Practice Exam with Questions & Answers | Set: 4

Questions 31

Which of the following are tasks handled by a display manager like XDM or KDM? (Choose TWO correct answers.)

Options:
A.

Start and prepare the desktop environment for the user.

B.

Configure additional devices like new monitors or projectors when they are attached.

C.

Handle the login of a user.

D.

Lock the screen when the user was inactive for a configurable amount of time.

E.

Create an X11 configuration file for the current graphic devices and monitors.

LPI 102-500 Premium Access
Questions 32

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?

Options:
A.

xcd

B.

xcdepth

C.

xwininfo

D.

xcolordepth

E.

cat /etc/X11

Questions 33

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.

Options:
Questions 34

Which of the following commands shows the current color depth of the X Server?

Options:
A.

xcd

B.

xcdepth

C.

xwininfo

D.

xcolordepth

E.

cat /etc/X11

Questions 35

Which of the following SQL queries counts the number of occurrences for each value of the field order_type in the table orders?

Options:
A.

SELECT order_type,COUNT(*) FROM orders WHERE order_type=order_type;

B.

SELECT order_type,COUNT(*) FROM orders GROUP BY order_type;

C.

COUNT(SELECT order_type FROM orders);

D.

SELECT COUNT(*) FROM orders ORDER BY order_type;

E.

SELECT AUTO_COUNT FROM orders COUNT order_type;

Questions 36

What word is missing from the following SQL statement?

__________ count(*) from tablename;

(Please specify the missing word using lower-case letters only.)

Options:
Questions 37

Which command allows you to make a shell variable visible to subshells?

Options:
A.

export $VARIABLE

B.

export VARIABLE

C.

set $VARIABLE

D.

set VARIABLE

E.

env VARIABLE

Questions 38

You are looking into a new script you received from your senior administrator. In the very first line you notice a #! followed by a file path. This indicates that:

Options:
A.

The file at that location was used to make the script.

B.

This script provides identical functionality as the file at that location.

C.

This script will self-extract into a file at that location.

D.

The program at that location will be used to process the script.

Questions 39

Which directory in /etc is used to keep a sample copy of files and directories for when a new user has a home directory created? (Please provide the full path)

Options:
Questions 40

By default, the contents of which directory will be copied to a new user's home directory when the account is created by passing the -m option to the useradd command? (Specify the full path to the directory.)

Options:
Exam Code: 102-500
Certification Provider: LPI
Exam Name: LPIC-1 Exam 102, Part 2 of 2, version 5.0
Last Update: Mar 28, 2025
Questions: 235