Lpic-201 Fill In Blank

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Tylerdurdon
T
Tylerdurdon
Community Contributor
Quizzes Created: 1 | Total Attempts: 396
| Attempts: 396 | Questions: 21
Please wait...
Question 1 / 21
0 %
0/100
Score 0/100
1. Which command turns an existing ext2 filesystem non-destructively into an ext3 filesystem? (Specify ONLY the command without any path or parameters.) 

Explanation

The command "tune2fs" is used to modify the filesystem parameters of an ext2 filesystem. In this case, it can be used to convert an existing ext2 filesystem to an ext3 filesystem without causing any data loss. This command allows for the non-destructive transition between the two filesystem types, enabling the additional features and benefits of ext3 while preserving the existing data on the filesystem.

Submit
Please wait...
About This Quiz
Linux Quizzes & Trivia

This LPIC-201 quiz tests knowledge on Linux kernel development, including paths, module handling, and configuration. It assesses understanding of kernel source paths, module installation, and kernel parameter settings, crucial for system administrators and developers.

Tell us your name to personalize your report, certificate & get on the leaderboard!
2. Which program lists information about files and network connections opened by processes? (Specify ONLY the command without any path or parameters.) 

Explanation

The program "lsof" stands for "list open files" and it is used to list information about files and network connections opened by processes. It provides a detailed report on which files and network connections are currently being accessed by running processes on a system. By using the "lsof" command, users can gather information about the files and network connections that are in use, helping to troubleshoot issues or monitor system activity.

Submit
3. After configuring a new kernel, what file under /usr/src/linux/ contains the configuration?

Explanation

The file ".config" under the directory "/usr/src/linux/" contains the configuration after configuring a new kernel.

Submit
4. Which file contains the text message that is displayed after logging into the console? (Specify the full name of the file, including path.)

Explanation

The file /etc/motd contains the text message that is displayed after logging into the console.

Submit
5. Which command is used to create a ISO9660 filesystem? (Specify ONLY the command without any path or parameters.)

Explanation

The command "mkisofs" is used to create an ISO9660 filesystem. This command is commonly used in Linux and Unix systems to generate ISO image files. It allows users to create a file system that is compatible with the ISO9660 standard, which is commonly used for optical disc storage. By using "mkisofs", users can create ISO images that can be burned onto CDs or DVDs, making it a useful tool for creating bootable discs or archiving data.

Submit
6. What command will remove a physical volume from a volume group? (Specify ONLY the command without any path or parameters.)

Explanation

The command "vgreduce" is used to remove a physical volume from a volume group. This command allows for the management and modification of volume groups in a Linux system. By specifying the physical volume to be removed, the vgreduce command detaches it from the volume group, allowing it to be used independently or added to another volume group if desired.

Submit
7. A new kernel version needs to be compiled to use a new feature. If the old kernel configuration file is available, which make target creates a configuration file for the new kernel based on the configuration of the old kernel?

Explanation

The make target "oldconfig" creates a configuration file for the new kernel based on the configuration of the old kernel. This means that it takes the existing configuration file and updates it with any new options or features that are available in the new kernel version. This allows the user to easily migrate their existing configuration to the new kernel version without having to manually go through and configure each option themselves.

Submit
8. Please enter the complete path to the main SysV init process configuration file.

Explanation

The main SysV init process configuration file is located at /etc/inittab.

Submit
9. Which directory in /dev/disk/ can be used to determine the UUID of a connected hard disk?

Explanation

The directory "by-uuid" in the "/dev/disk/" directory can be used to determine the UUID of a connected hard disk.

Submit
10. Which file contains the message that is displayed above the login prompt of the system console? (Specify the full name of the file, including path.) 

Explanation

The file /etc/issue contains the message that is displayed above the login prompt of the system console.

Submit
11. A database application requires a maximum shared memory segment (shmmax) of 2GB (2147483648 Bytes). Which configuration file should be modified to set this kernel parameter permanently? (Specify the full name of the file, including path.)

Explanation

The correct answer is /etc/sysctl.conf. This file is used to configure kernel parameters in a Linux system. By modifying this file, the shmmax parameter can be set to the desired value of 2GB, ensuring that the maximum shared memory segment meets the requirements of the database application.

Submit
12. Which command is used to unload a single module currently loaded by the kernel without unloading any modules that it depends upon? (Specify the command with or without path information)

Explanation

The command "rmmod" is used to unload a single module currently loaded by the kernel without unloading any modules that it depends upon. This command allows for the removal of a specific module without affecting other modules that may be dependent on it.

Submit
13. Which keyword is used in the /etc/inittab file to define the SysV-init default system runlevel?

Explanation

The keyword used in the /etc/inittab file to define the SysV-init default system runlevel is "initdefault". This keyword is used to specify the default runlevel that the system should boot into. The value assigned to this keyword determines which set of processes and services are started during the system startup process.

Submit
14. According to the Filesystem Hierarchy Standard (FHS), what is the path to the Linux kernel source and may be a symbolic link to the real Linux source code? (Please specify the full path with no version information.)

Explanation

The correct answer is /usr/src/linux. According to the Filesystem Hierarchy Standard (FHS), the path to the Linux kernel source is typically located in the /usr/src directory. Within that directory, the linux folder represents the Linux kernel source code. It is important to note that this path may be a symbolic link to the actual location of the Linux source code.

Submit
15. Consider the following /etc/fstab file: /dev/hda1 swap swap defaults 0 0 /dev/hda2 / ext2 defaults 1 1 /dev/hda3 /home ext2 defaults 1 2 none /proc proc defaults 0 0 /dev/sdb1 /media/usb0 vfat user,noauto 0 0 What is one of the possible commands that an ordinary (non-root) user can use to mount the /dev/sdb1 partition on the /media/usb0 mount point? (Please enter the command with all parameters and/or options but without any file system type options.)

Explanation

An ordinary (non-root) user can use the "mount /dev/sdb1" command to mount the /dev/sdb1 partition on the /media/usb0 mount point.

Submit
16. What is the full path to the directory which contains the scripts (or links to the original scripts) to run while the system boots to SysV-init runlevel 2?

Explanation

The full path to the directory which contains the scripts (or links to the original scripts) to run while the system boots to SysV-init runlevel 2 is /etc/rc2.d. This directory is part of the Linux system's initialization process and holds the scripts that are executed during the boot process when the system enters runlevel 2.

Submit
17. After installing a compiled kernel, it can not find any modules that are needed to be loaded. What make target was likely missed while installing the kernel?

Explanation

The "modules_install" make target was likely missed while installing the kernel. This target is responsible for installing the kernel modules, which are necessary for the kernel to load the required modules at runtime. Without running this target, the installed kernel will not be able to find any modules that need to be loaded, resulting in the issue mentioned in the question.

Submit
18. What is the device name for the first SCSI tape drive on a system when used without automatic Exam rewinding after each write operation? (Please specify the full path to the device.)

Explanation

The correct answer is /dev/nst0. This is because /dev/nst0 is the device name for the first SCSI tape drive on a system when it is used without automatic Exam rewinding after each write operation. The /dev/nst0 path specifies the location of the device in the system's file system.

Submit
19. Which directory contains the system-specific udev rule files? (Specify the absolute path including the directory name)

Explanation

The system-specific udev rule files are located in the /etc/udev/rules.d directory. This directory contains the configuration files that define how the system should handle devices and their corresponding events. These rules are used by the udev daemon to automatically create and manage device nodes in the /dev directory, based on the events generated by the kernel.

Submit
20. Which file tells GRUB the paths of the filesystem partitions in both Linux format and in the GRUB syntax? (Specify the file name only with no path information)

Explanation

The file "device.map" is used by GRUB to determine the paths of the filesystem partitions in both Linux format and in the GRUB syntax. It contains a mapping between the device names used by the Linux kernel and the corresponding device names used by GRUB. This file is important for GRUB to correctly locate and boot the operating system installed on different partitions.

Submit
21. The users of the local network complain that name resolution is not fast enough. Enter the command, without the path or any options, that shows the time taken to resolve a DNS query.

Explanation

The command "time nslookup" is used to measure the time taken to resolve a DNS query. By running this command, the system will execute the nslookup command and display the time it takes for the DNS query to be resolved. This can help identify if there are any delays or performance issues with the name resolution process, which could be causing the slow response time for the users of the local network.

Submit
View My Results

Quiz Review Timeline (Updated): Mar 22, 2023 +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 22, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Mar 17, 2016
    Quiz Created by
    Tylerdurdon
Cancel
  • All
    All (21)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
Which command turns an existing ext2 filesystem non-destructively into...
Which program lists information about files and network connections...
After configuring a new kernel, what file under /usr/src/linux/...
Which file contains the text message that is displayed after logging...
Which command is used to create a ISO9660 filesystem? (Specify ONLY...
What command will remove a physical volume from a volume group?...
A new kernel version needs to be compiled to use a new feature. If the...
Please enter the complete path to the main SysV init process...
Which directory in /dev/disk/ can be used to determine the UUID of a...
Which file contains the message that is displayed above the login...
A database application requires a maximum shared memory segment...
Which command is used to unload a single module currently loaded by...
Which keyword is used in the /etc/inittab file to define the SysV-init...
According to the Filesystem Hierarchy Standard (FHS), what is the path...
Consider the following /etc/fstab file: /dev/hda1 swap swap defaults 0...
What is the full path to the directory which contains the scripts (or...
After installing a compiled kernel, it can not find any modules that...
What is the device name for the first SCSI tape drive on a system when...
Which directory contains the system-specific udev rule files? (Specify...
Which file tells GRUB the paths of the filesystem partitions in both...
The users of the local network complain that name resolution is not...
Alert!

Advertisement