Question 255 of 513
Operation of Running SystemsmediumMultiple ChoiceObjective-mapped

LFCS Operation of Running Systems Practice Question

This LFCS practice question tests your understanding of operation of running systems. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

Exhibit

ss -tuln output:
Netid  State      Recv-Q Send-Q Local Address:Port   Peer Address:Port
tcp    LISTEN     0      128    0.0.0.0:22            0.0.0.0:*
tcp    LISTEN     0      128    127.0.0.1:25          0.0.0.0:*
tcp    LISTEN     0      128    *:80                  *:*
tcp    LISTEN     0      128    *:443                 *:*
udp    UNCONN     0      0      0.0.0.0:123           0.0.0.0:*

Refer to the exhibit. Based on the exhibit, which service is configured to accept connections only from the local machine?

Question 1mediummultiple choice
Full question →

Exhibit

ss -tuln output:
Netid  State      Recv-Q Send-Q Local Address:Port   Peer Address:Port
tcp    LISTEN     0      128    0.0.0.0:22            0.0.0.0:*
tcp    LISTEN     0      128    127.0.0.1:25          0.0.0.0:*
tcp    LISTEN     0      128    *:80                  *:*
tcp    LISTEN     0      128    *:443                 *:*
udp    UNCONN     0      0      0.0.0.0:123           0.0.0.0:*

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

SMTP

The exhibit shows that the SMTP service is bound to the loopback address 127.0.0.1 on port 25, which means it will only accept connections originating from the local machine. This is a common security practice to prevent external hosts from directly submitting mail to the local MTA.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

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

  • NTP

    Why it's wrong here

    NTP on UDP port 123 listens on all interfaces.

  • HTTP

    Why it's wrong here

    HTTP on port 80 listens on all interfaces.

  • SMTP

    Why this is correct

    SMTP (port 25) is bound to 127.0.0.1 only.

    Related concept

    Read the scenario before looking for a memorised answer.

  • HTTPS

    Why it's wrong here

    HTTPS on port 443 listens on all interfaces.

  • SSH

    Why it's wrong here

    SSH listens on 0.0.0.0:22 (all interfaces).

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates may assume any service can be restricted to localhost, but the exhibit specifically shows the SMTP service bound to 127.0.0.1, while other services like HTTP or SSH are not shown with that binding, making SMTP the only correct answer.

Detailed technical explanation

How to think about this question

Binding a service to 127.0.0.1 (the loopback interface) ensures that only processes on the same host can connect to it, as packets sent to 127.0.0.1 never leave the host. This is often used for services like Postfix or Sendmail when they are configured to accept mail only from local submission agents (e.g., via the `inet_interfaces = localhost` directive in Postfix). In contrast, binding to 0.0.0.0 would accept connections on all available network interfaces.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A small business has 20 workstations on the 192.168.1.0/24 network and one public IP from its ISP. The router uses PAT (NAT overload) so all 20 devices share one public address using different source ports. NAT questions test whether you understand the four address terms and which direction each translation applies.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related LFCS practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free LFCS practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this LFCS question test?

Operation of Running Systems — This question tests Operation of Running Systems — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: SMTP — The exhibit shows that the SMTP service is bound to the loopback address 127.0.0.1 on port 25, which means it will only accept connections originating from the local machine. This is a common security practice to prevent external hosts from directly submitting mail to the local MTA.

What should I do if I get this LFCS question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 25, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This LFCS practice question is part of Courseiva's free Linux Foundation 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 LFCS exam.