Black Friday Biggest Discount Flat 70% Offer - Ends in 0d 00h 00m 00s - Coupon code: 70diswrap

LPI 702-100 Dumps

Page: 1 / 6
Total 60 questions

Linux Professional Institute BSD Specialist Questions and Answers

Question 1

On BSD systems that provide an interactive adduser script, which configuration file stores the default adduser settings?

Options:

A.

adduser.conf

B.

login, conf

C.

pw.conf

D.

user.conf

E.

usermgmt. conf

Question 2

What symbol is used in the vi editor to start the forward search for a string? (Specify ONLY the single character symbol without any parameters)

as

Options:

Question 3

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 4

Which of the following chmod commands changes the permission of the file text. txt to 750?

Options:

A.

chmod user:rw, group:r, other:x

B.

chmod text.txt=u:rw,g:r,o:r

C.

chmod u=rwx,g=rx,o= text.txt

D.

chmod -u rw -g rx -o - text.txt

E.

chmod text.txt 750

Question 5

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 6

Which BSD command lists, adds, or deletes swap devices?

Options:

A.

diskcontro1

B.

mkswap

C.

swap

D.

swapct1

E.

swapinfo

Question 7

How often does? match the preceding expression in a regular expression?

Options:

A.

Two or more times

B.

Exactly one time

C.

Any number of times

D.

Zero or one times

E.

One or more times

Question 8

While in the csh or tcsh shell, which command changes the timezone environment variable to GMT?

Options:

A.

export TZ=GMT

B.

setenv TZ GMT

C.

env TZ=GMT

D.

TZ=GMT; export TZ

E.

environ TZ GMT

Question 9

Which of the following commands initializes ZFS on a number of block devices?

Options:

A.

zpoo1 create

B.

newzfs

C.

zfs init

D.

mkfs -t zfs

E.

zfsload -i

Question 10

Which command shows the current user's group memberships?

Options:

A.

group

B.

groups

C.

ident

D.

showuser

E.

who

Question 11

Consider the following file legal file:

disclosure

non-disclosure

non-disclosure

Which line or lines in the file does the following command match? Note the space after the dash within the brackets.

grep "non [-] disclosure" legalfile

Options:

A.

disclosure only

B.

non-disclosure only

C.

non-disclosure only

D.

disclosure and non-disclosure only

E.

non-disclosure and non-disclosure Only

Question 12

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 13

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

as

Options:

Question 14

Which of the following lines stems from the output of last?

Options:

A.

3:26PM up 1:58, 2 users, load averages: 0.49, 0.43, 0.40

B.

May 11 19:34:24 fbsdlogin [793]: login on ttyv0as root

C.

root ttyv0Sat May 18 13:35 still logged in

D.

763v1 Is+ 0:00-00/usr/libexec/getty Pc ttyv1

E.

FreeBSD 12.0-RELEASE r341666 GENERIC

Question 15

Which configuration file defines the order of the name resolution methods used on a NetBSD system'?

Options:

A.

/etc/hosts

B.

/etc/named

C.

/etc/nsswitch.conf

D.

/etc/rc.conf

E.

/etc/resolv.conf

Question 16

What directory holds the ports collection on FreeBSD? (Choose TWO correct answers.)

Options:

A.

/tmp/ports/

B.

/var/db/packages/

C.

/usr/ports/

D.

/ports/

E.

/usr/local/pkg/

Question 17

Which line in a cron job runs myscript once per hour?

Options:

A.

***** /pathto/myscript

B.

0 * * * * /pathto/myscript

C.

* 0 * * * /pathto/myscript

D.

* * o * * /pathto/myscript

E.

* * * o * /pathto/myscript

Question 18

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.

Page: 1 / 6
Total 60 questions