Courseiva
DNS, Web and Mail ServiceseasyMultiple SelectObjective-mapped

LPIC-2 DNS, Web and Mail Services Practice Question

Which TWO tools can be used to send test email messages from the command line?

⚠ Common exam trap

Many exam-takers confuse tools that can manually interact with SMTP (like `netcat` or `telnet`) with tools that are designed to send properly formatted email messages, leading them to select options that require manual protocol steps rather than automated mail injection.

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

sendmail

B is correct because the `sendmail` command can be used directly from the command line to inject a test email into the local MTA queue, bypassing a full MUA. It accepts a recipient address and message body via standard input, making it a reliable tool for testing mail delivery without a full mail client.

Answer analysis

Option-by-option breakdown

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

  • netcat

    Why it's wrong here

    Netcat can connect to SMTP ports but requires manual interaction.

  • sendmail

    Why this is correct

    sendmail can be used to send emails by piping input.

  • mail

    Why this is correct

    The mail command can send emails from the command line.

  • mutt

    Why it's wrong here

    Mutt is an interactive email client, not typically used for quick command-line tests.

  • telnet

    Why it's wrong here

    Telnet can be used to simulate SMTP but is not a dedicated email test tool.

About these practice questions

One of 507 original LPIC-2 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.