LPIC-1 Exam 101

LPIC-1 Exam 101

Professional Development

45 Qs

quiz-placeholder

Similar activities

GMC PC1250-8

GMC PC1250-8

Professional Development

50 Qs

Evaluasi Preventive Maintenance D155-6

Evaluasi Preventive Maintenance D155-6

Professional Development

40 Qs

Modulo de Motores MT2 Parte IV

Modulo de Motores MT2 Parte IV

Professional Development

42 Qs

งานปรับอากาศยานยนต์

งานปรับอากาศยานยนต์

Professional Development

40 Qs

ISEC Screening Exam - 2025

ISEC Screening Exam - 2025

Professional Development

50 Qs

Getting Started with Docker and Dockerfile

Getting Started with Docker and Dockerfile

Professional Development

47 Qs

Condition Monitoring test

Condition Monitoring test

Professional Development

50 Qs

1 вариант ОС Альт

1 вариант ОС Альт

Professional Development

50 Qs

LPIC-1 Exam 101

LPIC-1 Exam 101

Assessment

Quiz

Professional Development

Professional Development

Hard

Created by

Duccunu Sika

Used 2+ times

FREE Resource

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.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?