LPI 102-500 practice test

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

Last exam update: Apr 17 ,2024
Page 1 out of 13. Viewing questions 1-15 out of 194

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

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 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  • A. getargs
  • B. lsenv
  • C. ls
  • D. env
  • E. lsshell
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 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

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 entries in /etc/syslog.conf writes all mail related events to the file
/var/log/maillog and sends all critical events to the remote server logger.example.com?

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 12

Which of the following commands lists all queued print jobs?

  • A. lpd
  • B. lpr
  • C. lp
  • D. lsq
  • E. lpq
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 13

What is the top-level directory which contains the configuration files for CUPS? (Specify the full path
to the directory.)

Answer:

/etc/cups/
cups-files.conf

Discussions
0 / 1000

Question 14

Which option in the chrony configuration file changes the initial interval of polls to a NTP server in
order to speed up the initial synchronization?

  • A. iburst
  • B. quickstart
  • C. fast
  • D. D. fsync
  • E. flood
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 15

Which of the following statements about sytemd-journald are true? (Choose three.)

  • A. It is incompatible with syslog and cannot be installed on a system using regular syslog.
  • B. It only processes messages of systemd and not messages of any other tools.
  • C. It can pass log messages to syslog for further processing.
  • D. It maintains metadata such as _UID or _PID for each message.
  • E. It supports syslog facilities such as kern, user, and auth.
Answer:

C,D,E

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