nerdexam
IBM

000-221 · Question #161

When attempting to connect to a remote system, a long delay is experienced before the login prompt is displayed. Which of the following is the most likely cause of this issue?

The correct answer is B. The /etc/resolv.conf file on the remote system has an invalid entry. A long delay before a remote login prompt is most commonly caused by DNS lookup timeouts, which occur when /etc/resolv.conf on the remote system points to an unreachable or invalid DNS server.

Troubleshooting and Problem Determination

Question

When attempting to connect to a remote system, a long delay is experienced before the login prompt is displayed. Which of the following is the most likely cause of this issue?

Options

  • AThe /etc/resolv.conf file on the remote system is missing.
  • BThe /etc/resolv.conf file on the remote system has an invalid entry.
  • CThe /etc/hosts file on the remote system does not have an entry for itself.
  • DThe /etc/hosts file on the remote system has an invalid hostname listed for itself.

How the community answered

(31 responses)
  • A
    10% (3)
  • B
    71% (22)
  • C
    3% (1)
  • D
    16% (5)

Why each option

A long delay before a remote login prompt is most commonly caused by DNS lookup timeouts, which occur when /etc/resolv.conf on the remote system points to an unreachable or invalid DNS server.

AThe /etc/resolv.conf file on the remote system is missing.

A missing /etc/resolv.conf causes the system to skip DNS entirely and fall back immediately to /etc/hosts, resulting in a fast failure rather than a prolonged timeout delay.

BThe /etc/resolv.conf file on the remote system has an invalid entry.Correct

When an inbound remote connection is received, the remote system performs a reverse DNS lookup on the client IP address for authentication and logging purposes. An invalid entry in /etc/resolv.conf - such as an unreachable DNS server IP - causes the resolver to time out after multiple retry attempts before the login prompt is presented, producing the observed delay.

CThe /etc/hosts file on the remote system does not have an entry for itself.

The remote system lacking an entry for itself in /etc/hosts affects local hostname resolution but does not introduce a delay during inbound connection authentication.

DThe /etc/hosts file on the remote system has an invalid hostname listed for itself.

An invalid hostname for the server itself in /etc/hosts may cause local resolution problems but does not produce the characteristic multi-second timeout caused by failed reverse DNS lookups.

Concept tested: DNS reverse lookup timeout causing remote login delay

Source: https://www.ibm.com/docs/en/aix/7.3?topic=r-resolvconf-file

Topics

#DNS resolution#resolv.conf#remote login delay#name resolution

Community Discussion

No community discussion yet for this question.

Full 000-221 Practice