For a system running the Linux kernel, where are module configuration files typically stored?

  • /etc/modprobe.d/
  • /var/modules
  • /usr/lib/kernel/modules
  • /opt/kernelconfig
For a system running the Linux kernel, module configuration files are typically stored in the '/etc/modprobe.d/' directory. These files are used to configure the behavior and options of kernel modules, allowing users to customize module settings and behavior.

To disable the debugging mode that was enabled with set -x, you can use the command __________.

  • set +x
  • debug off
  • stop debug
  • quit
To disable the debugging mode that was enabled with set -x, you can use the command **set +x**. This command turns off the debugging mode, so the script will no longer display each command before execution. It's a useful way to end debugging when it's no longer needed.

The tool ________ is used to manage and enforce profiles within AppArmor.

  • aa-status
  • apparmor-status
  • aa-enforce
  • apparmor-enforce
The tool aa-enforce is used to manage and enforce profiles within AppArmor. It allows you to enable and enforce AppArmor profiles for specific applications or processes.

In Linux, user-specific configuration files, sometimes starting with a dot (.), are typically located in the _________ directory.

  • /bin
  • /etc
  • /home
  • /usr
In Linux, user-specific configuration files, sometimes starting with a dot (.), are typically located in the /home directory. Each user has a home directory under /home where they can store their personalized configuration files and data.

In Red Hat-based systems, the ________ utility is used to manage and configure software repositories.

  • yum
  • apt-get
  • dnf
  • zypper
In Red Hat-based systems, the "yum" utility (Yellowdog Updater, Modified) is used to manage and configure software repositories. It allows users to install, update, and remove packages from Red Hat-based distributions.

When a process is neither in 'running' nor in 'blocked' state, which state might it be in?

  • Waiting
  • Zombie
  • Sleeping
  • Stopped
When a process is neither in the 'running' nor 'blocked' state, it is typically in a 'Sleeping' state. In this state, the process is waiting for an event or a specific condition to occur before it can continue execution. The process is temporarily inactive, often due to I/O operations or waiting for a signal.

Which command in Linux is commonly used to manage and update user passwords?

  • passwd
  • chmod
  • ls
  • cp
The correct command to manage and update user passwords in Linux is 'passwd.' It allows users to change their own passwords or allows administrators to manage user accounts. The 'passwd' command interacts with the /etc/shadow file to update password information securely.

Which daemon is responsible for network interface configuration and automatic switching between networks?

  • NetworkManager
  • SystemD
  • ifconfig
  • Apache
NetworkManager is responsible for network interface configuration and automatic switching between networks in Linux. It simplifies network setup and management, making it easier for users to connect to different networks seamlessly.

What does the 2>&1 notation signify when used in Linux command redirection?

  • Closes both standard error and standard output
  • Redirects both standard error (2) and standard output (1) to the same location
  • Redirects standard error (2) to standard output (1)
  • Redirects standard output (1) to standard error (2)
The "2>&1" notation signifies that both standard error (file descriptor 2) and standard output (file descriptor 1) are redirected to the same location. This is commonly used to capture both error messages and regular output when running commands.

The _________ utility in Samba is used to manage user accounts and passwords.

  • smbpasswd
  • smbconf
  • smbuser
  • smbcontrol
The smbpasswd utility in Samba is used to manage user accounts and passwords. Samba is a software suite for integrating Windows and Linux systems, and smbpasswd allows you to change Samba passwords for user accounts.