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

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

Questions 4

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 5

Which of the following commands connects to the remote host example.com which has OpenSSH listening on TCP port 2222? (Choose TWO correct answers.)

Options:

A.

ssh --port 2222 example.com

B.

ssh -p 2222 example.com

C.

ssh -o Port=2222 example.com

D.

ssh -o GatewayPort=2222 example.com

E.

ssh example.com:2222

Buy Now
Questions 6

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 7

Given the following routing table:

102-400 Question 7

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.

Buy Now
Questions 8

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 9

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 10

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 11

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 12

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

Options:

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.

Buy Now
Questions 13

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 14

After issuing:

function myfunction { echo $1 $2 ; }

in Bash, which output does:

myfunction A B C

Produce?

Options:

A.

A B

B.

A B C

C.

A C

D.

B C

E.

C B A

Buy Now
Questions 15

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.

Buy Now
Questions 16

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 17

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 18

Which of the following may occur as a consequence of using the command ifconfig? (Choose THREE correct answers.)

Options:

A.

New name servers may be added to the resolver configuration.

B.

Network interfaces may become active or inactive.

C.

The routing table may change.

D.

IP addresses may change.

E.

The system ' s host name may change.

Buy Now
Questions 19

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

Options:

Buy Now
Questions 20

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 21

Which configuration file would be edited to change default options for the OpenSSH server?

Options:

A.

/etc/ssh/sshd_config

B.

/etc/ssh/ssh

C.

/etc/ssh/server

D.

/etc/ssh/ssh_config

E.

/etc/ssh/ssh_server

Buy Now
Questions 22

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

Options:

Buy Now
Questions 23

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 24

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

Options:

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.

Buy Now
Questions 25

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 26

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 < Section name= " SectionName " > and < /Section >

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 27

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

Options:

Buy Now
Questions 28

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 "

Buy Now
Questions 29

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 30

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 31

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 32

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

Options:

A.

--from=

B.

--since=

C.

--until=

D.

--upto=

E.

--date=

Buy Now
Questions 33

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 34

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 35

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 36

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:

Buy Now
Exam Code: 102-400
Exam Name: LPI Level 1 Exam 102, Junior Level Linux Certification, Part 2 of 2
Last Update: Apr 30, 2026
Questions: 120

PDF + Testing Engine

$63.52  $181.49

Testing Engine

$50.57  $144.49
buy now 102-400 testing engine

PDF (Q&A)

$43.57  $124.49
buy now 102-400 pdf