LPIC-1 Essential System Services and Networking • Complete Question Bank
Complete LPIC-1 Essential System Services and Networking question bank — all 0 questions with answers and detailed explanations.
Refer to the exhibit.
Output of 'systemctl status sshd':
sshd.service - OpenSSH server daemon
Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2023-01-10 14:23:45 UTC; 2h 15min ago
Main PID: 1234 (sshd)
Tasks: 1 (limit: 512)
Memory: 4.2M
CGroup: /system.slice/sshd.service
└─1234 /usr/sbin/sshd -DRefer to the exhibit. Output of 'ip route show': default via 192.168.1.1 dev eth0 proto static metric 100 192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.10 metric 100 10.0.0.0/8 via 10.0.0.1 dev eth1 proto static metric 200
Refer to the exhibit. $ cat /var/log/messages | grep -i "dhcp" | tail -5 Nov 12 08:22:15 server dhcpd: DHCPDISCOVER from 00:1a:2b:3c:4d:5e via eth0 Nov 12 08:22:15 server dhcpd: DHCPOFFER on 192.168.1.100 to 00:1a:2b:3c:4d:5e via eth0 Nov 12 08:22:18 server dhcpd: DHCPREQUEST for 192.168.1.100 (192.168.1.1) from 00:1a:2b:3c:4d:5e via eth0 Nov 12 08:22:18 server dhcpd: DHCPACK on 192.168.1.100 to 00:1a:2b:3c:4d:5e via eth0 Nov 12 08:22:20 server dhcpd: DHCPINFORM from 192.168.1.100 via eth0
A junior system administrator is tasked with setting up a new Linux server that will act as a network time client. The server must synchronize its clock with the external NTP pool servers 0.pool.ntp.org, 1.pool.ntp.org, and 2.pool.ntp.org. The administrator installs the ntp package and edits /etc/ntp.conf to include the following lines:
server 0.pool.ntp.org server 1.pool.ntp.org server 2.pool.ntp.org
However, after restarting the ntpd service, the administrator notices that the system time does not appear to be synchronized. The command 'ntpq -p' returns no output. The administrator checks the status of the ntpd service with 'systemctl status ntp' and sees that the service is active (running). What is the most likely reason for the synchronization failure?
Drag steps to the numbered slots on the right, or tap a step then tap a slot.
Drag a concept onto its matching description — or click a concept then click the description.
Search text using patterns
Change file permissions
Report snapshot of current processes
Archive files
Stream editor for filtering and transforming text
Refer to the exhibit. # ip route show default via 10.0.1.1 dev eth0 10.0.1.0/24 dev eth0 proto kernel scope link src 10.0.1.10 192.168.1.0/24 via 10.0.1.254 dev eth0
Refer to the exhibit. # systemctl status sshd ● sshd.service - OpenSSH server daemon Loaded: loaded (/lib/systemd/system/sshd.service; enabled; vendor preset: enabled) Active: failed (Result: start-limit-hit) since Mon 2023-09-18 10:30:45 UTC; 2min ago Process: 1297 ExecStart=/usr/sbin/sshd -D $SSHD_OPTS (code=exited, status=0/SUCCESS) Main PID: 1297 (code=exited, status=0/SUCCESS) Status: "Failed to start SSH daemon: Address already in use"
Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port tcp LISTEN 0 128 0.0.0.0:22 0.0.0.0:* tcp LISTEN 0 128 0.0.0.0:80 0.0.0.0:* tcp LISTEN 0 128 0.0.0.0:443 0.0.0.0:* udp UNCONN 0 0 0.0.0.0:5353 0.0.0.0:* udp UNCONN 0 0 0.0.0.0:123 0.0.0.0:*
*.* @192.168.1.100:514
default via 192.168.1.1 dev eth0
Refer to the exhibit. Contents of /etc/rsyslog.conf (partial): ``` *.* @192.168.1.100:514 local7.* /var/log/boot.log ```
Refer to the exhibit. Chain INPUT (policy DROP) num pkts bytes target prot opt in out source destination 1 0 0 ACCEPT tcp -- * * 10.0.0.5 0.0.0.0/0 tcp dpt:22 2 100 5000 DROP tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:22