LPI 702-100 Exam Questions

Questions for the 702-100 were updated on : Dec 01 ,2025

Page 1 out of 4. Viewing questions 1-15 out of 60

Question 1

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

  • 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
Answer:

E

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 2

Which command can be used to display the local filesystems that are currently mounted'?

  • A. cat /etc/fstab
  • B. df -h C du -s
  • D. mount -a
  • E. rpcinfo
Answer:

B

User Votes:
A
50%
B
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
D
E
0 / 1000

Question 3

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

  • A. zpoo1 create
  • B. newzfs
  • C. zfs init
  • D. mkfs -t zfs
  • E. zfsload -i
Answer:

C

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 4

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

  • A. /dev/sdla
  • B. /dev/d2sl
  • C. /dev/slld2
  • D. /dev/sdlp2d
  • E. /dev/sata2a
Answer:

E

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 5

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

  • 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.
Answer:

A

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 6

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

  • 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
Answer:

D

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 7

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

  • A. find - -type d
  • B. find. -dir
  • C. find / -d | home
  • D. find -uid myname
  • E. find -d home
Answer:

A

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 8

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

  • A. 022
  • B. 622
  • C. 644
  • D. 666
  • E. 755
Answer:

C

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 9

Given the following listing
-rw-r—r— 1 root whee1 15254 Nov 13 08:55 bobsfile
How can the superuser grant the user bob write permission to this file?

  • A. chgrp bob bobsfile
  • B. chown bob:bob bobsfile
  • C. chmod +x bobsfile
  • D. chperm 664 bobsfile
  • E. vipw -u bob bobsfile
Answer:

A

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 10

Which command updates the database used by locate to find files'?

  • A. searchdb
  • B. locate.updatedb
  • C. find
  • D. whereis
  • E. which
Answer:

B

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 11

Which of the following commands creates a ZFS snapshot of the dataset space/data named snap1?

  • A. zfs snapshot space/data@snap1
  • B. zfs reflink space/data snapl@space/data
  • C. zfs copy -s space snap1
  • D. zfs shadow space/data space/data/snap1
  • E. zfs create space/data: snap1
Answer:

A

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 12

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

Answer:

See in
Explanation


Explanation:

Discussions
0 / 1000

Question 13

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

  • A. dig -x
  • B. dnssec -check
  • C. host -reverse
  • D. nsupdate -r
  • E. rdns -1
Answer:

A

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 14

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

  • A. /etc/network
  • B. /etc/resolvers
  • C. /etc/gateway
  • D. /etc/rc.conf
  • E. /etc/red
Answer:

D

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000

Question 15

What subnet mask is used on network 192 168 32 0 in the following output?
Fxp0: flags=8843 <UP, BROADCAST, RUNNING, SIMPLEX, MULTICAST> mtu 1500 options=8
inet 192.168.50.162 netmask OxffffeOOO broadcast 192.168.63.255
ether 00:09:6B: 13:42:9f
media: Ethernet autoselect (lOObaseTX <full-duplex>)
status: active

  • A. 255 255.224.0
  • B. 2552552550
  • C. 255255255224
  • D. /25
  • E. /28
Answer:

B

User Votes:
A
50%
B
50%
C
50%
D
50%
E
50%
Discussions
vote your answer:
A
B
C
D
E
0 / 1000
To page 2