Labour Day Sale - Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: mxmas70

Home > LPI > LPIC Level 1 > 102-400

102-400 LPI Level 1 Exam 102 - Junior Level Linux Certification - Part 2 of 2 Question and Answers

Question # 4

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

Full Access
Question # 5

What output will the following command produce?

seq 1 5 20

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

Full Access
Question # 6

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

A.

CASE

B.

FROM

C.

WHERE

D.

IF

Full Access
Question # 7

What entry can be added to the syslog.conf file to have all syslog messages generated by a system displayed on console 12?

A.

*.* /dev/tty12

B.

/var/log/messages | /dev/tty12

C.

| /dev/tty12

D.

syslog tty12

E.

mail.* /dev/tty12

Full Access
Question # 8

What is true regarding the file ~/.forward?

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.

Full Access
Question # 9

What is true regarding the command sendmail?

A.

With any MTA, the sendmail command must be run periodically by the cron daemon.

B.

All MTAs, including Postfix and Exim, provide a sendmail command.

C.

The sendmail command prints the MTAs queue history of which mails have been sent successfully.

D.

It is only available when the sendmail MTA is installed.

Full Access
Question # 10

Which of the following commands can be used to limit the amount of memory a user may use?

A.

umask

B.

usermod

C.

ulimit

D.

passwd

E.

chage

Full Access
Question # 11

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

Full Access
Question # 12

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?

A.

debug

B.

lsof

C.

nessus

D.

strace

E.

traceroute

Full Access
Question # 13

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

With IPv6, how many bits have been used for the interface identifier of an unicast address? (Specify the number using digits only.)

Full Access
Question # 15

What is the purpose of the nsswitch.conf file?

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.

Full Access
Question # 16

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

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

A.

xkb

B.

atkb

C.

GOK

D.

xOSK

Full Access
Question # 18

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