Weekend Sale - Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: dpm65

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

Questions 4

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 5

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 6

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 7

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 8

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

Options:

A.

/etc/X11/xdm/Xsetup

B.

/etc/X11/xdm.conf

C.

/etc/X11/xdm/Defaults

D.

/etc/X11/defaults.conf

Buy Now
Questions 9

What is the name of the simple graphical login manager that comes with a vanilla X11 installation? (Specify ONLY the command without any path or parameters.)

Options:

Buy Now
Questions 10

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 11

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

Buy Now
Questions 12

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 13

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

Options:

Buy Now
Questions 14

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 15

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:

Buy Now
Questions 16

Which file, when using Sendmail or a similar MTA system, will allow a user to redirect all their mail to another address and is configurable by the user themselves?

Options:

A.

/etc/alias

B.

~/.alias

C.

/etc/mail/forwarders

D.

~/.forward

E.

~/.vacation

Buy Now
Questions 17

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

D.

It queries the mail queue of the local MTA.

E.

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

Buy Now
Questions 18

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 19

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

Options:

A.

/etc/bashrc

B.

/etc/profile

C.

~/.bash_profile

D.

/etc/.bashrc

Buy Now
Questions 20

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 21

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

Options:

A.

~/.bashconf

B.

~/.bashrc

C.

~/.bashdefaults

D.

~/.bash_etc

E.

~/.bash_profile

Buy Now
Questions 22

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 23

Which of the following are requirements in order to run a shell script like a regular command from anywhere in the filesystem? (Choose THREE correct answers.)

Options:

A.

The user issuing the command must be in the group script.

B.

The script file must be found in the $PATH.

C.

The script file must have the executable permission bit set.

D.

The script must begin with a shebang-line (#!) that points to the correct interpreter.

E.

The file system on which the script resides must be mounted with the option scripts.

Buy Now
Questions 24

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.

Buy Now
Questions 25

What output will the following command produce?

seq 1 5 20

Options:

A.

1

6

1

1

1

6

B.

1

5

10

15

C.

1

2

3

4

D.

2

3

4

5

E.

5

10

15

20

Buy Now
Questions 26

When the command echo $$ outputs 12942, what is the meaning of 12942?

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 process ID of the last command executed.

D.

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

Buy Now
Questions 27

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 28

Which of the following commands can be used to display the local routing table? (Choose TWO correct answers.)

Options:

A.

ifconfig

B.

dig

C.

netstat

D.

route

E.

trackroute

Buy Now
Questions 29

Which of the following lines are valid in the file /etc/hosts? (Choose TWO correct answers.)

Options:

A.

2001:db8::15 www.example.com www

B.

www.example.com www 203.0.13.15

C.

203.0.113.15 www.example.com www

D.

www.example.com,www 203.0.13.15,2001:db8::15

E.

2003.0.113.15,2001:db8::15 www.example.com www

Buy Now
Questions 30

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

Buy Now
Questions 31

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 32

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

Options:

Buy Now
Questions 33

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 34

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

Options:

Buy Now
Questions 35

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 36

Which of the following statements is valid in the file /etc/nsswitch.conf?

Options:

A.

multi on

B.

192.168.168.4 dns-server

C.

hosts: files dns

D.

include /etc/nsswitch.d/

Buy Now
Questions 37

Which of the following commands lists all queued print jobs?

Options:

A.

lpd

B.

lpr

C.

lp

D.

lsq

E.

lpq

Buy Now
Questions 38

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 39

Which of the following information is stored in /etc/shadow for each user?

Options:

A.

The timestamp of the user’s last login

B.

The user’s private SSH keys

C.

The hashed password of the user

D.

The numerical user ID (UID)

E.

The path to the user’s home directory

Buy Now
Questions 40

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

Options:

A.

getargs

B.

lsenv

C.

ls

D.

env

E.

lsshell

Buy Now
Questions 41

Which command included in NetworkManager is a curses application which provides easy acces to the NetworkManager on the command line? (Specify only the command without any path or parameters.)

Options:

Buy Now
Questions 42

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

Buy Now
Questions 43

What output is produced by the following command sequence?

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

echo result $c $b $a;

done

Options:

A.

result: 6 5 4

B.

result: 1 2 3 4 5 6

C.

result: 3 4 5 6 2 1

D.

result: 6 5 4 3 2 1

E.

result: 3 2 1

Buy Now
Questions 44

Which of the following nmcli subcommands exist? (Choose two.)

Options:

A.

nmcli ethernet

B.

nmcli device

C.

nmcli wifi

D.

nmcli address

E.

nmcli connection

Buy Now
Questions 45

What is true about the Hop Limit field in the IPv6 header?

Options:

A.

The field is not changed during the transport of a package.

B.

The field is transmitted within a hop-by-hop extension header.

C.

Each router forwarding the packet increases the field’s value.

D.

Each router forwarding the packet decreases the field’s value.

E.

For multicast packages, the field’s value is always 1.

Buy Now
Questions 46

Which commands can be used 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
Questions 47

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:

Buy Now
Questions 48

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

Options:

Buy Now
Questions 49

Each entry in a crontab must end with what character?

Options:

A.

Tab

B.

Space

C.

Backslash

D.

Newline

Buy Now
Questions 50

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 51

Which of the following commands can be used to convert text files in one character encoding to another character encoding?

Options:

A.

cat

B.

convert

C.

dd

D.

iconv

E.

utf2utf

Buy Now
Questions 52

How is the file format of /etc/crontab different from a normal crontab file? (Select TWO correct answers)

Options:

A.

The /etc/crontab file can specify a year field.

B.

A normal crontab file must be installed with the crontab command.

C.

A normal crontab file allows for environment variable substitution.

D.

The /etc/crontab file has a user field for commands.

Buy Now
Questions 53

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 54

What is true regarding the command userdel --force --remove bob? (Choose TWO correct answers.)

Options:

A.

The user bob is removed from the system's user database.

B.

The user bob's home directory is removed.

C.

The locate database is updated to drop files owned by bob.

D.

All files owned by bob are remove from all mounted filesystems.

E.

In case bob was the last member of a group, that group is deleted.

Buy Now
Questions 55

Which of the following find commands will print out a list of files owned by root and with the SUID bit set in /usr?

Options:

A.

find /usr -uid 0 -perm +4000

B.

find -user root +mode +s /usr

C.

find -type suid -username root -d /usr

D.

find /usr -ls \*s\* -u root

E.

find /usr -suid -perm +4000

Buy Now
Questions 56

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:

Buy Now
Questions 57

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

Buy Now
Questions 58

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

Buy Now
Questions 59

Which file contains a set of services and hosts that will be allowed to connect to the server by going through a TCP Wrapper program such as tcpd? (Specify the full name of the file, including path.)https://lh3.googleusercontent.com/-5cd-clmKnbk/AAAAAAAAAAI/AAAAAAAAADM/-SXesH19Ido/s46-c-k-no/photo.jpg

Options:

Buy Now
Exam Code: 102-500
Exam Name: LPIC-1 Exam 102, Part 2 of 2, version 5.0
Last Update: May 17, 2024
Questions: 197

PDF + Testing Engine

$56  $159.99

Testing Engine

$42  $119.99
buy now 102-500 testing engine

PDF (Q&A)

$35  $99.99
buy now 102-500 pdf
dumpsmate guaranteed to pass
24/7 Customer Support

DumpsMate's team of experts is always available to respond your queries on exam preparation. Get professional answers on any topic of the certification syllabus. Our experts will thoroughly satisfy you.

Site Secure

mcafee secure

TESTED 19 May 2024