Courseiva
DNS, Web and Mail ServicesmediumMatchingObjective-mapped

LPIC-2 DNS, Web and Mail Services Practice Question

Match each kernel parameter to its effect.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Enables IP forwarding between interfaces

Sets the system's hostname

Controls tendency to swap memory pages

Maximum receive socket buffer size

Maximum number of open file descriptors

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

vm.swappiness: Controls how aggressively the kernel swaps memory pages

The correct matches are: vm.swappiness controls swapping behavior, net.ipv4.ip_forward enables routing. Common confusions: confusing kernel.shmmax with fs.file-max.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • vm.swappiness: Controls how aggressively the kernel swaps memory pages

    Why this is correct

    Defines the correct effect of vm.swappiness.

  • kernel.shmmax: Sets the maximum number of file handles

    Why it's wrong here

    Incorrect — kernel.shmmax sets the maximum size of a shared memory segment, not file handles.

  • net.ipv4.ip_forward: Enables IP forwarding between interfaces

    Why this is correct

    Defines the correct effect of net.ipv4.ip_forward.

  • fs.file-max: Controls the maximum amount of shared memory

    Why it's wrong here

    Incorrect — fs.file-max sets the maximum number of file handles, not shared memory.

About these practice questions

Courseiva writes every LPIC-2 question from scratch — 507 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This LPIC-2 practice question is part of Courseiva's free LPI certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the LPIC-2 exam.