LPI 702-100 practice test

Exam Title: BSD Specialist

Last update: Nov 27 ,2025
Question 1

Which command sends the contents of the file myconfigfile by email to me@mycompany. com?

Answer:

A

vote your answer:
A
B
C
D
E
A 0 B 0 C 0 D 0 E 0
Comments
Question 2

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

  • A. export TZ=GMT
  • B. setenv TZ GMT
  • C. env TZ=GMT
  • D. TZ=GMT; export TZ
  • E. environ TZ GMT
Answer:

B

vote your answer:
A
B
C
D
E
A 0 B 0 C 0 D 0 E 0
Comments
Question 3

While using vi as superuser. the attempt to save a file while quitting the editor leads to an error
indicating that the file is read-only. How can the file permissions be overridden to save the edits to
the file and quit the editor?
A.: fw!
B.: fwq
C.: ql
D.: wq
E.: wq!

Answer:

E

vote your answer:
Comments
Question 4

Which command shows all processes owned by the user bob?

  • A. who -1 bob
  • B. pgrep -u bob
  • C. ps -o -a bob
  • D. top bob
  • E. last -p bob
Answer:

B

vote your answer:
A
B
C
D
E
A 0 B 0 C 0 D 0 E 0
Comments
Question 5

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

  • A. adduser.conf
  • B. login, conf
  • C. pw.conf
  • D. user.conf
  • E. usermgmt. conf
Answer:

A

vote your answer:
A
B
C
D
E
A 0 B 0 C 0 D 0 E 0
Comments
Question 6

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

  • A. audit_user -1 bob
  • B. lockuser bob
  • C. pw lock bob
  • D. usermod lock bob
  • E. vipw lock bob
Answer:

B

vote your answer:
A
B
C
D
E
A 0 B 0 C 0 D 0 E 0
Comments
Question 7

Which file on a BSD system defines the printers which are available by the Ipr printing system'?
(Specify the full name of the file including path)

Answer:

See in
Explanation


Explanation:

Comments
Question 8

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

  • A. ***** /pathto/myscript
  • B. 0 * * * * /pathto/myscript
  • C. * 0 * * * /pathto/myscript
  • D. * * o * * /pathto/myscript
  • E. * * * o * /pathto/myscript
Answer:

B

vote your answer:
A
B
C
D
E
A 0 B 0 C 0 D 0 E 0
Comments
Question 9

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

  • A. 3:26PM up 1:58, 2 users, load averages: 0.49, 0.43, 0.40
  • B. May 11 19:34:24 fbsd login [793]: login on ttyv0 as root
  • C. root ttyv0 Sat May 18 13:35 still logged in
  • D. 763 v1 Is+ 0:00-00 /usr/libexec/getty Pc ttyv1
  • E. FreeBSD 12.0-RELEASE r341666 GENERIC
Answer:

C

vote your answer:
A
B
C
D
E
A 0 B 0 C 0 D 0 E 0
Comments
Question 10

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

  • A. mail.conf
  • B. mailer, conf
  • C. mta.conf
  • D. postfix.conf
  • E. sendmail. conf
Answer:

E

vote your answer:
A
B
C
D
E
A 0 B 0 C 0 D 0 E 0
Comments
Page 1 out of 5
Viewing questions 1-10 out of 60
Go To
page 2