Lesson3 Flashcards

(20 cards)

1
Q
  1. Which of the following are commonly used Mail Transfer Agent (MTA) applications? (Choose THREE correct answers.)

A. Postfix
B. Procmail
C. Sendmail
D. Exim
E. SMTPd

A

A. Postfix

C. Sendmail

D. Exim

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
  1. Which of the following commands lists all queued print jobs?

A. lpd
B. lpr
C. lp
D. lpq

A

D. lpq

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
  1. Which of the following fields can be found in the /etc/group file? (Choose THREE correct answers.)

A. The list of users that belong to the group.
B. The home directory of the group.
C. The name of the group.
D. The description of the group.
E. The password of the group.

A

A. The list of users that belong to the group.

C. The name of the group.

E. The password of the group.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
  1. What is true regarding the time in a Linux system?

A. The BIOS clock of a computer always indicates the current local time and time zone.
B. Each application must convert the Unix time to the current time zone which is usually done by using standard libraries.
C. When the system is on the network, each query for the current time leads to a new network connection to a time server.
D. When the system time changes, running processes must be restarted in order to get the correct time.

A

B. Each application must convert the Unix time to the current time zone which is usually done by using standard libraries.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
  1. Which of the following is true regarding the mail queue of a mail server? (Choose TWO correct answers.)

A. The messages in the queue must be readable by all users as the queue may contain messages for several users.
B. According to the Filesystem Hierarchy Standard (FHS) the queue is located at /var/mail/spool.
C. There is exactly one mail queue per user which holds all new messages for that user before they are moved to other folders by the user’s mail client.
D. The queue holds all messages that are processed by the mail server but have not yet been completely delivered.
E. The content of the mail queue can be queried by the command mailq.

A

D. The queue holds all messages that are processed by the mail server but have not yet been completely delivered.

E. The content of the mail queue can be queried by the command mailq.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
  1. Which of the following is observed and corrected by a NTP client?

A. The skew in time between the system clock and the hardware clock.
B. The skew in time between the system clock and the reference clock.
C. Changes in the time zone of the current computer’s location.
D. Adjustments needed to support Daylight Saving Time.

A

B. The skew in time between the system clock and the reference clock.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
  1. With syslog, what is a facility?

A. Facilities are different connection interfaces to syslog. Each facility has its own device in /dev/syslog/.
B. From syslog’s point of view, each Unix process that issues messages is a facility.
C. Facilities describe the severity of a log message such as emerg or info.
D. When using remote logging, the hostname of the server that generated a message is called facility.
E. Facilities describe categories or groups of messages such as mail or auth.

A

E. Facilities describe categories or groups of messages such as mail or auth.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q
  1. Which of the following files holds the configuration for journald when running systemd?

A. /etc/systemd/journalctl.conf
B. /etc/systemd/journald.conf
C. /etc/systemd/systemd-journald.conf
D. /etc/systemd/systemd-journalctl.conf
E. /usr/lib/systemd/journalctl.conf

A

B. /etc/systemd/journald.conf

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
  1. Which of the following are commonly used Mail Transfer Agent (MTA) applications? (Choose THREE correct answers.)

A. Postfix
B. Procmail
C. Sendmail
D. Exim
E. SMTPd

A

A. Postfix

C. Sendmail

D. Exim

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q
  1. Why should an NTP client maintain connections to several NTP servers?

A. To receive NTP information every second as each server transmits NTP pings every five seconds only.
B. To improve the precision of the time by comparing responses from several servers.
C. To not overload the remote server in case the local NTP time cache is not enabled.
D. To not lose contact with all NTP servers in case the client changes networks.

A

B. To improve the precision of the time by comparing responses from several servers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q
  1. What is true about the ntpdate command?

A. It is the primary management command for the NTP time server.
B. It updates the local system’s date (i.e. day, month and year) but not the time (i.e. hours, minutes, seconds).
C. It queries one or more NTP time servers and adjusts the system time accordingly.
D. It sends the local system time to one or many remote NTP time servers for redistribution.
E. It can be used by any user to set the user clock independently of the system clock.

A

C. It queries one or more NTP time servers and adjusts the system time accordingly.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q
  1. What entry can be added to the syslog.conf file to have all syslog messages generated by a system displayed on console 12?

A. . /dev/tty12
B. /var/log/messages | /dev/tty12
C. | /dev/tty12
D. syslog tty12
E. mail.* /dev/tty12

A

A. . /dev/tty12

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q
  1. Which of the following is a legacy program provided by CUPS for sending files to the printer queues on the command
    line?

A. lpd
B. lpp
C. lpq
D. lpr

A

D. lpr

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q
  1. Which of the following commands is used to rotate, compress, and mail system logs?

A. rotatelog
B. striplog
C. syslogd –rotate
D. logrotate
E. logger

A

D. logrotate

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q
  1. What is true regarding the file ~/.forward?

A. As it is owned by the MTA and not writable by the user, it must be edited using the editaliases command.
B. After editing ~/.forward the user must run newaliases to make the mail server aware of the changes.
C. Using ~/.forward, root may configure any email address whereas all other users may configure only their own addresses.
D. When configured correctly, ~/.forward can be used to forward each incoming mail to more than one other recipient.

A

D. When configured correctly, ~/.forward can be used to forward each incoming mail to more than one other recipient.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q
  1. Which of the following statements is valid in the file /etc/resolv.conf?

A. order hosts,bind
B. 192.168.168.4 dns-server
C. hosts: files,dns
D. domain example.com

A

D. domain example.com

17
Q
  1. Which of the following files is consulted when programs like netstat try to match port numbers to names?

A. /etc/networks
B. /etc/portmapper
C. /etc/protocols
D. /etc/resolv.conf
E. /etc/services

A

E. /etc/services

18
Q
  1. How many bits make up an IPv6 address?32

A. 48
B. 64
C. 128
D. 256

19
Q
  1. Which of the following is a correct entry in the /etc/hosts file?

A. localhost 127.0.0.1 localhost.localdomain
B. localhost.localdomain localhost 127.0.0.1
C. localhost localhost.localdomain 127.0.0.1
D. 127.0.0.1 localhost.localdomain localhost
E. localhost.localdomain 127.0.0.1 localhost

A

D. 127.0.0.1 localhost.localdomain localhost

20
Q
  1. What is the purpose of the dig command?

A. It can be used as a tool for querying DNS servers.
B. It can be used for searching through indexed file content.
C. It can be used to look for open ports on a system.
D. It can be used to ping all known hosts on the current subnet.

A

A. It can be used as a tool for querying DNS servers.