Oracle Linux 8 Advanced System Administration Questions and Answers
Question 17
Which two types of reports does iostat generate?
Options:
A.
Storage Utilization Report
B.
Device Utilization Report
C.
Memory Utilization Report
D.
Swap Utilization Report
E.
CPU Utilization Report
Answer:
B, E
Explanation:
Explanation of Answer B:iostatis a tool used to monitor system input/output device loading by observing the time devices are active concerning their average transfer rates. The "Device Utilization Report" provides statistics about device utilization and throughput rates, which is critical in identifying performance bottlenecks.
Explanation of Answer E:iostatalso generates "CPU Utilization Reports." These reports provide data about how the CPU is utilized during input/output operations, showing the percentage of CPU time used for user processes, system processes, and the time the CPU remains idle.
[Reference:, Oracle Linux 8 Documentation:Oracle Linux Performance Monitoring Tools Guide, Theiostatcommand documentation provides details on how to interpret device and CPU utilization reports., Clarification on Incorrect Options:, Option A:"Storage Utilization Report" is not a standard term used byiostat; storage utilization is inferred from device utilization., Option C:"Memory Utilization Report" is unrelated toiostat, which focuses on I/O and CPU., Option D:"Swap Utilization Report" is not generated byiostat; tools likevmstatorfreeprovide such details., , ]
Question 18
Which two commands relabel an SELinux system after a reboot?
Options:
A.
Set kernel parameter autorelabel=0
B.
fixfiles -F relabel
C.
echo “relabel=1” > /.selinux
D.
touch /.autorelabel
E.
Set kernel parameter selinux=0
F.
fixfiles -F onboot
Answer:
D, F
Explanation:
Option D (Correct):Creating an empty file named.autorelabelin the root directory tells SELinux to relabel the entire file system during the next reboot.
Option F (Correct):Thefixfiles -F onbootcommand schedules a full file system relabel on the next reboot.
Option A, B, C, E (Incorrect):These options do not correctly set the system to relabel on reboot.