nerdexam
F5

101 · Question #662

When is the server also a client?

The correct answer is B. during an active FTP session. In active FTP, the server initiates the data connection back to the client, temporarily reversing its role to act as a client for that channel.

Section 1: OSI Model, Network, and Application Delivery Basics

Question

When is the server also a client?

Options

  • Aduring a passive FTP session
  • Bduring an active FTP session
  • CWhile receiving email
  • DWhile uploading files

How the community answered

(62 responses)
  • A
    5% (3)
  • B
    92% (57)
  • C
    2% (1)
  • D
    2% (1)

Why each option

In active FTP, the server initiates the data connection back to the client, temporarily reversing its role to act as a client for that channel.

Aduring a passive FTP session

In passive FTP the client initiates both the control and data connections, so the server never originates a connection and never acts as a client.

Bduring an active FTP sessionCorrect

In active FTP mode, the client opens a control connection to the server on port 21 and advertises a local port via the PORT command. The server then initiates the data connection FROM its port 20 TO the client's advertised port, making the server the originating party - the role of a client - for that data channel. This is the only standard protocol scenario where a server initiates a connection back to the client.

CWhile receiving email

When receiving email via SMTP, the mail server passively accepts inbound connections from sending agents and does not initiate outbound connections for that transaction.

DWhile uploading files

During a file upload the client establishes the connection to the server; the server remains the passive accepting party throughout.

Concept tested: Active FTP data connection initiation and role reversal

Source: https://www.rfc-editor.org/rfc/rfc959

Topics

#active FTP#FTP data connection#client-server roles#FTP protocol

Community Discussion

No community discussion yet for this question.

Full 101 Practice