Request More Information

Email:  WhatsApp:

koenig-logo

Linux System Administration II Quiz Questions and Answers

Answer :
  • Adding a new disk and extending the logical volume

Explanation :

Expanding the logical volume by adding a new disk allows immediate space increase with minimal service disruption, leveraging LVMs strengths. ---These questions are designed to test practical understanding and application of managing partitions and file systems within Linux, suited for an intermediate to advanced Linux System Administration course.
Answer :
  • lvextend

Explanation :

The `lvextend` command extends a logical volume. When used with the appropriate filesystem-specific command (like resizing ext4 with `resize2fs`), it ensures the filesystem extends to use the newly allocated space.---
Answer :
  • The parent process did not properly clean up

Explanation :

A zombie process is caused when a parent process doesn't properly `wait` for its child's termination, leaving the child entry in the process table. It can be resolved by ensuring the parent process calls wait.
Answer :
  • Root or superuser access

Explanation :

Lowering the nice value below 0 requires root permissions because it affects system performance and resource allocation significantly. Only privileged users can make such changes to ensure system stability.
Answer :
  • To monitor and control incoming and outgoing network traffic based on security rules

Explanation :

The primary role of a firewall in a Linux system is to control incoming and outgoing network traffic based on predefined security rules, thereby enhancing security through restriction and monitoring.
Answer :
  • Use the `htop` or `top` command.

Explanation :

Both `htop` and `top` provide interactive interfaces where you can view and change process priorities directly within the tool, making it easier to manage running processes.###
Answer :
  • By running 'iptables-save > /etc/iptables/rules.v4'

Explanation :

To ensure that iptables rules are persistent across reboots, they should be saved using the 'iptables-save' command and stored in a specific file like '/etc/iptables/rules.v4'.
Answer :
  • A set of rules and ports applied to interfaces, organizing network security policies by trust levels

Explanation :

Zones in 'firewalld' group interfaces with similar trust levels, applying relevant rules and ports, simplifying network security management and reflecting security policies.
Answer :
  • To prevent data loss by restoring configuration if needed

Explanation :

Backing up LVM metadata is crucial because it contains vital information about the volume group configuration, and restoration can prevent data loss in case of corruption.
Answer :
  • The process with nice value of -10 gets more CPU time.

Explanation :

Processes with lower nice values (more negative) have a greater scheduling priority and therefore receive more CPU time compared to those with higher nice values.###