Exit demo 117-102 Lpi Level 1 Exam 102 PDF format · free preview

Lpi 117-102 - Questions & Answers

Free preview · every answer includes a full explanation

Product page: https://prepkeys.com/117-102.html

Question 1
Single choice

On a default Linux system, what file system type does the dump command act upon?

A.

Ext2

B.

UFS

C.

JFS

D.

XFS

E.

ReiserFS

Question 2
Single choice

Your machine has two working NIC's with proper addresses. You want to split your network into two new subnets.

What single command will accomplish this?

A.

ifconfig

B.

route

C.

default

D.

netstat

E.

None of the choices

Question 3
Single choice

Which file system should never be backed up, and therefore never have to be restored?

A.

ufs

B.

usr

C.

tmp

D.

home

E.

swap

Question 4
Single choice

Which directory tree is ordinarily the least likely to be backup or restore?

A.

/tmp

B.

/var

C.

/proc

D.

/usr

E.

/usr

Question 5
Single choice

What command will verify the syntax of a hosts.allow and hosts.deny file combination?

A.

tcpdchk

B.

verify --tcp

C.

ipswitch

D.

tcpdump

E.

tcpdmatch

Question 6
Single choice

How can you enable onscreen (non-printing) numbers in a vi session?

A.

:set num

B.

:se nu

C.

:set -o number

D.

:set +o num

E.

None of the choices

Question 7
Single choice

When starting vi with the file nohup.out, which of the following will enable onscreen numbers?

A.

vi +/set num nohup.out

B.

vi +"se nu" nohup.out

C.

vi /+"set number" nohup.out

D.

vi +":set num" nohup.out

E.

echo "set numb" | vi nohup.out

Question 8
Multiple choice

What command will set a regular users password to force changing it every 60 days? Choose all that apply.

A.

passwd -x 60 user1

B.

chage -M 60 user1

C.

passwd +x 60 user1

D.

useradd -e 60 user1

E.

usermod -f 60 user1

Question 9
Single choice

Which of the following commands will flush all print jobs on all configured queues of the system?

A.

lprm -a all

B.

lprm -all

C.

lprm -a *

D.

lpflush -all

Question 10
Single choice

Your /etc/passwd file appears to have approximately 1/2 shadow passwords and 1/2 standard unix encrypted passwords.

What utility would you most likely run again to fix this?

A.

pwconv

B.

passconvert

C.

useradd -conv

D.

pwhash

E.

passwd -fix

Showing 10 of 611 questions · Unlock the full set