QEMU can be used for hardware emulation, but when paired with KVM, it leverages _________ virtualization for better performance.

  • Hardware
  • Software
  • Hypervisor
  • Full
QEMU, when paired with KVM (Kernel-based Virtual Machine), leverages "hardware" virtualization for better performance. Hardware virtualization allows the virtual machine to directly access the physical hardware, resulting in improved performance compared to software emulation.

In shell scripting, a loop that processes each item in a list one by one is known as a _________ loop.

  • for
  • while
  • until
  • foreach
In shell scripting, a loop that processes each item in a list one by one is known as a for loop. The "for" loop allows you to iterate through a list of items, such as files or elements in an array, and perform actions on each item. It's a fundamental construct for automation and scripting tasks.

Which command is used to monitor and manipulate IP traffic control settings?

  • tc
  • ipconfig
  • iptables
  • arp
The tc command is used to monitor and manipulate IP traffic control settings in Linux. It allows you to manage Quality of Service (QoS), bandwidth, and traffic shaping on network interfaces, making it a crucial tool for network administrators.

Services in Linux that start at boot and run in the background are commonly referred to as _________.

  • services
  • daemons
  • applications
  • processes
Services in Linux that start at boot and run in the background are commonly referred to as daemons. Daemons are long-running background processes that perform various tasks such as serving network requests, managing hardware devices, and more.

What component in Linux is responsible for managing system resources and providing an interface between the hardware and the user space?

  • Kernel
  • Shell
  • BIOS
  • Compiler
The component in Linux responsible for managing system resources and providing an interface between the hardware and the user space is the 'Kernel.' The kernel is the core of the operating system and handles tasks such as memory management, process scheduling, and hardware interaction. It acts as an intermediary between software and hardware, making it a crucial part of the Linux operating system.

Which virtualization solution is directly supported in the Linux kernel?

  • KVM
  • VirtualBox
  • VMware
  • Xen
KVM, or Kernel-based Virtual Machine, is directly supported in the Linux kernel. It's a full virtualization solution that leverages hardware virtualization extensions to provide excellent performance for virtual machines on Linux.

AppArmor profiles, when enforced, restrict system access based on ________ paths.

  • file system
  • network
  • environment
  • system call
AppArmor profiles, when enforced, restrict system access based on file system paths. These profiles define what files and directories a program can access, adding an extra layer of security.

Which special variable in a shell script represents the script's name?

  • $0
  • $1
  • $script
  • $name
The special variable $0 in a shell script represents the script's name. It allows you to access the name of the currently executing script. This can be useful for self-referencing within the script or for providing a script name in error messages or logs.

Which component of the Linux boot process loads the main system kernel?

  • Bootloader
  • Shell
  • init
  • BIOS/UEFI
The component of the Linux boot process that loads the main system kernel is the bootloader. The bootloader, such as GRUB, is responsible for locating the kernel image on the disk and passing control to it during the boot process.

In Linux, the _________ command is used to change a user's password.

  • passwd
  • usermod
  • chmod
  • pwd
In Linux, the passwd command is used to change a user's password. Users can execute this command to update their login credentials securely.