New Year Special Limited Time Flat 70% Discount offer - Ends in 0d 00h 00m 00s - Coupon code: 70spcl

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

Page: 1 / 6
Total 60 questions

Linux Professional Institute BSD Specialist Questions and Answers

Question 1

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 2

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

Options:

A.

diskcontro1

B.

mkswap

C.

swap

D.

swapct1

E.

swapinfo

Question 3

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 4

What is the purpose of the nice command'?

Options:

A.

Run a command with the permissions of another user

B.

Run a command with limited access to a specified directory

C.

Run a command with additional filesystem permissions

D.

Run a command with additional secondary groups.

E.

Run a command with a non-standard priority.

Question 5

Which of the following commands have to be used in order to update FreeBSD? (Choose TWO correct answers.)

Options:

A.

freebsd-update all

B.

freebsd-update resolvedeps

C.

freebsd-update fetch

D.

freebsd-update repoupdate

E.

freebsd-update install

Question 6

Which of the following commands is used to set the FreeBSD security level?

Options:

A.

security

B.

sysct1

C.

secleve1

D.

setleve1

E.

slct1

Question 7

What command creates a new directory? (Specify ONLY the command without any path or parameters.)

Question # 7

Options:

Question 8

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 9

Which command shows the current user's group memberships?

Options:

A.

group

B.

groups

C.

ident

D.

showuser

E.

who

Question 10

Which command sets 192.168 1 1 as the default gateway on a BSD system'?

Options:

A.

route add default 192.168.1.1

B.

route add gw 192.168.1.1

C.

route default 192.168.1.1

D.

route gateway 192.168.1.1

E.

route set 192.168.1.1

Question 11

Which command locks the user account bob on a FreeBSD system?

Options:

A.

audit_user -1 bob

B.

lockuser bob

C.

pw lock bob

D.

usermod lock bob

E.

vipw lock bob

Question 12

When replacing the system MTA with another mail server program, which configuration file needs to be updated with the path to the new MTA?

Options:

A.

mail.conf

B.

mailer.conf

C.

mta.conf

D.

postfix.conf

E.

sendmail. conf

Question 13

Which of the following commands can be used to connect to a remote TCP service?

Options:

A.

portstat

B.

service

C.

listen

D.

netcat

E.

connect

Question 14

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 15

What file contains values for MIBs which are set during system startup? (Specify the full name of the file, including path.)

Question # 15

Options:

Question 16

Which file defines the IP address of the default gateway on a FreeBSD system?

Options:

A.

/etc/network

B.

/etc/resolvers

C.

/etc/gateway

D.

/etc/rc.conf

E.

/etc/red

Question 17

When using the default TFTP server on a BSD system, which configuration file needs to be edited before the TFTP service will start?

Options:

A.

inetd.conf

B.

init.conf

C.

rc.conf

D.

tftpd.conf

E.

service, conf

Question 18

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

Page: 1 / 6
Total 60 questions