New Year Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: pass65

102-500 LPIC-1 Exam 102, Part 2 of 2, version 5.0 Questions and Answers

Questions 4

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

Options:

Buy Now
Questions 5

What is true about the file .profile in a user's home directory?

Options:

A.

It must be executable.

B.

It must call the binary of the login shell.

C.

It must use a valid shell script syntax.

D.

It must start with a shebang.

E.

It must be readable for its owner only.

Buy Now
Questions 6

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

Buy Now
Questions 7

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

Buy Now
Questions 8

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:

Buy Now
Questions 9

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

Options:

Buy Now
Questions 10

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:

Buy Now
Questions 11

The X11 configuration file xorg.conf is grouped into sections. How is the content of the section SectionName associated with that section?

Options:

A.

It is placed in curly brackets as in Section SectionName { ... }.

B.

It is placed between a line containing Section "SectionName" and a line containing EndSection.

C.

It is placed between the tags

and

D.

It is placed after the row [SectionName].

E.

It is placed after an initial unindented Section "SectionName" and must be indented by exactly one tab character.

Buy Now
Questions 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.)

Options:

Buy Now
Questions 13

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

Buy Now
Questions 14

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

Buy Now
Questions 15

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

Buy Now
Questions 16

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

Options:

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

Buy Now
Questions 17

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.

Buy Now
Questions 18

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

Buy Now
Questions 19

For accessibility assistance, which of the following programs is an on-screen keyboard?

Options:

A.

xkb

B.

atkb

C.

GOK

D.

xOSK

Buy Now
Questions 20

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.

Buy Now
Questions 21

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

Options:

Buy Now
Questions 22

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.

resolve

B.

dns

C.

remote

D.

files

E.

hosts

Buy Now
Questions 23

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

Options:

Buy Now
Questions 24

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.

Buy Now
Questions 25

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

Options:

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

Buy Now
Questions 26

What is the command to delete the default gateway from the system IP routing table? (Choose TWO correct answers.)

Options:

A.

route del default

B.

ifconfig unset default

C.

netstat -r default

D.

ip route del default

E.

sysctl ipv4.default_gw=0

Buy Now
Questions 27

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?

Options:

Buy Now
Questions 28

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

Options:

Buy Now
Questions 29

Which of the following is true about IPv6?

Options:

A.

With IPv6, the TCP port numbers of most services have changed.

B.

IPv6 no longer supports broadcast addresses.

C.

IPv4 addresses can be used without any change with IPv6.

D.

IPv6 no longer supports multicast addresses.

E.

For IPv6, UDP and TCP have been replaced by the Rapid Transmission Protocol RTP.

Buy Now
Questions 30

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

Options:

A.

broadcast services

B.

interface statistics

C.

masquerading connections

D.

network connections

E.

routing tables

Buy Now
Questions 31

What is the purpose of the nsswitch.conf file?

Options:

A.

It is used to configure where the C library looks for system information such as host names and user passwords.

B.

It is used to configure network protocol port numbers such as for HTTP or SMTP.

C.

It is used to configure LDAP authentication services for the local system.

D.

It is used to configure which network services will be turned on during the next system boot.

Buy Now
Questions 32

What does the term Braille Display refer to?

Options:

A.

A standardized high contract graphical theme for desktop applications

B.

A Linux desktop environment similar to KDE and GNOME.

C.

A legacy display technology superseded by LCD.

D.

A physical representation of characters using small dots.

E.

A standard file format for data exchange, similar to XML

Buy Now
Questions 33

Which of the following commands will help identify a broken router between the local and the remote machine?

Options:

A.

ps

B.

netstat

C.

nslookup

D.

ifconfig

E.

traceroute

Buy Now
Questions 34

Which of the following programs uses the hosts.allow file to perform its main task of checking for access control restrictions to system services?

Options:

A.

tcpd

B.

inetd

C.

fingerd

D.

mountd

E.

xinetd

Buy Now
Questions 35

On a Linux system with shadow passwords enabled, which file in the file system contains the password hashes of all local users? (Specify the full name of the file, including path.)

Options:

Buy Now
Questions 36

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

Buy Now
Questions 37

What is Irue regarding the statement beginning with #. that is found in the first line of a script? (Choose TWO correct answers.)

Options:

A.

It prevents the script from being executed until the, is removed

B.

It triggers the installation of the script's interpreter.

C.

It specifies the path and the arguments of the interpreter used to run the script.

D.

It defines the character encoding of the script.

E.

It is a comment that is ignored by the script interpreter.

Buy Now
Questions 38

What is the top-level directory which contains the configuration files for CUPS? (Specify the full path to the directory.)

Options:

Buy Now
Questions 39

How can a specific user be prevented from scheduling tasks with a i.?

Options:

A.

By adding the specific user to the /etc/ at,allow file.

B.

By adding the specific user to the [deny] section in the /etc./atd.conf file.

C.

By adding the specific user to the nojoba group.

D.

By adding the specific user to the /etc/at.deny file.

E.

By executing the atd –deny [user] command.

Buy Now
Questions 40

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.

Buy Now
Questions 41

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

Buy Now
Questions 42

What output will the following command sequence produce?

echo '1 2 3 4 5 6' | while read a b c; do

echo result: $c $b $a;

done

Options:

A.

result: 3 4 5 6 2 1

B.

result: 1 2 3 4 5 6

C.

result: 6 5 4

D.

result: 6 5 4 3 2 1

E.

result: 3 2 1

Buy Now
Questions 43

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.

Buy Now
Questions 44

What the echo $$ command?

Options:

A.

The process ID of the current shell.

B.

The process ID for the following command.

C.

The process ID of the last command executed.

D.

The process ID of the last command which has been placed in the background.

E.

The process ID of the echo command.

Buy Now
Questions 45

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

Options:

A.

export $VARIABLE

B.

export VARIABLE

C.

set $VARIABLE

D.

set VARIABLE

E.

env VARIABLE

Buy Now
Questions 46

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

Buy Now
Questions 47

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

Options:

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.

Buy Now
Questions 48

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

Options:

Buy Now
Questions 49

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

Buy Now
Questions 50

What is true regarding the file ~/.forward?

Options:

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.

Buy Now
Questions 51

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

Options:

A.

cups-devices.conf

B.

snmp.conf

C.

printcap.conf

D.

printers.conf

E.

cupsd.conf

Buy Now
Questions 52

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.

Buy Now
Questions 53

What command can be used to generate syslog entries of any facility and priority? (supply just the command name without a path)

Options:

Buy Now
Questions 54

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

Options:

Buy Now
Questions 55

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

Buy Now
Questions 56

Which of the following commands is used to rotate, compress, and mail system logs?

Options:

A.

rotatelog

B.

striplog

C.

syslogd --rotate

D.

logrotate

E.

logger

Buy Now
Questions 57

After configuring printing on a Linux server, the administrator sends a test file to one of the printers and it fails to print. What command can be used to display the status of the printer's queue? (Specify ONLY the command without any path or parameters.)

Options:

Buy Now
Questions 58

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

Options:

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.

Buy Now
Questions 59

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

Buy Now
Questions 60

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)

Options:

Buy Now
Questions 61

Which command can be used to delete a group from a Linux system?

Options:

A.

groupdel

B.

groupmod

C.

groups

D.

groupedit

Buy Now
Questions 62

In which file, if present, must all users be listed that are allowed to use the cron scheduling system? (Specify the full name of the file, including path.)

Options:

Buy Now
Questions 63

What is the purpose of the iconv command?

Options:

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.

Buy Now
Questions 64

Which of the following commands can remove a user from a group?

Options:

A.

grouprm

B.

groupmod

C.

passwd

D.

usergroups

E.

usermod

Buy Now
Questions 65

Which TWO statements about crontab are true?

Options:

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.

Buy Now
Questions 66

Of the ways listed, which is the best way to temporarily suspend a single user's ability to interactively login?

Options:

A.

Add the user name to /etc/nologin.

B.

Change the user's password.

C.

Change the user name in /etc/passwd.

D.

Use change to expire the user account.

E.

Place the command logout in the user's profile.

Buy Now
Questions 67

Which file contains the date of the last change of a user's password?

Options:

A.

/etc/gshadow

B.

/etc/passwd

C.

/etc/pwdlog

D.

/etc/shadow

E.

/var/log/shadow

Buy Now
Questions 68

Which of the following files assigns a user to its primary group?

Options:

A.

/etc/pgroup

B.

/etc/shadow

C.

/etc/group

D.

/etc/passwd

E.

/etc/gshadow

Buy Now
Questions 69

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

Options:

A.

*

B.

-

C.

s

D.

x

Buy Now
Questions 70

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

Options:

A.

usermod

B.

passwd

C.

chattr

D.

chage

E.

chsh

Buy Now
Exam Code: 102-500
Exam Name: LPIC-1 Exam 102, Part 2 of 2, version 5.0
Last Update: Dec 20, 2024
Questions: 235

PDF + Testing Engine

$57.75  $164.99

Testing Engine

$43.75  $124.99
buy now 102-500 testing engine

PDF (Q&A)

$36.75  $104.99
buy now 102-500 pdf