LFCS Operation of Running Systems • Complete Question Bank
Complete LFCS Operation of Running Systems question bank — all 0 questions with answers and detailed explanations.
Refer to the exhibit. $ sudo journalctl -u myapp.service --since "1 hour ago" -- Logs begin at Mon 2025-03-10 08:30:15 UTC, end at Mon 2025-03-10 12:45:22 UTC. -- Mar 10 11:30:17 server1 myapp[1234]: Starting application... Mar 10 11:30:18 server1 myapp[1234]: [ERROR] Failed to bind to port 8080: Address already in use Mar 10 11:30:18 server1 myapp[1234]: [INFO] Retrying in 5 seconds... Mar 10 11:30:23 server1 myapp[1234]: [ERROR] Failed to bind to port 8080: Address already in use Mar 10 11:30:23 server1 myapp[1234]: [INFO] Retrying in 10 seconds... Mar 10 11:30:33 server1 myapp[1234]: [ERROR] Failed to bind to port 8080: Address already in use Mar 10 11:30:33 server1 myapp[1234]: [FATAL] Exiting after repeated failures Mar 10 11:30:33 server1 systemd[1]: myapp.service: main process exited, code=exited, status=1/FAILURE Mar 10 11:30:33 server1 systemd[1]: myapp.service: Unit entered failed state.
Drag steps to the numbered slots on the right, or tap a step then tap a slot.
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.
General-purpose Linux file system
High-performance for large files
Copy-on-write with snapshots
Virtual memory paging
Temporary file system in RAM
Drag a concept onto its matching description — or click a concept then click the description.
Show/manipulate routing, devices, tunnels
Investigate sockets
Capture and analyze network traffic
Manage NetworkManager
Print network connections (legacy)
Refer to the exhibit.
```
$ systemctl status apache2
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2025-03-18 10:15:23 UTC; 2h 15min ago
Main PID: 1234 (apache2)
Tasks: 5 (limit: 1000)
Memory: 15.2M
CGroup: /system.slice/apache2.service
├─1234 /usr/sbin/apache2 -k start
├─1235 /usr/sbin/apache2 -k start
├─1236 /usr/sbin/apache2 -k start
├─1237 /usr/sbin/apache2 -k start
└─1238 /usr/sbin/apache2 -k start
Apr 18 10:15:23 server systemd[1]: Starting The Apache HTTP Server...
Apr 18 10:15:23 server apachectl[1190]: AH00112: Warning: DocumentRoot [/var/www/html] does not exist
Apr 18 10:15:23 server systemd[1]: Started The Apache HTTP Server.
```Refer to the exhibit. ``` $ df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 20G 15G 5.0G 75% / /dev/sdb1 100G 90G 10G 90% /data ```
Refer to the exhibit. Tasks: 120 total, 1 running, 119 sleeping, 0 stopped, 0 zombie %Cpu(s): 8.3 us, 2.0 sy, 0.0 ni, 89.7 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st KiB Mem : 8092260 total, 1025468 free, 3892240 used, 3774552 buff/cache KiB Swap: 2097148 total, 2097148 free, 0 used. 3598988 avail Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 5678 wwwdata 20 0 556240 89748 22012 S 0.3 1.1 0:00.12 nginx 9101 mysql 20 0 1874452 102456 18520 S 0.0 1.3 0:05.34 mysqld 1234 root 20 0 305600 6428 3920 S 0.0 0.1 0:00.01 systemd
Refer to the exhibit. [ 123.456789] INFO: task kworker/u:2:789 blocked for more than 120 seconds. [ 123.456790] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [ 123.456791] kworker/u:2 D 0 789 2 0x00000000 [ 123.456792] Call Trace: [ 123.456793] __schedule+0x2f0/0x800 [ 123.456794] schedule+0x28/0x80 [ 123.456795] io_schedule+0x16/0x40 [ 123.456796] wait_on_page_bit+0x10b/0x120 [ 123.456797] __filemap_fdatawait_range+0x100/0x150 [ 123.456798] filemap_fdatawait+0x1c/0x20 [ 123.456799] __sync_filesystem+0x4a/0x80 [ 123.456800] sync_one+0x2a/0x30 [ 123.456801] process_sync_work+0x22/0x50 [ 123.456802] worker_thread+0x4f/0x3f0 [ 123.456803] kthread+0x10b/0x140
Refer to the exhibit. [Unit] Description=My Custom Service After=network.target [Service] Type=simple ExecStart=/usr/local/bin/myapp Restart=always RestartSec=5 User=appuser [Install] WantedBy=multi-user.target
ss -tuln output: 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 127.0.0.1:25 0.0.0.0:* tcp LISTEN 0 128 *:80 *:* tcp LISTEN 0 128 *:443 *:* udp UNCONN 0 0 0.0.0.0:123 0.0.0.0:*
/var/log/nginx/*.log {
daily
rotate 14
compress
delaycompress
missingok
notifempty
create 0640 www-data adm
sharedscripts
postrotate
/usr/sbin/nginx -s reload > /dev/null 2>/dev/null || true
endscript
}Refer to the exhibit. [root@server ~]# systemctl status nginx ● nginx.service - The nginx HTTP and reverse proxy server Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Mon 2025-03-10 09:23:45 UTC; 2min ago Process: 12345 ExecStart=/usr/sbin/nginx (code=exited, status=1/FAILURE) Main PID: 12345 (code=exited, status=1/FAILURE) Mar 10 09:23:43 server systemd[1]: Starting The nginx HTTP and reverse proxy server... Mar 10 09:23:45 server nginx[12345]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) Mar 10 09:23:45 server systemd[1]: nginx.service: Main process exited, code=exited, status=1/FAILURE Mar 10 09:23:45 server systemd[1]: nginx.service: Failed with result 'exit-code'.