CS FundamentalsHardGATE CS · Product company CS fundamentals
How many of the following statements about FTP are correct? 1. FTP sends control information out-of-band on a separate TCP connection (server port 21). 2. In active mode the server opens the data connection from its port 20 to a port the client announced. 3. The control connection is closed after each file transfer. 4. In passive mode the client opens the data connection to a port chosen by the server, which suits clients behind NAT.
- A. 3
- B. 4
- C. 2
- D. 1
Correct answer: A. 3
1, 2 and 4 are true. Statement 3 is reversed: the control connection is persistent for the whole session, while a new data connection is opened for each file or directory listing.
More Computer Networks questions
- A router holds 50 packets on average (queued plus in service), and packets arrive at an average of 10,000 per second. What is the average…
- Packets of 1500 bytes arrive at a router output link of 10 Mbps as a Poisson stream of 800 packets/s; transmission times are exponential…
- A 600 kbps link is shared by 20 users who each need 100 kbps while active and are active independently 20% of the time. With packet…
- An IEEE 802.1Q tag adds how many bytes to an Ethernet frame, and how many VLAN IDs are usable for ordinary VLANs?
- Four switches run classic Spanning Tree. Their bridge IDs (priority, MAC) are S1 (32768, 00:00:0C:11:11:11), S2 (32768…
- With a /20 mask, which pair of addresses lies in the SAME subnet?