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

LPI 702-100 Linux Professional Institute BSD Specialist Exam Practice Test

Demo: 18 questions
Total 60 questions

Linux Professional Institute BSD Specialist Questions and Answers

Question 1

Given the following listing

-rw-r—r— 1root whee115254 Nov 13 08:55 bobsfile

How can the superuser grant the user bob write permission to this file?

Options:

A.

chgrp bob bobsfile

B.

chown bob:bob bobsfile

C.

chmod +x bobsfile

D.

chperm 664 bobsfile

E.

vipw -u bob bobsfile

Question 2

How many /28 IPv4 subnets can be created within a /24 IPv4 prefix?

Options:

A.

64

B.

8

C.

16

D.

4

E.

32

Question 3

When creating a symbolic link, an error message indicating that the target already exists is displayed. Which statement is true?

Options:

A.

In can not override an existing target so the target must be manually removed

B.

In can override the target, but only if it is a file.

C.

In can override the target, but only if it is a directory

D.

In can override the target, whether it is a file or a directory.

E.

In can not override an existing symbolic link.

Question 4

Which of the following tar options handle compression'? (Choose TWO correct answers)

Options:

A.

-x

B.

-c

C.

-z

D.

-J

E.

-v

Question 5

Which command and option can be used to perform a reverse DNS lookup?

Options:

A.

dig -x

B.

dnssec -check

C.

host -reverse

D.

nsupdate -r

E.

rdns -1

Question 6

Which device stands for the first BSD disk slice in the disk label on the first partition on the second SATA disk on OpenBSD?

Options:

A.

/dev/sdla

B.

/dev/d2sl

C.

/dev/slld2

D.

/dev/sdlp2d

E.

/dev/sata2a

Question 7

Which FreeBSD command created the following output?

Id Refs Address Size Name

1 17 0xc0400000 2fad00 kernel

2 1 0xc0740000 595a4 acpi.ko

3 1 0xc49be000 6000 linprocfs.ko

4 1 0xc4al7000 16000 linux.ko

Options:

A.

cat 1Km.conf

B.

kldstat

C.

lsmod

D.

modstat

E.

procstat

Question 8

Which command finds all directories within the current user's home directory?

Options:

A.

find - -type d

B.

find. -dir

C.

find / -d | home

D.

find -uid myname

E.

find -d home

Question 9

Which statement about the difference between compiling an application from source code and installing a pre-compiled binary is true?

Options:

A.

Compiling source code is faster than installing a pre-compiled package.

B.

An application compiled from source code is more secure than a pre-compiled program

C.

Building an application from source code allows setting options which can not be changed when executing the application

D.

Pre-compiled binaries offer more configuration possibilities than those built from source.

E.

Applications that require the user to accept a license are only available as pre-compiled packages.

Question 10

What FreeBSD and NetBSD command manages services started at boot time? (Specify ONLY the command without any path or parameters.)

Options:

Question 11

Which syslog configuration line sends all messages from the auth facility to the remote syslog server logger. example. org'?

Options:

A.

auth.* @logger.example.org

B.

auth.* logger.example.org:auth

C.

auth.* syslog://logger.example.org/

D.

auth.*:logger.example.org

E.

auth.* |logger.example.org

Question 12

Which FreeBSD command updates packages to newer versions'?

Options:

A.

pkg update

B.

pkg refresh

C.

pkg upgrade

D.

pkg audit

E.

pkg pull

Question 13

Assuming a umask of 022, what are the default permissions in octal mode of the newly created files?

Options:

A.

022

B.

622

C.

644

D.

666

E.

755

Question 14

Which of the following commands installs binary packages on OpenBSD?

Options:

A.

pkgbin

B.

port add

C.

portinst

D.

pkg install

E.

pkg_add

Question 15

Which of the following lines in /etc/fstab mounts the device /dev/cd0a to /cdrom?

Options:

A.

/cdrom /dev/cdOa cd9660 ro 0 0

B.

/dev/cdOa /cdrom type=cd9660, mode=ro,uid=0,gid=0

C.

cd9660@/dev/cd0a:/cdrom cd9660 ro 0 0

D.

/dev/cd0a /cdrom cd9660 ro 0 0

E.

cd9660:/dev/cd0a /cdrom ro 0 0

Question 16

Which option of the crontab command opens the current user's crontab in an editor?

Options:

A.

-w

B.

-i

C.

-vi

D.

-rw

E.

-e

Question 17

What option of uname displays the version of the running operating system'? (Specify ONLY the option name without any values or parameters.)

Options:

Question 18

What file contains the configuration for the network interface em0on an OpenBSD system'? (Specify the full name of the file, including path.)

Options:

Demo: 18 questions
Total 60 questions