nerdexam
CompTIA

SK0-004 · Question #891

A syslog server is configured to use UDP port 514. The administrator uses Telnet to check port 514 against the syslog server. However, the syslog server is not responding. Which of the following is…

The correct answer is B. Telnet does not work on UDP. Telnet is a TCP-based protocol and cannot connect to UDP ports, making it an invalid tool for testing UDP services like syslog.

Troubleshooting

Question

A syslog server is configured to use UDP port 514. The administrator uses Telnet to check port 514 against the syslog server. However, the syslog server is not responding. Which of the following is the MOST likely reason why the syslog server is not responding?

Options

  • AThe syslog server is down.
  • BTelnet does not work on UDP.
  • CThe firewall is blocking UDP port 514
  • DThe log is full on the syslog server.

How the community answered

(25 responses)
  • A
    4% (1)
  • B
    80% (20)
  • C
    12% (3)
  • D
    4% (1)

Why each option

Telnet is a TCP-based protocol and cannot connect to UDP ports, making it an invalid tool for testing UDP services like syslog.

AThe syslog server is down.

A downed syslog server does not explain the test failure, because Telnet cannot test UDP ports at all - the result would be the same even if the server were running.

BTelnet does not work on UDP.Correct

Telnet operates exclusively over TCP and relies on TCP's three-way handshake to establish a connection. Since syslog uses UDP port 514, which is connectionless and does not support TCP handshakes, Telnet will always fail to connect regardless of whether the syslog service is actually running and healthy.

CThe firewall is blocking UDP port 514

While a firewall blocking UDP 514 is possible, the more fundamental and likely reason for failure is that Telnet uses TCP and is inherently incapable of testing UDP ports.

DThe log is full on the syslog server.

A full log might cause syslog to stop writing entries but would not cause the server to stop listening on the network port, and it does not explain why the Telnet test fails.

Concept tested: Telnet TCP-only limitation vs UDP services

Source: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/telnet

Topics

#syslog#UDP#Telnet#protocol troubleshooting

Community Discussion

No community discussion yet for this question.

Full SK0-004 Practice