Search Header Logo

LPIC-1 Exam 101

Authored by Duccunu Sika

Professional Development

Professional Development

Used 26+ times

LPIC-1 Exam 101
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

45 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

During a system boot cycle, what program is executed after the BIOS completes its tasks?

The bootloader

The inetd program

The init program

The kernel

Answer explanation

During a system boot cycle, after the BIOS completes its tasks, the program that is executed is called the bootloader. The bootloader is responsible for loading the operating system into memory and starting its execution. It is the first program that runs after the BIOS and plays a crucial role in the boot process. The bootloader locates the operating system files, initializes the system, and transfers control to the kernel. Therefore, the correct choice is 'The bootloader'.

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

You are having some trouble with a disk partition and you need to do maintenance on this partition but your users home directories are on it and several are logged in. Which command would disconnect the users and allow you to safely execute maintenance tasks?

telinit 1

shutdown -r now

killall -9 inetd

/bin/netstop --maint

/etc/rc.d/init.d/network stop

Answer explanation

To safely execute maintenance tasks on a disk partition while users are logged in, you can use the 'telinit 1' command. This command will disconnect the users and allow you to perform the necessary maintenance. It is important to highlight that 'telinit 1' is the correct choice for this scenario. Remember, this explanation should not exceed 75 words and should not mention the option number or use the term 'query'.

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following kernel parameters instructs the kernel to suppress most boot messages?

silent

verbose=0

nomesg

quiet

Answer explanation

The kernel parameter 'quiet' instructs the kernel to suppress most boot messages. It ensures that only essential messages are displayed during the boot process. This option is useful when you want a quieter boot experience without unnecessary messages. The other options, such as 'silent', 'verbose=0', and 'nomesg', do not provide the same level of suppression as 'quiet'. Therefore, 'quiet' is the correct choice to suppress most boot messages.

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

The system is having trouble and the engineer wants to bypass the usual /sbin/init start up and run /bin/sh. What is the usual way to pass this change to the kernel from your boot loader?

Start in runlevel 1

Pass init=/bin/sh on the kernel parameter line

Pass /bin/sh on the kernel parameter line

Pass start=/bin/sh on the kernel parameter line

Answer explanation

To bypass the usual /sbin/init start up and run /bin/sh, you need to pass 'init=/bin/sh' on the kernel parameter line. This option instructs the kernel to start the system with the specified shell instead of the default init process. By doing so, you can directly access the shell prompt and troubleshoot the system. Remember, passing 'init=/bin/sh' is the correct choice to make this change from your boot loader.

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

The message "Hard Disk Error" is displayed on the screen during Stage 1 of the GRUB boot process. What does this indicate?

The kernel was unable to execute /bin/init

The next Stage cannot be read from the hard disk because GRUB was unable to determine the size and geometry of the disk

One or more of the filesystems on the hard disk has errors and a filesystem check should be run

The BIOS was unable to read the necessary data from the Master Boot Record to begin the boot process

Answer explanation

The message 'Hard Disk Error' is displayed on the screen during Stage 1 of the GRUB boot process. This indicates that the next Stage cannot be read from the hard disk because GRUB was unable to determine the size and geometry of the disk. To resolve this issue, the disk's size and geometry need to be determined correctly by GRUB. Running a filesystem check is not necessary in this case, as the error is related to GRUB's inability to read the next Stage from the disk.

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following commands lists the dependencies of a given dpkg package?

apt-cache depends-on package

apt-cache dependencies package

apt-cache depends package

apt-cache requires package

Answer explanation

To list the dependencies of a dpkg package, you can use the 'apt-cache depends package' command. This command will display a list of packages that the given package depends on. It is important to note that the correct choice is 'apt-cache depends package'.

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is correct when talking about mount points?

Every existing directory can be used as a mount point

Only empty directories can be used as a mount point

Directories need to have the SetUID flag set to be used as a mount point

Files within a directory are deleted when the directory is used as a mount point

Answer explanation

When talking about mount points, every existing directory can be used as a mount point. This means that any directory on a file system can be designated as a mount point, allowing other file systems to be attached to it. It is not necessary for the directory to be empty or have the SetUID flag set. Additionally, using a directory as a mount point does not result in the deletion of files within that directory. Therefore, the correct choice is that every existing directory can be used as a mount point.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?