Which command is used to load kernel modules manually?

  • modprobe
  • insmod
  • depmod
  • lsmod
The correct command to load kernel modules manually is insmod. This command allows you to insert a kernel module into the running kernel. It's used when you want to load a specific module into the kernel, and it doesn't handle module dependencies automatically.

Which tool is commonly used to manage btrfs file systems?

  • btrfs-progs
  • ext4tools
  • xfsctl
  • jfsutils
The tool commonly used to manage btrfs file systems is btrfs-progs. These utilities provide various commands for managing and maintaining btrfs file systems, including creating, mounting, and checking file systems.

What is the primary use of the iptables -L command?

  • Viewing the current rules in the iptables firewall
  • Listing installed packages
  • Listing contents of a directory
  • Listing system users
The primary use of the iptables -L command is to view the current rules in the iptables firewall. It shows a list of firewall rules and their details, allowing you to inspect how traffic is being filtered or forwarded on a Linux system.

Which technology allows for OS-level virtualization, resulting in multiple isolated user-space instances?

  • Containers
  • Virtual Machines
  • Hypervisor
  • KVM
Containers enable OS-level virtualization, allowing multiple isolated user-space instances to run on the same kernel. They share the host OS's kernel but have separate user spaces, making them lightweight and efficient. Docker and Kubernetes are popular container technologies.

After implementing a new SELinux policy, a certain application fails to work. To troubleshoot, you decide to temporarily change SELinux mode. Which mode allows everything but logs violations?

  • Permissive mode
  • Enforcing mode
  • Disabled mode
  • Audit mode
To temporarily change SELinux mode and allow everything while logging violations, you would use the "Permissive" mode. In this mode, SELinux will log policy violations but won't enforce them, which helps troubleshoot and analyze any issues without blocking the application.

Which command is used to grant temporary elevated privileges in Linux?

  • sudo
  • su
  • elevate
  • grant
The correct command to grant temporary elevated privileges in Linux is sudo, which stands for "superuser do." The sudo command allows authorized users to execute a command as the superuser or another user, providing a level of access control.

The _________ command provides a bird's-eye view of the system's current resource usage, including CPU, RAM, and swap.

  • top
  • ps
  • ls
  • sysstat
The top command provides a bird's-eye view of the system's current resource usage, including CPU, RAM, and swap. It offers real-time monitoring of processes and their resource consumption.

A company wants to deploy a microservices architecture for their application. They are looking for a technology that can package each service with its dependencies and configuration in a reproducible way. Which technology would best fit this requirement?

  • Docker
  • Kubernetes
  • Vagrant
  • Helm
Docker is a technology that allows you to package applications and their dependencies into containers. It's an excellent choice for deploying microservices, as it ensures that each service is encapsulated with its dependencies and configurations, making it highly reproducible and scalable.

Which command tests for file types and compares values in Bash scripting?

  • test
  • eval
  • exec
  • check
In Bash scripting, the test command is used to test for file types and compare values. It is often used with conditional statements like if and elif to perform tests on files, strings, and other expressions. The test command is also equivalent to [ ] in Bash.

What is the primary purpose of the /home directory in Linux?

  • Storing system binaries
  • Storing system configuration files
  • Storing temporary files
  • Storing user home directories
The primary purpose of the /home directory in Linux is to store user home directories. Each user on a Linux system typically has a subdirectory within /home where their personal files and settings are stored.