KVM stands for Kernel-based Virtual _________.
- Machine
- Manager
- Memory
- Module
KVM stands for Kernel-based Virtual Machine. It is a Linux kernel module that enables hardware-assisted virtualization, allowing you to run multiple virtual machines on a single host.
Which tool is used for orchestrating multiple Docker containers?
- Docker Compose
- Docker Swarm
- Kubernetes
- Ansible
Kubernetes is used for orchestrating multiple Docker containers. It's a powerful container orchestration platform that automates the deployment, scaling, and management of containerized applications.
You are an administrator and receive a report that a user is not able to execute certain commands with sudo. Where would you primarily look to diagnose the issue?
- /etc/sudoers file
- /etc/passwd file
- /var/log/auth.log
- /bin/sudo binary
To diagnose the issue of a user not being able to execute certain commands with sudo, you would primarily look at the /etc/sudoers file. This file contains the configuration for sudo privileges, and it's the first place to check for any restrictions or misconfigurations that might be affecting the user's access.
Which tool in Linux can be used to measure disk input/output statistics?
- iostat
- top
- ps
- df
The iostat tool in Linux is used to measure disk input/output statistics. It provides information about disk utilization, I/O wait times, and other important metrics, helping system administrators monitor and troubleshoot disk performance.
What is the primary purpose of the groupmod command in Linux?
- Modify group attributes
- Add a new group
- Remove a user from a group
- Create a new group
The primary purpose of the groupmod command in Linux is to modify group attributes. You can use groupmod to change properties of an existing group, such as its name or GID (Group ID). It does not create new groups or remove users from groups; it focuses on group attribute modifications.
You're given a Dockerfile and need to create a Docker container from it. Which command would you use?
- docker compose
- docker build
- docker create
- docker run
To create a Docker container from a Dockerfile, you would use the "docker build" command. This command reads the instructions in the Dockerfile and generates a Docker image, which can then be used to create and run containers.
The ________ command in Linux provides a detailed view of the networking subsystem, including interfaces, IP addresses, and routing tables.
- ipconfig
- netstat
- ifconfig
- ip
The "ip" command in Linux provides a detailed view of the networking subsystem, including information about network interfaces, IP addresses, routing tables, and more. It is a versatile tool for configuring and managing network settings on a Linux system, making it an essential utility for network administrators and troubleshooters.
The __________ phase of the Linux boot process is where the system checks and mounts file systems.
- initrd
- GRUB
- LILO
- init
The initrd phase of the Linux boot process is where the system checks and mounts file systems. The initial RAM disk (initrd) is used during the boot process to provide an initial file system that's used as a temporary root file system before the actual root file system is mounted. It contains necessary drivers and tools to get the system to the point where it can transition to the real root file system.
Imagine you are setting up user permissions for a shared directory. You want the files created by users to inherit the group ownership of the directory. Which special permission would you set on the directory?
- SetGID
- SetUID
- Sticky bit
- Chmod
To ensure that files created within a directory inherit the group ownership of the directory, you would set the SetGID (Set Group ID) permission on the directory. This special permission allows new files to inherit the group ownership of the parent directory, which is often used for shared directories.
You are setting up a high-performance database server and require a file system that supports large files and high data integrity. Which file system would be most suitable?
- Ext4
- XFS
- Btrfs
- ZFS
ZFS (Zettabyte File System) would be most suitable for a high-performance database server. It supports large files, data integrity through features like checksums, and provides advanced data management capabilities, making it ideal for critical data storage needs.