LPI 102-500 practice test

LPIC-1 System Administrator Exam 102, Part 2 of 2,


Question 1

Which of the following features are provided by SPICE? (Choose two.)

  • A. Connecting local USB devices to remote applications.
  • B. Accessing graphical applications on a remote host.
  • C. Replacing Xorg as local X11 server.
  • D. Downloading and locally installing applications from a remote machine.
  • E. Uploading and running a binary program on a remote machine.
Answer:

A,D

Discussions

Question 2

Which of the following commands can identify the PID od a process which opened a TCP port?

  • A. ptrace
  • B. strace
  • C. debug
  • D. lsof
  • E. nessus
Answer:

D

Discussions

Question 3

Which configuration file contains the default options for SSH clients?

  • A. /etc/ssh/sshd_config
  • B. /etc/ssh/ssh
  • C. /etc/ssh/ssh_config
  • D. /etc/ssh/client
  • E. /etc/ssh/ssh_client
Answer:

C

Discussions

Question 4

Given the following excerpt of the sudo configuration:
jane ANY=NOPASSWD: /bin/kill, /bin/id, PASSWD: /sbin/fdisk
Which of the following statements are true? (Choose three.)

  • A. Jane can run /bin/id only after specifying her password.
  • B. Jane can run /sbin/fdisk after specifying root’s password.
  • C. Jane can run /sbin/fdisk after specifying her password.
  • D. Jane can run /bin/kill without specifying a password.
  • E. Jane can run /bin/id without specifying her password.
Answer:

C,D,E

Discussions

Question 5

What is the purpose of TCP wrapper?

  • A. Manage and adjust bandwidth used by TCP services.
  • B. Bind a network service to a TCP port.
  • C. Encapsulate TCP messages in IP packets.
  • D. Add SSL support to plain text TCP services.
  • E. Limit access to a network service.
Answer:

E

Discussions

Question 6

What output is produced by the following command sequence?
echo 1 2 3 4 5 6 | while read a b c; do
echo result $c $b $a;
done

  • A. result: 6 5 4
  • B. result: 1 2 3 4 5 6
  • C. result: 3 4 5 6 2 1
  • D. result: 6 5 4 3 2 1
  • E. result: 3 2 1
Answer:

C

Discussions

Question 7

What the echo $$ command?

  • A. The process ID of the current shell.
  • B. The process ID for the following command.
  • C. The process ID of the last command executed.
  • D. The process ID of the last command which has been placed in the background.
  • E. The process ID of the echo command.
Answer:

A

Discussions

Question 8

Which of the following comparison operators for test work on elements in the file system? (Choose
two.)

  • A. –z
  • B. –eq
  • C. –d
  • D. –f
  • E. –lt
Answer:

C,D

Discussions

Question 9

Which of the following commands displays all environment and shell variables?

  • A. getargs
  • B. lsenv
  • C. ls
  • D. env
  • E. lsshell
Answer:

D

Discussions

Question 10

Which of the following protocols is related to the term open relay?

  • A. SMTP
  • B. POP3
  • C. NTP
  • D. IMAP
  • E. LDAP
Answer:

A

Discussions
To page 2