Option A (Correct):A slice unit in systemd is a grouping mechanism used for hierarchical management of resources (such as CPU, memory, and I/O) among a group of processes.
Options B, C, D (Incorrect):These options do not correctly describe the role or characteristics of slice units in Oracle Linux 8.
Oracle Linux Reference:Refer to:
Oracle® Linux 8: Managing Services with systemd
Question 2
Which two statements are true about the Oracle Linux 8 boot process?
Options:
A.
The bootloader loads the initramfs file into memory and extracts the vmlinuz file into a temporary file system (tmpfs).
B.
The kernel loads driver modules from vmlinuz that are required to access the root file system.
C.
The bootloader loads the initramfs file into memory and extracts the vmlinuz file into the /boot file system.
D.
The kernel loads driver modules from initramfs that are required to access the root file system.
E.
Both the vmlinuz file and the initramfs file are located in the /boot directory.
Answer:
D, E
Explanation:
Explanation of Answer D:Theinitramfs(initial RAM filesystem) is a temporary filesystem loaded into memory during the boot process, containing essential drivers and utilities. The kernel usesinitramfsto load necessary drivers and modules required to access the root file system, particularly if it resides on a disk that requires special drivers.
Explanation of Answer E:Both thevmlinuz(the compressed Linux kernel image) and theinitramfsfile are located in the/bootdirectory. The bootloader, such as GRUB, reads these files from/bootto start the system.
[Reference:, Oracle Linux 8 Documentation:Oracle Linux Boot Process Guide, The boot process documentation describes the roles ofvmlinuzandinitramfsfiles and their locations., Clarification on Incorrect Options:, Option A:is incorrect because the bootloader does not extractvmlinuzinto a temporary filesystem; it loadsvmlinuzinto memory., Option B:is incorrect because driver modules are loaded frominitramfs, notvmlinuz., Option C:is incorrect because the bootloader does not extractvmlinuzinto the/bootfilesystem;/bootis where the files are located., , ]
The rule is applied to both IPv4 and IPv6 packets.
B.
The rule updates the configuration on disk.
C.
All traffic inbound on port 80 is dropped.
D.
The rule applies to the input table.
E.
TCP packets inbound on port 80 are dropped.
F.
TCP packets outbound on port 80 are dropped.
Answer:
A, E
Explanation:
Option A (Correct):The rule is applied to both IPv4 and IPv6 packets. Theinettable is used for filtering both IPv4 and IPv6 traffic, and since the rule is added to theinettable, it affects both IP versions.
Option E (Correct):The rule drops TCP packets inbound on port 80. The rule specifies theinputchain in thefiltertable, and it drops (drop) all TCP traffic (tcp) destined for port 80 (dport 80), which means any incoming TCP traffic on port 80 will be dropped.
Option B (Incorrect):The command does not automatically update the configuration on disk; the rule is applied immediately in memory but does not persist across reboots unless explicitly saved.
Option C (Incorrect):The rule specifies TCP packets only, not all traffic. Therefore, it does not drop traffic for protocols other than TCP.
Option D (Incorrect):Although this statement is correct, it is less specific than Option A, which is more accurate because it mentions both IP versions.
Option F (Incorrect):The rule applies to inbound traffic, not outbound, so it does not drop outbound traffic.
Oracle Linux Reference:Refer to:
Oracle® Linux 8: Managing Firewall Rules with nftables