QCM : Linux Kernel Management and Security — 8 questions

Questions et réponses du QCM

1. What is the Linux Kernel?

A set of user commands for managing files and processes
The core component of the Linux operating system responsible for managing hardware and system resources
A hardware device driver that controls specific hardware components
A user-level application that manages user interfaces

The core component of the Linux operating system responsible for managing hardware and system resources

Explication

The Linux Kernel is the core component of the Linux operating system responsible for managing hardware, system resources, and providing essential services, acting as an intermediary between hardware and user applications.

2. Who emphasized the importance of 'modprobe' for handling kernel module dependencies in their 2019 work?

Zhang (2019)
Lee (2020)
Smith (2021)
Johnson (2018)

Zhang (2019)

Explication

Zhang (2019) is specifically noted in the content for emphasizing the use of 'modprobe' to automatically resolve dependencies when managing kernel modules. Smith (2021) is associated with kernel module initialization and cleanup routines, not dependency management. Johnson (2018) and Lee (2020) are not mentioned in the context and are plausible distractors, but they are incorrect. Therefore, the correct answer is Zhang (2019), as explicitly supported by the content.

3. What is the primary function of managing kernel modules in Linux?

To monitor system performance and resource usage
To extend kernel functionality dynamically by loading modules
To secure the kernel against unauthorized access
To compile the Linux kernel from source code

To extend kernel functionality dynamically by loading modules

Explication

Managing kernel modules primarily involves loading and unloading modules to extend or modify the kernel's capabilities dynamically, without rebooting the system. This process enables system flexibility and modularity, which is the core purpose of kernel module management.

4. When was the process of making kernel parameter settings persistent across reboots by editing configuration files like /etc/sysctl.conf established as a standard practice?

In the late 1990s, with the introduction of sysctl utility
In the 1980s, during the initial development of Linux
In the mid-2010s, with the adoption of systemd and its configuration management
In the early 2000s, with the release of Linux kernel 2.6

In the early 2000s, with the release of Linux kernel 2.6

Explication

The practice of making kernel parameter settings persistent by editing configuration files like /etc/sysctl.conf was established as a standard practice in the early 2000s, around the time of Linux kernel 2.6 release, which introduced and formalized many system configuration mechanisms. This process became widely documented and adopted in Linux system administration during that period, making it the correct answer.

5. How do Kernel Module Programming Basics and Managing Kernel Modules differ?

Programming basics are only relevant during kernel development, while managing modules is only for system administrators.
Programming basics focus on writing and structuring modules, while managing modules involves loading, unloading, and handling dependencies.
Programming basics are about managing module dependencies, whereas managing modules is about writing kernel modules.
Programming basics involve security considerations for modules, while managing modules is about performance tuning.

Programming basics focus on writing and structuring modules, while managing modules involves loading, unloading, and handling dependencies.

Explication

Kernel Module Programming Basics concern the development, structure, and internal functions of modules, including writing init and cleanup routines. Managing Kernel Modules involves operational tasks such as loading, unloading, and dependency management of modules during system runtime. These are distinct stages and aspects of kernel module handling.

6. What is the primary purpose of checking the kernel version in a Linux system?

To update the Linux kernel to the latest version
To change kernel parameters dynamically at runtime
To verify hardware compatibility and troubleshoot system issues
To display detailed information about installed kernel modules

To verify hardware compatibility and troubleshoot system issues

Explication

Checking the kernel version helps verify hardware compatibility and troubleshoot system issues by ensuring the correct kernel is running and supports required features. The other options relate to different kernel management tasks but are not the primary purpose of a kernel version check.

7. What is a potential consequence of misconfiguring sysctl parameters on a Linux system?

It may introduce security vulnerabilities
It can improve system performance significantly
It will cause hardware components to fail
It automatically updates the kernel to a newer version

It may introduce security vulnerabilities

Explication

Misconfiguring sysctl parameters can weaken system security by enabling insecure settings or disabling protections, thus introducing vulnerabilities. The other options are either unrelated or incorrect; sysctl primarily influences kernel behavior and security, not hardware or automatic kernel updates.

8. Which command should be used to load a kernel module while automatically resolving its dependencies?

modinfo
insmod
modprobe
rmmod

modprobe

Explication

The 'modprobe' command is designed to load kernel modules and automatically resolve any dependencies, making it the best choice for safe and effective module management.

Révisez avec les flashcards

Mémorisez les réponses avec 16 flashcards sur Linux Kernel Management and Security.

Linux Kernel — core component?

Manages hardware, resources, services.

Kernel Version — identification?

Specific release with features and fixes.

Kernel Architecture — design types?

Monolithic, microkernel, hybrid.

Voir les flashcards →

Approfondir avec la fiche

Consultez la fiche de révision complète sur Linux Kernel Management and Security.

Voir la fiche →

Cours similaires

Crée tes propres QCM

Importe ton cours et l'IA génère des QCM avec corrections en 30 secondes.

Générateur de QCM