You've been given a task to review the startup scripts of a system. Where would you primarily look to find the initialization scripts for different run levels?

  • /etc/init.d
  • /etc/rc.d
  • /etc/runlevels
  • /usr/bin/init
To find the initialization scripts for different run levels, you would primarily look in the /etc/init.d directory. This directory contains the scripts and links used for managing services and their run levels on a Linux system.

How can a user put a running process into the background from the terminal?

  • Press Ctrl + Z
  • Press Ctrl + B
  • Press Ctrl + C
  • Press Ctrl + D
To put a running process into the background from the terminal, you can press Ctrl + Z. This action suspends the process and places it in the background, allowing you to continue using the terminal for other tasks while the process runs in the background.

Which Linux utility allows you to monitor and manage system CPU performance?

  • top
  • ls
  • cpustat
  • sysadmin
The 'top' command is a Linux utility that allows you to monitor and manage system CPU performance. It provides a real-time view of system processes, CPU usage, memory usage, and more. You can use it to identify resource-intensive processes and manage system performance.

What role does the virt-manager tool play in Linux virtualization?

  • Graphical tool for managing virtual machines
  • Command-line tool for system administration
  • Kernel module for virtualization
  • Web server for virtual machine deployment
virt-manager is a graphical tool for managing virtual machines in Linux. It provides a user-friendly interface to create, configure, and manage virtual machines using various virtualization technologies, including KVM and QEMU.

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.