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

Home > LPI > LPIC Level 1 > 101-400

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

Question # 4

Immediately after deleting 3 lines of text in vi and moving the cursor to a different line, which single character command will insert the deleted content below the current line?

A.

i (lowercase)

B.

P (uppercase)

C.

p (lowercase)

D.

U (uppercase)

E.

u (lowercase)

Full Access
Question # 5

Which of the following are valid stream redirection operators within Bash? (Choose THREE correct answers.)

A.

<

B.

<<<

C.

>

D.

>>>

E.

%>

Full Access
Question # 6

What does the ? symbol within regular expressions represent?

A.

Match the preceding qualifier one or more times.

B.

Match the preceding qualifier zero or more times.

C.

Match the preceding qualifier zero or one times.

D.

Match a literal ?character.

Full Access
Question # 7

What is the first program that is usually started, at boot time, by the Linux kernel when using SysV init?

A.

/lib/init.so

B.

/sbin/init

C.

/etc/rc.d/rcinit

D.

/proc/sys/kernel/init

E.

/boot/init

Full Access
Question # 8

Which of the following statements is correct when talking about /proc/?

A.

All changes to files in /proc/ are stored in /etc/proc.d/ and restored on reboot.

B.

All files within /proc/ are read-only and their contents cannot be changed.

C.

All changes to files in /proc/ are immediately recognized by the kernel.

D.

All files within /proc/ are only readable by the root user.

Full Access
Question # 9

Which of the following files, located in the user home directory, is used to store the Bash history?

A.

.bash_history

B.

.bash_histfile

C.

.history

D.

.bashrc_history

E.

.history_bash

Full Access
Question # 10

Which of the following shell redirections will write standard output and standard error output to a file named filename?

A.

2>&1 >filename

B.

>filename 2>&1

C.

1>&2>filename

D.

>>filename

E.

1&2>filename

Full Access
Question # 11

During a system boot cycle, what program is executed after the BIOS completes its tasks?

A.

The bootloader

B.

The inetd program

C.

The init program

D.

The kernel

Full Access
Question # 12

What of the following statements are true regarding /dev/ when using udev? (Choose TWO correct answers.)

A.

Entries for all possible devices get created on boot even if those devices are not connected.

B.

Additional rules for udev can be created by adding them to /etc/udev/rules.d/.

C.

When using udev, it is not possible to create block orcharacter devices in /dev/ using mknod.

D.

The /dev/ directory is a filesystem of type tmpfs and is mounted by udev during system startup.

E.

The content of /dev/ is stored in /etc/udev/dev and is restored during system startup.

Full Access
Question # 13

Which of the following kernel parameters instructs the kernel to suppress most boot messages?

A.

silent

B.

verbose=0

C.

nomesg

D.

quiet

Full Access
Question # 14

What information can the lspci command display about the system hardware? (Choose THREE correct answers.)

A.

Device IRQ settings

B.

PCI bus speed

C.

System battery type

D.

Device vendor identification

E.

Ethernet MAC address

Full Access
Question # 15

Which Debian package management tool asks the configuration questions for a specific already installed package just as if the package were being installed for the first time? (Specify ONLY the command without any path or parameters.)

Full Access
Question # 16

When removing a package, which of the following dpkg options will completely remove the files including configuration files?

A.

--clean

B.

--delete

C.

--purge

D.

–remove

Full Access
Question # 17

When using rpm --verify to check files created during the installation of RPM packages, which of the following information is taken into consideration? (Choose THREE correct answers.)

A.

Timestamps

B.

MD5 checksums

C.

Inodes

D.

File sizes

E.

GnuPG signatures

Full Access
Question # 18

Which of the following commands lists the dependencies of a given dpkg package?

A.

apt-cache depends-onpackage

B.

apt-cache dependencies package

C.

apt-cache depends package

D.

apt-cache requires package

Full Access
Question # 19

Which of the following commands overwrites the bootloader located on /dev/sda without overwriting the partition table or any data following it?

A.

dd if=/dev/zero of=/dev/sda bs=512

B.

dd if=/dev/zero of=/dev/sda bs=512 count=1

C.

dd if=/dev/zero of=/dev/sda bs=440 count=1

D.

dd if=/dev/zero of=/dev/sda bs=440

Full Access
Question # 20

What is the name of the main configuration file for GNU GRUB? (Specify the file name only without any path.)

Full Access
Question # 21

Which of the following commands updates the linker cache of shared libraries?

A.

mkcache

B.

soconfig

C.

mkldconfig

D.

lddconfig

E.

ldconfig

Full Access
Question # 22

Which of the following command lines creates or, in case it already exists, overwrites a file called data with the output of ls?

A.

ls 3> data

B.

ls >& data

C.

ls > data

D.

ls >> data

Full Access
Question # 23

Which of the following commands creates an ext3 filesystem on /dev/sdb1? (Choose TWO correct answers.)

A.

/sbin/mke2fs -j /dev/sdb1

B.

/sbin/mkfs -t ext3 /dev/sdb1

C.

/sbin/mkfs -c ext3 /dev/sdb1

D.

/sbin/mke3fs -j /dev/sdb1

Full Access
Question # 24

Which of the following commands are common Linux commands for file management? (Choose three correct answers.)

A.

copy

B.

mv

C.

move

D.

cp

E.

mkdir

Full Access
Question # 25

In order to display all currently mounted filesystems, which of the following commands could be used? (Choose TWO correct answers.)

A.

cat /proc/self/mounts

B.

free

C.

mount

D.

lsmounts

E.

cat /proc/filesystems

Full Access
Question # 26

Which program updates the database that is used by the locate command?

Full Access