nerdexam
CompTIA

SK0-004 · Question #749

A company uses a physical server for both email and DNS services. The company recently moved to a cloud-based email platform and no longer needs email to run on this server. After removing the email…

The correct answer is D. Disable port 143. After removing the email application, port 143 (IMAP) should be disabled because it was used exclusively for email retrieval and is no longer needed.

Security and disaster recovery

Question

A company uses a physical server for both email and DNS services. The company recently moved to a cloud-based email platform and no longer needs email to run on this server. After removing the email application from the server, which of the following should be done NEXT to further harden the system?

Options

  • ADisable port 22
  • BDisable port 53
  • CDisable port 67
  • DDisable port 143

How the community answered

(52 responses)
  • A
    13% (7)
  • B
    4% (2)
  • C
    6% (3)
  • D
    77% (40)

Why each option

After removing the email application, port 143 (IMAP) should be disabled because it was used exclusively for email retrieval and is no longer needed.

ADisable port 22

Port 22 is SSH, still required for secure remote administrative access to the server, so disabling it would cut off legitimate management.

BDisable port 53

Port 53 is DNS, and the server still hosts DNS services, so disabling it would break name resolution for the network.

CDisable port 67

Port 67 is DHCP, which was never part of the email service that was removed and is unrelated to this hardening step.

DDisable port 143Correct

Port 143 is the standard IMAP port, used by email clients to retrieve messages from a mail server. Since the email application has been removed, this port serves no remaining function and leaving it open unnecessarily expands the server's attack surface - disabling unused ports is a core system hardening principle.

Concept tested: Hardening servers by disabling unused service ports

Source: https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml

Topics

#port hardening#IMAP port 143#attack surface reduction#system hardening

Community Discussion

No community discussion yet for this question.

Full SK0-004 Practice