Courseiva
Linux Kernel and System StartupmediumDrag & DropObjective-mapped

LPIC-2 Linux Kernel and System Startup Practice Question

Order the steps to configure a Linux system as an SSH server with key-based authentication.

Drag steps to the numbered slots on the right, or tap a step then tap a slot.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4
5Step 5

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

Install SSH server, then configure SSH server, then generate SSH key pair, then copy public key to server, then restart SSH service and test.

Install SSH server, configure it, generate keys, copy public key, restart and test.

Answer analysis

Option-by-option breakdown

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

  • Install SSH server, then configure SSH server, then generate SSH key pair, then copy public key to server, then restart SSH service and test.

    Why this is correct

    This is the correct order because you first install the SSH server software, then configure it to allow key-based authentication, generate the key pair on the client, copy the public key to the server, and finally restart the service and test the connection.

  • Generate SSH key pair, then install SSH server, then configure SSH server, then copy public key, then restart and test.

    Why it's wrong here

    This is incorrect because you must have the SSH server installed before you can copy keys to it or test the connection. Generating keys before installing the server is possible but inefficient; the server itself needs to be installed first.

  • Install SSH server, then generate SSH key pair, then copy public key, then configure SSH server, then restart and test.

    Why it's wrong here

    This is incorrect because configuring the SSH server (to enable key-based authentication) should be done before copying the public key and restarting. If you copy the key before configuring, the server might not accept key-based authentication, leading to failure.

  • Install SSH server, then configure SSH server, then copy public key, then generate SSH key pair, then restart and test.

    Why it's wrong here

    This is incorrect because you must generate the SSH key pair before you can copy the public key. Copying a non-existent key is impossible. The key generation step must precede the copy step.

About these practice questions

This LPIC-2 question is part of Courseiva's 507-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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.