When managing disk partitions, the term _________ refers to a method that allows for spanning a filesystem across multiple physical disks.

  • RAID
  • LVM
  • EXT4
  • XFS
When managing disk partitions, the term "LVM" (Logical Volume Manager) refers to a method that allows for spanning a filesystem across multiple physical disks. LVM provides flexibility in managing storage by creating logical volumes that can span multiple physical drives.

In a shell script, the _________ command is used to parse options and arguments.

  • grep
  • sed
  • getopts
  • awk
In a shell script, the getopts command is used to parse options and arguments. It's particularly useful for handling command-line options and arguments in a structured way.

A kernel that can have modules loaded and unloaded at runtime is referred to as a _________ kernel.

  • modular
  • dynamic
  • monolithic
  • micro
A kernel that can have modules loaded and unloaded at runtime is referred to as a "modular" kernel. In a modular kernel, certain functionality can be added or removed via loadable kernel modules, making it more flexible and efficient.

Which command provides information about the network connections, routing tables, and network interface statistics?

  • netstat
  • ping
  • ifconfig
  • traceroute
The 'netstat' command provides information about network connections, routing tables, and network interface statistics. It's a powerful utility for diagnosing network-related issues and displaying network statistics and connections.

In Bash scripting, the ________ command is used to loop over a range of values.

  • for
  • while
  • if
  • echo
In Bash scripting, the for command is used to loop over a range of values. It allows you to execute a set of commands for each item in the specified range or list.

Which built-in variable in a shell script would you use to determine the number of positional parameters?

  • $#
  • $@
  • $*
  • $$
To determine the number of positional parameters passed to a shell script, you would use the built-in variable $#. It represents the count of arguments supplied to the script.

Which SSH configuration parameter specifies the maximum number of authentication attempts allowed per connection?

  • MaxLoginAttempts
  • MaxAuthTries
  • AuthMaxRetries
  • LoginAttempts
The SSH configuration parameter that specifies the maximum number of authentication attempts allowed per connection is MaxAuthTries. It can be set in the SSH server configuration file (sshd_config) to enhance security by limiting the number of failed login attempts.

Docker primarily deals with which kind of virtualization?

  • Containerization
  • Hypervisor-based virtualization
  • Paravirtualization
  • Emulation
Docker primarily deals with containerization, which is a lightweight form of virtualization. Containers share the host OS kernel, making them efficient and suitable for packaging and running applications.

What is the primary purpose of the chmod command in Linux?

  • Changing file permissions
  • Creating new directories
  • Deleting files
  • Displaying file contents
The primary purpose of the chmod command in Linux is to change file permissions. It allows you to modify the access permissions of files and directories. You can use it to control who can read, write, and execute a particular file or directory.

The _________ special variable in a shell script provides an option for random number generation.

  • $RANDOM
  • $PID
  • $USER
  • $HOME
The $RANDOM special variable in a shell script provides an option for random number generation. You can use $RANDOM to generate random integers within a specific range. It's commonly used for tasks like creating random passwords or simulating randomness in scripts.