Winter Special - 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: c4sdisc65

102-500 PDF

$38.5

$109.99

3 Months Free Update

  • Printable Format
  • Value of Money
  • 100% Pass Assurance
  • Verified Answers
  • Researched by Industry Experts
  • Based on Real Exams Scenarios
  • 100% Real Questions

102-500 PDF + Testing Engine

$61.6

$175.99

3 Months Free Update

  • Exam Name: LPIC-1 Exam 102, Part 2 of 2, version 5.0
  • Last Update: Feb 12, 2025
  • Questions and Answers: 235
  • Free Real Questions Demo
  • Recommended by Industry Experts
  • Best Economical Package
  • Immediate Access

102-500 Engine

$46.2

$131.99

3 Months Free Update

  • Best Testing Engine
  • One Click installation
  • Recommended by Teachers
  • Easy to use
  • 3 Modes of Learning
  • State of Art Technology
  • 100% Real Questions included

102-500 Practice Exam Questions with Answers LPIC-1 Exam 102, Part 2 of 2, version 5.0 Certification

Question # 6

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

Full Access
Question # 7

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

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.

Full Access
Question # 8

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

Full Access
Question # 9

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.

Full Access
Question # 10

Which parameter of the ssh command specifies the location of the private key used for login attempts? (Specify ONLY the option name without any values or parameters.)

Full Access
Question # 11

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

B.

/etc/X11/xdm.conf

C.

/etc/X11/xdm/Defaults

D.

/etc/X11/defaults.conf

Full Access
Question # 12

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.)

Full Access
Question # 13

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

A.

xcd

B.

xcdepth

C.

xwininfo

D.

xcolordepth

E.

cat /etc/X11

Full Access
Question # 14

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

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.

Full Access
Question # 15

Which of the following files, when existing, affect the behavior of the Bash shell? (Choose TWO correct answers.)

A.

~/.bashconf

B.

~/.bashrc

C.

~/.bashdefaults

D.

~/.bash_etc

E.

~/.bash_profile

Full Access
Question # 16

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

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;

Full Access
Question # 17

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:

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.

Full Access
Question # 18

What is the difference between the commands test -e path and test -f path?

A.

They are equivalent options with the same behaviour.

B.

The -f option tests for a regular file. The -e option tests for an empty file.

C.

Both options check the existence of the path. The -f option also confirms that it is a regular file.

D.

The -f option tests for a regular file. The -e option tests for an executable file.

Full Access
Question # 19

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)

Full Access
Question # 20

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

A.

export $VARIABLE

B.

export VARIABLE

C.

set $VARIABLE

D.

set VARIABLE

E.

env VARIABLE

Full Access
Question # 21

Which command makes the shell variable named VARIABLE visible to subshells?

A.

export $VARIABLE

B.

export VARIABLE

C.

set $VARIABLE

D.

set VARIABLE

E.

env VARIABLE

Full Access
Question # 22

Which of the following configuration files should be modified to set default shell variables for all users?

A.

/etc/bashrc

B.

/etc/profile

C.

~/.bash_profile

D.

/etc/.bashrc

Full Access
Question # 23

What word is missing from the following SQL statement?

__________ count(*) from tablename;

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

Full Access
Question # 24

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.

Full Access
Question # 25

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

A.

mydate="$(date)"

B.

mydate="exec date"

C.

mydate="$((date))"

D.

mydate="date"

E.

mydate="${date}"

Full Access
Question # 26

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

A.

substitute

B.

nameserver

C.

search

D.

lookup

E.

method

Full Access
Question # 27

On a regular users workstation the route command takes a long time before printing out the routing table. Which of the following errors does that indicate?

A.

The local routing information may be corrupted and must be re-validated using a routing protocol.

B.

One of the routers in the routing table is not available which causes the automatic router failure detection mechanism (ARF-D) to wait for a timeout.

C.

There may accidentally be more than one default router in which case a default router election has to be done on the network in order to choose one router as the default.

D.

DNS resolution may not be working as route by default tries to resolve names of routers and destinations and may run into a timeout.

Full Access
Question # 28

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

A.

dig

B.

netstat

C.

ping

D.

route

E.

traceroute

Full Access
Question # 29

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

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.

Full Access
Question # 30

Which command, depending on its options, can display the open network connections, the routing tables, as well as network interface statistics. (Specify ONLY the command without any path or parameters.)

Full Access
Question # 31

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.)

A.

resolve

B.

dns

C.

remote

D.

files

E.

hosts

Full Access
Question # 32

Which command is used to set the hostname of the local system? (Specify ONLY the command without any path or parameters.)

Full Access
Question # 33

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

Full Access
Question # 34

Which of the following details is NOT provided in any output from the netstat utility?

A.

broadcast services

B.

interface statistics

C.

masquerading connections

D.

network connections

E.

routing tables

Full Access
Question # 35

Which keyword must be listed in the hosts option of the Name Service Switch configuration file in order to make host lookups consult the /etc/hosts file?

Full Access
Question # 36

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

Full Access
Question # 37

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.)

Full Access
Question # 38

Which of the following parameters are used for journalctl to limit the time frame of the output? (Choose TWO correct answers.)

A.

--from=

B.

--since=

C.

--until=

D.

--upto=

E.

--date=

Full Access
Question # 39

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

Full Access
Question # 40

What is pool.ntp.org?

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

Full Access
Question # 41

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

A.

local5

B.

mail

C.

advanced

D.

postmaster

E.

remote

Full Access
Question # 42

Which of the following are commonly used Mail Transfer Agent (MTA) applications? (Choose THREE correct answers.)

A.

Postfix

B.

Procmail

C.

Sendmail

D.

Exim

E.

SMTPd

Full Access
Question # 43

Which file inside the CUPS configuration directory contains the definition of the printers?

A.

cups-devices.conf

B.

snmp.conf

C.

printcap.conf

D.

printers.conf

E.

cupsd.conf

Full Access
Question # 44

What is the purpose of the command mailq?

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 MTA.

D.

It queries the mail queue of the local MTA.

E.

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

Full Access
Question # 45

Why is the correct configuration of a system's time zone important?

A.

Because the conversion of Unix timestamps to local time relies on the time zone configuration.

B.

Because the time zone is saved as part of the modification times of files and cannot be changed after a file is created.

C.

Because the environment variables LANG and LC_MESSAGES are, by default, set according to the time zone.

D.

Because NTP chooses servers nearby based on the configured time zone.

Full Access
Question # 46

Which option in the /etc/ntp.conf file specifies an external NTP source to be queried for time information? (Specify ONLY the option without any values or parameters.)

Full Access
Question # 47

Which of the following fields are available in both the global /etc/crontab file as well as in user-specific crontab files? (Select TWO correct answers)

A.

Year

B.

Minute

C.

Username

D.

Command

Full Access
Question # 48

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

A.

usermod

B.

passwd

C.

chattr

D.

chage

E.

chsh

Full Access
Question # 49

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].

Full Access
Question # 50

Which of the following IPv4 networks are reserved by IANA for private address assignment and private routing? (Choose THREE correct answers.)

A.

127.0.0.0/8

B.

10.0.0.0/8

C.

169.255.0.0/16

D.

172.16.0.0/12

E.

192.168.0.0/16

Full Access
Question # 51

How many IP-addresses can be used for unique hosts inside the IPv4 subnet 192.168.2.128/28? (Specify the number only without any additional information.)

Full Access
Question # 52

Which standardized TCP port is used by HTTPS services?

A.

25

B.

80

C.

8080

D.

443

E.

636

Full Access
Question # 53

What command is used to add OpenSSH private keys to a running ssh-agen . instance? (Specify the command name only without any path.)

Full Access
Question # 54

Which of the following is observed and corrected by a NTP client?

A.

The skew in time between the system clock and the hardware clock.

B.

The skew in time between the system clock and the reference clock.

C.

Changes in the time zone of the current computer's location.

D.

Adjustments needed to support Daylight Saving Time.

Full Access
Question # 55

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

Full Access
Question # 56

The ________ command is used to add a group to the system.

Full Access
Question # 57

What is the purpose of the iconv command?

A.

It converts bitmap images from one format to another such as PNG to JPEG.

B.

It verifies that the root directory tree complies to all conventions from the Filesystem Hierarchy Standard (FHS).

C.

It displays additional meta information from icon files ending in .ico.

D.

It changes the mode of an inode in the ext4 file system.

E.

It converts files from one character encoding to another.

Full Access
Question # 58

Which command should be added to /etc/bash_profile to change the language of messages from an internationalised program to Portuguese (pt)? (Select TWO correct answers)

A.

export LANGUAGE="pt"

B.

export MESSAGE="pt"

C.

export LANG="pt"

D.

export LC_MESSAGES="pt"

E.

export ALL_MESSAGES="pt"

Full Access
Question # 59

Which environment variable should be set in order to change the time zone for the commands run from within the environment variable's scope? (Specify the variable name only.)

Full Access
Question # 60

Which TWO statements about crontab are true?

A.

Every user may have their own crontab.

B.

Changing a crontab requires a reload/restart of the cron daemon.

C.

The cron daemon reloads crontab files automatically when necessary.

D.

hourly is the same as "0 * * * *".

E.

A cron daemon must run for each existing crontab.

Full Access
Question # 61

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 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.

Full Access
Question # 62

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

A.

*

B.

-

C.

s

D.

x

Full Access
Question # 63

Which crontab entry could be used to set the system time at regular intervals?

A.

1 0 * * * date $d $t $24

B.

1 0 * * * ntpdate ntp1.digex.net

C.

1 0 * * * date ntp1.digex.net

D.

1 0 * * * runcron date ntp1.digex.net

E.

1 0 * * * settime $d $t $24

Full Access
Question # 64

Which of the following commands shows all active systemd timers?

A.

systemctl-timer show

B.

timectl list

C.

systemctl –t

D.

systemctl list-timers

E.

timeq

Full Access
Question # 65

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.)

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.

Full Access
Question # 66

Which option in the chrony configuration file changes the initial interval of polls to a NTP server in order to speed up the initial synchronization?

A.

iburst

B.

quickstart

C.

fast

D.

D. fsync

E.

flood

Full Access
Question # 67

On a system using system-journald, which of the following command add the message Howdy to the system log? (Choose two correct answers.)

A.

Appond Howdy

B.

Logger Howday

C.

Syslend-cst echo Howdy

D.

Echo Howdy > /dev/journal

E.

Journalct1 and howdy

Full Access
Question # 68

Which of the following commands display the number of bytes transmitted and received via the etho network interface? (Choose TWO correct answer.)

A.

Route –v via etho

B.

Ip stats show dev etho

C.

Netstat –s –I etho

D.

Ifconfig etho

E.

Ip –s link show etho

Full Access
Question # 69

Which directory holds configuration files for xinetd services? (Specify the full path to the directory

Full Access
Question # 70

Which of the following commands displays all environment and shell variables?

A.

getargs

B.

lsenv

C.

ls

D.

env

E.

lsshell

Full Access