Drag steps to the numbered slots on the right, or tap a step then tap a slot.
LPIC-2 Advanced Networking Configuration Practice Question
Order the steps to configure a Linux system to send system logs to a remote syslog server.
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
Edit the syslog configuration file (e.g., /etc/rsyslog.conf), add the destination line for the remote server, restart the syslog service, generate a test log message, then verify it appears on the remote server.
The correct sequence for configuring remote syslog logging is to first edit the configuration file (e.g., /etc/rsyslog.conf) and add the remote server destination, then restart the syslog service to apply changes, next generate a test log message (e.g., using logger), and finally verify that the message appears on the remote server. This order ensures that the configuration is properly applied before testing and verification.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Edit the syslog configuration file (e.g., /etc/rsyslog.conf), add the destination line for the remote server, restart the syslog service, generate a test log message, then verify it appears on the remote server.
Why this is correct
This is the correct order because you must first edit the configuration to include the remote destination, then restart the service to apply changes, then generate a test message, and finally verify receipt on the remote server.
- ✗
Add the destination line for the remote server, restart the syslog service, edit the syslog configuration file, generate a test log message, then verify on the remote server.
Why it's wrong here
This is incorrect because adding the destination before editing the configuration file would imply the destination is already in place, but editing afterwards could overwrite or conflict; also restarting before editing means the change is not applied.
- ✗
Generate a test log message, edit the syslog configuration file, add the destination line, restart the syslog service, then verify on the remote server.
Why it's wrong here
This is incorrect because generating a test message before configuring the remote destination will not be sent to the remote server; the configuration must be in place first.
- ✗
Edit the syslog configuration file, restart the syslog service, add the destination line, generate a test log message, then verify on the remote server.
Why it's wrong here
This is incorrect because restarting the service before adding the destination line means the new destination is not yet configured, so the restart does not enable logging to the remote server.
Go deeper
Related to this question
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 →
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.