Labour Day Limited Time 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 2493360325

Good News !!! 102-500 LPIC-1 Exam 102, Part 2 of 2, version 5.0 is now Stable and With Pass Result

102-500 Practice Exam Questions and Answers

LPIC-1 Exam 102, Part 2 of 2, version 5.0

Last Update 5 days ago
Total Questions : 197

102-500 is stable now with all latest exam questions are added 5 days ago. Just download our Full package and start your journey with LPIC-1 Exam 102, Part 2 of 2, version 5.0 certification. All these LPI 102-500 practice exam questions are real and verified by our Experts in the related industry fields.

102-500 PDF

102-500 PDF (Printable)
$48
$119.99

102-500 Testing Engine

102-500 PDF (Printable)
$56
$139.99

102-500 PDF + Testing Engine

102-500 PDF (Printable)
$70.8
$176.99
Question # 1

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

Options:

Discussion 0
Question # 2

Which command can be used to investigate the properties for a particular window in X by clicking that window? (Specify ONLY the command without any path or parameters.)

Options:

Discussion 0
Question # 3

Why is the xhost program considered dangerous to use?

Options:

A.  

It makes it difficult to uniquely identify a computer on the network.

B.  

It allows easy access to your X server by other users.

C.  

It logs sensitive information to syslog.

D.  

It makes your computer share network resources without any authentication.

E.  

It is a graphical DNS tool with known exploits.

Discussion 0
Question # 4

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

Options:

A.  

When KDM starts

B.  

When a user's X session exits

C.  

When KDM crashes

D.  

When X is restarted

E.  

When X crashes

Discussion 0
Question # 5

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

Discussion 0
Question # 6

What is the purpose of a screen reader?

Options:

A.  

It reads text displayed on the screen to blind or visually impaired people.

B.  

It reads the parameters of the attached monitors and creates an appropriate X11 configuration.

C.  

It displays lines and markers to help people use speed reading techniques.

D.  

It manages and displays files that contain e-books.

Discussion 0
Question # 7

How is a display manager started?

Options:

A.  

It is started by a user using the command startx.

B.  

It is started like any other system service by the init system.

C.  

It is started by inetd when a remote hosts connects to the X11 port.

D.  

It is started automatically when a X11 user logs in to the system console.

Discussion 0
Question # 8

Which file used by XDM specifies the default wallpaper?

Options:

A.  

/etc/X11/xdm/Xsetup

B.  

/etc/X11/xdm.conf

C.  

/etc/X11/xdm/Defaults

D.  

/etc/X11/defaults.conf

Discussion 0
Question # 9

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

Options:

A.  

hostname:displayname

B.  

hostname:displaynumber

C.  

hostname/displayname

D.  

hostname/displaynumber

E.  

hostname

Discussion 0
Question # 10

What is NOT contained in the locale setting of the operating system?

Options:

A.  

currency symbol

B.  

language

C.  

timezone

D.  

thousands separator

Discussion 0
Question # 11

What is true about the file /etc/localtime?

Options:

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 location of the system’s IP address.

C.  

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

D.  

After changing this file, newtzconfig has to be run to make the changes effective.

E.  

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

Discussion 0
Question # 12

Which of the following commands should be added to /etc/bash_profile in order to change the language of messages for an internationalized program to Portuguese (pt)?

Options:

A.  

export LANGUAGE="pt"

B.  

export MESSAGE="pt"

C.  

export UI_MESSAGES="pt"

D.  

export LC_MESSAGES="pt"

E.  

export ALL_MESSAGES="pt"

Discussion 0
Question # 13

Which of the following can the chage command NOT change?

Options:

A.  

The number of days since January 1, 1970 after which the user's account will no longer be accessible.

B.  

The number of days since January 1, 1970 after which the password can change.

C.  

The number of days since January 1, 1970 since the password was last changed.

D.  

The maximum number of days during which a password is valid.

E.  

The number of days of inactivity after a password has expired before the account is locked.

Discussion 0
Question # 14

Which command is used to add an empty group to the system? (Specify ONLY the command without any path or parameters.)

Options:

Discussion 0
Question # 15

On a system using shadowed passwords, the most correct permissions for /etc/passwd are ___ and the most correct permissions for /etc/shadow are _________.

Options:

A.  

-rw-r-----, -r--------

B.  

-rw-r--r--, -r--r--r--

C.  

-rw-r--r--, -r--------

D.  

-rw-r--rw-, -r-----r--

E.  

-rw-------, -r--------

Discussion 0
Question # 16

A French user has installed the French language pack, but currencies are still being displayed with a leading '$' sign in his spreadsheets. What must be done to fix this?

Options:

A.  

Alter the locale.

B.  

Set the timezone correctly.

C.  

Edit /etc/currency.

D.  

Reinstall the French language pack.

Discussion 0
Question # 17

What command will display the group names and GIDs to which a user belongs? (Provide only the command name with or without path information)

Options:

Discussion 0
Question # 18

What is the conventional purpose of Linux UIDs that are lower than 100?

Options:

A.  

They are reserved for super user accounts.

B.  

They are reserved for the system admin accounts.

C.  

They are reserved for system accounts.

D.  

They are unused, aside from 0, because they are targets of exploits.

E.  

They are used to match with GIDs in grouping users.

Discussion 0
Question # 19

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?

Options:

A.  

debug

B.  

lsof

C.  

nessus

D.  

strace

E.  

traceroute

Discussion 0
Question # 20

Which of the following commands preloads and manages keys that are used for automatic authentication while logging in to other machines using SSH?

Options:

A.  

sshd

B.  

ssh-agent

C.  

ssh-keygen

D.  

ssh-add

Discussion 0
Question # 21

Which command is used to set restrictions on the size of a core file that is created for a user when a program crashes?

Options:

A.  

core

B.  

edquota

C.  

ulimit

D.  

quota

Discussion 0
Question # 22

In an xinetd configuration file, which attribute specifies the network address that will be used to provide the service?

Options:

Discussion 0
Question # 23

What is a purpose of an SSH host key?

Options:

A.  

It must be sent by any SSH client in addition to a user key in order to identify the client's host.

B.  

It provides the server's identity information to connecting SSH clients.

C.  

It is the root key by which all user SSH keys must be signed.

D.  

It authenticates any user that logs into a remote machine from the key's host.

E.  

It is used by system services like cron, syslog or a backup job to automatically connect to remote hosts.

Discussion 0
Question # 24

Which configuration file would be edited to change the default options for outbound SSH sessions?

Options:

A.  

/etc/ssh/sshd_config

B.  

/etc/ssh/ssh

C.  

/etc/ssh/client

D.  

/etc/ssh/ssh_config

E.  

/etc/ssh/ssh_client

Discussion 0
Question # 25

With X11 forwarding in ssh, what environment variable is automatically set in the remote host shell that is not set when X11 forwarding is not enabled? (Specify only the environment variable without any additional commands or values.)

Options:

Discussion 0
Question # 26

Which directory holds the files that configure the xinetd service when using several configuration files instead of an integrated configuration file? (Specify the full path to the directory.)

Options:

Discussion 0
Question # 27

The presence of what file will temporarily prevent all users except root from logging into the system? (Specify the full name of the file, including path.)

Options:

Discussion 0
Question # 28

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?

Options:

A.  

date -d '+ 1 day'

B.  

hwclock --systohc --localtime

C.  

ntpdate pool.ntp.org

D.  

time hwclock

Discussion 0
Question # 29

Which command, available with all MTAs, is used to list the contents of the MTA's mail queue? (Specify ONLY the command without any path or parameters.)

Options:

Discussion 0
Question # 30

Please specify the top directory containing the configuration files for the CUPS printing system. (Specify the full path to the directory.)

Options:

Discussion 0
Question # 31

What is the purpose of the command mailq?

Options:

A.  

It fetches new emails from a remote server using POP3 or IMAP.

B.  

It is a multi-user mailing list manager.

C.  

It is a proprietary tool contained only in the qmail MT

A.  

D.  

It queries the mail queue of the local MT

A.  

E.  

It is a command-line based tool for reading and writing emails.

Discussion 0
Question # 32

After adding a new email alias to the configuration, which command must be run in order to ensure the MTA knows about it? (Specify the command without any path but including all required parameters.)

Options:

Discussion 0
Question # 33

What command should be used to print a listing of email in the system's mail queue?

Options:

A.  

lpq

B.  

mailq

C.  

mlq

D.  

sendmail –l

Discussion 0
Question # 34

To exclude all log messages of a given logging facility, you should use a logging priority of _____ .

Options:

Discussion 0
Question # 35

What is pool.ntp.org?

Options:

A.  

A deprecated feature for maintaining system time in the Linux kernel

B.  

A website which provides binary and source packages for the OpenNTPD project

C.  

A virtual cluster of various timeservers

D.  

A community website used to discuss the localization of Linux

Discussion 0
Question # 36

Which of the following tasks can be accomplished using the command date? (Choose TWO correct answers.)

Options:

A.  

Synchronize the hardware and system clocks.

B.  

Output date and time in different formats.

C.  

Set the system clock.

D.  

Set the hardware clock.

E.  

Update the time via NTP.

Discussion 0
Question # 37

Which of the following words is used to restrict the records that are returned from a SELECT query based on a supplied criteria for the values in the records?

Options:

A.  

LIMIT

B.  

FROM

C.  

WHERE

D.  

IF

Discussion 0
Question # 38

What output will the command seq 10 produce?

Options:

A.  

A continuous stream of numbers increasing in increments of 10 until stopped.

B.  

The numbers 1 through 10 with one number per line.

C.  

The numbers 0 through 9 with one number per line.

D.  

The number 10 to standard output.

Discussion 0
Question # 39

What command displays all aliases defined in the current shell? (Specify the command without any path information)

Options:

Discussion 0
Question # 40

What word is missing from the following SQL statement?

__________ count(*) from tablename;

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

Options:

Discussion 0
Question # 41

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;

Discussion 0
Question # 42

What is the purpose of the file /etc/profile?

Options:

A.  

It contains the welcome message that is displayed after login.

B.  

It contains security profiles defining which users are allowed to log in.

C.  

It contains environment variables that are set when a user logs in.

D.  

It contains default application profiles for users that run an application for the first time.

Discussion 0
Question # 43

Which of the following commands lists all defined variables and functions within Bash?

Options:

A.  

env

B.  

set

C.  

env -a

D.  

echo $ENV

Discussion 0
Question # 44

Which of the following commands puts the output of the command date into the shell variable mydate?

Options:

A.  

mydate="$(date)"

B.  

mydate="exec date"

C.  

mydate="$((date))"

D.  

mydate="date"

E.  

mydate="${date}"

Discussion 0
Question # 45

When the command echo $ outputs 1, which of the following statements is true?

Options:

A.  

It is the process ID of the echo command.

B.  

It is the process ID of the current shell.

C.  

It is the exit value of the command executed immediately before echo.

D.  

It is the exit value of the echo command.

Discussion 0
Question # 46

Which of the following is a valid IPv6 address?

Options:

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

Discussion 0
Question # 47

Which of the following keywords can be used in the file /etc/nsswitch.conf to specify a source for host name lookups? (Choose TWO correct answers.)

Options:

A.  

resolv

B.  

dns

C.  

remote

D.  

files

E.  

hosts

Discussion 0
Question # 48

Which parameter must be passed to ifconfig to activate a previously inactive network interface? (Specify the parameter only without any command, path or additional options)

Options:

Discussion 0
Question # 49

Which of the following programs can be used to determine the routing path to a given destination?

Options:

A.  

dig

B.  

netstat

C.  

ping

D.  

route

E.  

traceroute

Discussion 0
Question # 50

What of the following can be done by the command ifconfig? (Choose TWO correct answers.)

Options:

A.  

Set a network interface active or inactive.

B.  

Specify the kernel module to be used with a network interface.

C.  

Allow regular users to change the network configuration of a network interface.

D.  

Change the netmask used on a network interface.

E.  

Specify which network services are available on a network interface.

Discussion 0
Question # 51

Which of the following keywords can be used in the file /etc/resolv.conf? (Choose TWO correct answers.)

Options:

A.  

substitute

B.  

nameserver

C.  

search

D.  

lookup

E.  

method

Discussion 0
Question # 52

Given the following routing table:

Question # 52

How would an outgoing packet to the destination 192.168.2.150 be handled?

Options:

A.  

It would be passed to the default router 192.168.178.1 on wlan0.

B.  

It would be directly transmitted on the device eth0.

C.  

It would be passed to the default router 255.255.255.0 on eth0.

D.  

It would be directly transmitted on the device wlan0.

E.  

It would be passed to the router 192.168.1.1 on eth0.

Discussion 0
Question # 53

What is true regarding TCP port 23?

Options:

A.  

Port 23 is the well known port for the telnet service which is a plain text protocol that should no longer be used.

B.  

Port 23 is the well known port for the SSH service which provides secure logins.

C.  

Port 23 is the well known port for the rlogin service which is SSL secured by default.

D.  

Port 23 is the well known port for the system login services which are encrypted when the user runs the starttls command in his login shell.

Discussion 0
Question # 54

Which port is the default server port for the HTTPS protocol? (Specify the port number using digits.)

Options:

Discussion 0
Question # 55

Which of the following entries in /etc/syslog.conf writes all mail related events to the file /var/log/maillog and sends all critical events to the remote server logger.example.com?

Options:

A.  

mail.*/var/log/maillogmail,crit@logger.example.org

B.  

mail.*/var/log/maillogmail.critsyslog://logger.example.org

C.  

mail/var/log/maillogmail.crit@logger.example.org

D.  

mail.*/var/log/maillogmail.crit@logger.example.org

E.  

mail */var/log/maillogmail crit@logger.example.org

Discussion 0
Question # 56

Which of the following commands shows all active systemd timers?

Options:

A.  

systemctl-timer show

B.  

timectl list

C.  

systemctl –t

D.  

systemctl list-timers

E.  

timeq

Discussion 0
Question # 57

Given the following excerpt of the sudo configuration:

jane ANY=NOPASSWD: /bin/kill, /bin/id, PASSWD: /sbin/fdisk

Which of the following statements are true? (Choose three.)

Options:

A.  

Jane can run /bin/id only after specifying her password.

B.  

Jane can run /sbin/fdisk after specifying root’s password.

C.  

Jane can run /sbin/fdisk after specifying her password.

D.  

Jane can run /bin/kill without specifying a password.

E.  

Jane can run /bin/id without specifying her password.

Discussion 0
Question # 58

Which of the following connection types, as seen in unroll connection show, may exist in Network Manager? (Choose THREE correct answers.)

Options:

A.  

tcp

B.  

Ethernet

C.  

wifi

D.  

ipv6

E.  

bridge

Discussion 0
Question # 59

Which of the following fields are available in the standard format of both the global /etc/crontab file as well as in user-specific crontab files? (Choose two.)

Options:

A.  

Year

B.  

Minute

C.  

Username

D.  

Effective group ID

E.  

Command

Discussion 0
Get 102-500 dumps and pass your exam in 24 hours!

Free Exams Sample Questions