Red Hat System Administration II (RH134) – RHEL 9 Quiz Questions and Answers

Answer :
  • df -T

Explanation :

The df -h command shows mounted devices and the amount of disk space currently in use on these devices. The -T option helps in recognizing real file systems (as opposed to kernel interfaces) because it shows the file system type as well.
Answer :
  • Utilize broader rule sets with specific exceptions

Explanation :

Using broader rule sets with specific exceptions allows the firewall to manage large volumes of traffic effectively while still applying strict security measures where necessary, facilitating better scalability.
Answer :
  • To provide centralized file storage and sharing over a network.

Explanation :

Network-Attached Storage (NAS) with NFS in a Red Hat Enterprise Linux environment is used to provide centralized file storage and sharing, allowing multiple clients to access the files over a network.
Answer :
  • It executes container processes in isolated environments

Explanation :

The container runtime is responsible for executing and managing the container processes, ensuring that applications run in isolated environments using shared system resources effectively.
Answer :
  • To prevent unauthorized processes from accessing sensitive ports

Explanation :

Correct labeling with SELinux types helps to prevent unauthorized processes from accessing or communicating through sensitive or critical ports, thus safeguarding the server environment.
Answer :
  • systemd timer

Explanation :

A `systemd` timer can be configured to run tasks on a specific monthly schedule, making it an appropriate choice for running the maintenance script on the first day of each month.---
Answer :
  • Swap space acts as overflow for RAM

Explanation :

Swap space acts as overflow storage for RAM, providing additional virtual memory to handle greater application loads than physical memory can alone, thus preventing memory errors.
Answer :
  • Flexible disk management

Explanation :

LVM allows dynamic partition resizing, snapshots, and the ability to manage disk space more flexibly, which is critical for maintaining and scaling server environments over time.
Answer :
  • docker container list -a

Explanation :

The command `docker container list -a` or `docker ps -a` lists all containers, both active and inactive, which allows Alice to manage her containerized applications effectively.
Answer :
  • podman run -d -p 8080:80 httpd

Explanation :

The 'podman run -d -p 8080:80 httpd' command runs a container in detached mode with port 8080 on the host mapped to port 80 in the container where the HTTP server listens.