LPIC-2 Exam 201

LPIC-2 Exam 201

Professional Development

32 Qs

quiz-placeholder

Similar activities

Games PKPA Konimex (Andev)

Games PKPA Konimex (Andev)

Professional Development

35 Qs

Ivy-Tata Steel : Python Assessment 3

Ivy-Tata Steel : Python Assessment 3

Professional Development

29 Qs

SRE Part 06

SRE Part 06

Professional Development

30 Qs

PSE-4

PSE-4

Professional Development

27 Qs

UTS SISTEM OPERASI SESI 5-6-7

UTS SISTEM OPERASI SESI 5-6-7

KG - Professional Development

30 Qs

SRE Part 04

SRE Part 04

Professional Development

30 Qs

ITIL & DevOps Chapter-3 (A)

ITIL & DevOps Chapter-3 (A)

Professional Development

37 Qs

SRE part 02

SRE part 02

Professional Development

30 Qs

LPIC-2 Exam 201

LPIC-2 Exam 201

Assessment

Quiz

Professional Development

Professional Development

Hard

Created by

Duccunu Sika

Used 1+ times

FREE Resource

32 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

In capacity planning exercises, which tools assist in listing and identifying processes of interest? (Choose TWO correct answers.)

acpid

lsof

pstree

telinit

Answer explanation

In capacity planning exercises, tools like lsof and pstree assist in listing and identifying processes of interest. These tools provide information about open files and the process hierarchy, respectively. By using lsof, you can identify processes that have specific files open, while pstree helps visualize the relationship between processes. These tools are valuable in understanding resource utilization and optimizing system performance.

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

In the following output, what is the 5-minute load average for the system?

0.47

24.71

35.31

There is no 5-minute interval

It is some value between 0.47 and 24.71.

Answer explanation

The 5-minute load average for the system is 24.71. This value represents the average number of processes in the system's run queue over the past 5 minutes. It indicates the system's workload and can help determine if the system is under heavy load or not. The other options are incorrect: 0.47, 35.31, and 'There is no 5-minute interval' are not the correct load averages, and 'It is some value between 0.47 and 24.71' is too vague and does not provide the exact load average.

3.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of the following tools are used to measure memory usage? (Choose THREE correct answers.)

mpstat

pstree

sar

top

vmstat

Answer explanation

To measure memory usage, you can use the following tools: mpstat, sar, and top. These tools provide information about memory usage and performance. Mpstat is a tool for monitoring CPU usage, but it can also provide memory statistics. Sar is a system activity reporter that can collect and report system performance information, including memory usage. Top is a command-line tool that provides real-time information about system processes, including memory usage. Using these tools, you can monitor and analyze memory usage on your system.

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What happens if the Linux kernel can't mount the root filesystem when booting?

An error message is shown and the administrator is asked by the kernel to specify a valid root filesystem to continue the boot process.

An error message is shown and the system reboots after a keypress.

An error message is shown and the system boots in maintenance mode.

An error message is shown showing which device couldn't be mounted or informing that init couldn't be found.

An error message is shown stating that the corresponding kernel module couldn't be loaded.

Answer explanation

When the Linux kernel fails to mount the root filesystem during booting, it displays an error message indicating the device that couldn't be mounted or informing that init couldn't be found. This error message helps identify the specific issue and allows the administrator to take appropriate action to resolve it. The system may not be able to proceed with the boot process until the root filesystem is successfully mounted or init is found. This error message ensures that the administrator is aware of the problem and can address it accordingly.

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which command is used to install a new LILO boot loader?

lilo

lilo-config

lilo-install

install-lilo

Answer explanation

To install a new LILO boot loader, you can use the 'lilo' command. This command is specifically designed for installing and configuring the LILO boot loader. It ensures that the boot loader is properly installed and set up on your system. The 'lilo' command is the correct choice for this task, as it is specifically tailored for LILO boot loader installation. Remember to run this command with appropriate privileges to successfully install the LILO boot loader.

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Where is the LILO boot loader code typically installed on a system with only a single Linux installation and no other operating systems?

In the master boot record.

In the boot sector.

In the /boot directory.

At the start of the kernel.

Answer explanation

The LILO boot loader code is typically installed in the master boot record. This is the first sector of the hard disk and contains the boot loader program. It is responsible for loading the operating system into memory and starting its execution. The master boot record is specific to the disk and not tied to any particular operating system. Therefore, even with a single Linux installation and no other operating systems, LILO is still installed in the master boot record. This ensures that the system can boot into Linux successfully.

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

A system with SysV-init has a service installed called apache2. Which file controls the start and stop of this service and is referenced by the various runlevel directories?

/etc/init.d/apache2

/etc/rc2.d/70apache2

/etc/rc2.d/apache2

/etc/rc2.d/apache2.start

Answer explanation

The file that controls the start and stop of the apache2 service in a system with SysV-init is /etc/init.d/apache2. This file is referenced by the various runlevel directories, such as /etc/rc2.d/70apache2 and /etc/rc2.d/apache2.start. The correct choice is /etc/init.d/apache2, which contains the necessary scripts and commands to manage the apache2 service. This file is responsible for starting, stopping, and restarting the service based on the system's runlevel. It is an essential component for managing the apache2 service in a SysV-init system.

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?