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

Easiest Solution 2 Pass Your Certification Exams

201-450 LPIC-2 Exam 201, Part 1 of 2, version 4.5 Free Practice Exam Questions (2025 Updated)

Prepare effectively for your LPI 201-450 LPIC-2 Exam 201, Part 1 of 2, version 4.5 certification with our extensive collection of free, high-quality practice questions. Each question is designed to mirror the actual exam format and objectives, complete with comprehensive answers and detailed explanations. Our materials are regularly updated for 2025, ensuring you have the most current resources to build confidence and succeed on your first attempt.

Page: 1 / 3
Total 161 questions

What keyword is missing in the following line from /etc/fstab in order to make a USB flash device writeable by the user fred when mounted:

/dev/sda1 /mnt/usbflash vfat defaults,users,______=fred,umask=022, 0 0

(Provide the option name only without any settings)

Consider the following /etc/fstab file:

/dev/hda1 swap swap defaults 0 0

/dev/hda2 / ext2 defaults 1 1

/dev/hda3 /home ext2 defaults 1 2

none /proc proc defaults 0 0

/dev/sdb1 /media/usb0 vfat user,noauto 0 0

What is one of the possible commands that an ordinary (non-root) user can use to mount the /dev/sdb1 partition on the /media/usb0 mount point? (Please enter the command with all parameters and/or options but without any file system type options.)

Which of the following best describes the format of the /etc/fstab file?

A.

device name; filesystem type; mount point; mount options; dump filesystem; fsck order

B.

device name; mount point; filesystem type; mount options; dump filesystem; fsck order

C.

device name; mount point; mount options; filesystem type; dump filesystem; fsck order

D.

mount point; filesystem type; device name; mount options; dump filesystem; fsck order

E.

mount point; device name; filesystem type; mount options; dump filesystem; fsck order

What does a 0 in the last field (fsck order) of /etc/fstab indicate about the filesystem?

A.

The filesystem should be checked before filesystems with higher values.

B.

The filesystem should be checked after filesystems with higher values.

C.

The filesystem check counter is ignored.

D.

The filesystem has been disabled from being checked and mounted on the system.

E.

The filesystem does not require an fsck check when being mounted.

The main configuration file for autofs has this entry:

/home /etc/auto.home

What is the meaning of the /etc/auto.home file?

A.

It has the indirect maps for the mounting of file systems.

B.

It has configuration information, such as passwords and keys, for the remote file server.

C.

It has configuration information on settings for the /home mount point.

D.

It is the holds the SSL key to allow authentication to the remote file server.

Which of the following is a CD-ROM filesystem standard?

A.

OSI9660

B.

ISO9660

C.

SR0FS

D.

ISO8859

E.

ROM-EO

Which one of these directories should not be backed up?

A.

/backup

B.

/etc

C.

/opt

D.

/proc

E.

/var/log

What does the -p3 option to the patch command do?

A.

It will strip off path information from each file mentioned in the patch file up to and including the third / character.

B.

patch continues execution as long as there are three or fewer errors.

C.

It instructs patch to look up to three lines of context before or after the declared line in the original file for a match.

D.

patch will keep three previous versions of each file in the output to prevent loss of change history.

E.

It instructs patch to conform more strictly to the POSIX standard.

Which of the following commands will securely copy the directory ./fyf/ to /var/tmp/ on the remote host deltaur using the remote user account kevin?

A.

rsync -a -e ssh kevin@deltaur:/var/tmp/ fyf/

B.

rsync -a -u kevin -e ssh fyf/ deltaur:/var/tmp/

C.

rsync -a -u kevin -e ssh deltaur:/var/tmp/ fyf/

D.

rsync -a -e ssh fyf/ kevin@deltaur:/var/tmp/

The following command has just been run successfully:

cd /opt; tar xvf /dev/nst0;

What will happen if the command sequence is run again?

A.

An error saying that there is no tape present is generated because the tape has been ejected after being used.

B.

The contents of /opt will be restored again.

C.

The entire contents of /opt will be replaced with the contents of the next file on the tape.

D.

The contents of /opt will have additional content added from the next file on the tape.

Which file contains the text message that is displayed after logging into the console? (Specify the full name of the file, including path.)

Which of the following are common backup systems used in Linux? (Choose TWO correct answers.)

A.

Amanda

B.

Bacula

C.

DrBackup

D.

BREWBackup

E.

SARcheck

The following is an excerpt from the output of tcpdump -nli eth1:

13:03:17.277327 IP 192.168.123.5.1065 > 192.168.5.112.21: Flags [.], ack 1 (truncated)

13:03:17.598624 IP 192.168.5.112.21 > 192.168.123.5.1065: Flags [P.], seq (truncated)

Which network service or protocol was used?

A.

FTP

B.

HTTP

C.

SSH

D.

DNS

E.

DHCP

Which of the following files are used to resolve hostnames to IP addresses? (Choose TWO correct answers.)

A.

/etc/systems

B.

/etc/hosts

C.

/etc/network

D.

/etc/dns.conf

E.

/etc/resolv.conf

A network client has an ethernet interface (eth0) configured with an IP address in the subnet 192.168.0.0/24. This subnet has a router, with the IP address 192.168.0.1, that connects this subnet to the Internet. What needs to be done on the client to enable it to use the router as its default gateway? (Choose TWO correct answers.)

A.

route add default gw 192.168.0.1 eth0

B.

ifconfig eth0 defaultroute 192.168.0.1

C.

ip route add default via 192.168.0.1 dev eth0

D.

echo defaultroute 192.168.0.1 >> /etc/resolv.conf

E.

route add defaultgw=192.168.0.1 if=eth0

Which /etc/hosts.allow entries will permit access to sshd for users from the 192.168.1.0/24 subnet? (Choose TWO correct answers.)

A.

sshd : 192.168.1.

B.

sshd : 192.168.1

C.

sshd : 192.168.1.0 netmask 255.255.255.0

D.

sshd : 192.168.1.0/255.255.255.0

E.

sshd : 192.168.1.0

Considering the following kernel IP routing table below, which of the following commands must be used to remove the route to the network 10.10.1.0/24? (Select TWO answers)

Kernel IP routing table

Destination Gateway Genmask Flags Metric Ref Use Iface

203.0.113.162 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0

172.16.87.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0

192.168.246.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1

10.10.1.0 192.168.246.11 255.255.255.0 UG 0 0 0 eth1

127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo

0.0.0.0 203.0.113.162 0.0.0.0 UG 0 0 0 ppp0

A.

ip net delete 10.10.1.0/24

B.

route del 10.10.1.0/24

C.

route del -net 10.10.1.0/24

D.

route del 10.10.1.0/24 gw 192.168.246.11

E.

ip route delete 10.10.1.0/24

The users of the local network complain that name resolution is not fast enough. Enter the command, without the path or any options, that shows the time taken to resolve a DNS query.

What is the purpose of the command udevadm monitor?

A.

It listens to kernel events produced by a udev rule and print information to the console.

B.

It monitors the /dev directory for new devices.

C.

It monitors the udev process and prints performance statistics to the console.

D.

It communicates with D-Bus to setup new devices.

After configuring a new kernel, what file under /usr/src/linux/ contains the configuration?

Page: 1 / 3
Total 161 questions
Copyright © 2014-2025 Solution2Pass. All Rights Reserved