wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Câu hỏi về giao thức mạng

Total questions: 62

Worksheet time: 34mins

Name
Class
Date
1.

What action is performed by a client when establishing communication with a server using UDP at the transport layer?

a)

The client sets the window size for the session.

b)

The client sends an ISN to the server to initiate the three-way handshake process.

c)

The client randomly selects a source port number.

d)

The client sends a synchronization segment to start the session.

2.

Which feature of the transport layer is used to ensure session establishment?

a)

UDP ACK flag

b)

TCP three-way handshake process

c)

UDP sequence number

d)

TCP port number

3.

What is the complete range of TCP and UDP ports?

a)

0 to 255

b)

0 to 1023

c)

256 - 1023

d)

1024 - 49151

4.

What is a socket?

a)

A combination of the source IP address and the destination IP address and the source and destination Ethernet addresses

b)

A combination of the source IP address and port number or the destination IP address and port number

c)

A combination of sequence numbers and source and destination acknowledgment numbers

d)

A combination of sequence numbers and source and destination port numbers

5.

A PC is downloading a large file from a server. The TCP window size is 1000 bytes. The server is sending the file in segments of 100 bytes. How many segments will the server send before requesting an acknowledgment from the PC?

a)

1 segment

b)

10 segments

c)

100 segments

d)

1000 segments

6.

Which factor determines the size of the TCP window?

a)

Amount of data to be transmitted

b)

Number of services included in the TCP segment

c)

Amount of data that the destination can process at one time

d)

Amount of data that the source can send at one time

7.

What does a customer do when they have UDP datagrams to send?

a)

It just sends the datagrams.

b)

It queries the server to see if it is ready to receive data.

c)

It sends a simple three-way handshake process to the server.

d)

It sends a segment to the server with the SYN flag set to synchronize the conversation.

8.

Which fields are used in the UDP header? (Choose three.)

a)

Window size

b)

Checksum

c)

Source port

d)

Length

e)

Acknowledgment number

9.

What is the role of the transport layer in data communication over a network? (Select two.)

a)

Identify the appropriate application for each communication stream

b)

Monitor personal communication between applications on source and destination servers

c)

Provide frame delimitation to identify the bits that make up a frame

d)

Perform frame redundancy checks to detect errors

e)

Provide an interface between applications and the underlying network infrastructure through which messages are transmitted

10.

Which information is used by TCP to reassemble and order the received segments?

a)

Port number

b)

Sequence number

c)

Acknowledgment number

d)

Fragment number

11.

What important information is added to the TCP transport layer header to ensure communication and connection with a remote network device?

a)

Time and synchronization

b)

Destination and source port numbers

c)

Destination and source physical addresses

d)

Destination and source logical network addresses

12.

What characteristics are related to UDP sessions? (Select two.)

a)

Destination devices receive traffic with minimal delay.

b)

Data segments being transmitted are monitored.

c)

Destination devices reassemble messages and forward them to an application.

d)

Received data is not acknowledged.

e)

Unacknowledged data packets will be retransmitted.

13.

A client application needs to terminate a TCP communication session with a server. Arrange the steps in the termination process in the order they will occur.

4 lines
14.

Which flag in the TCP header is used to acknowledge a received FIN to terminate the connection between two network devices?

a)

FIN

b)

ACK

c)

SYN

d)

RST

15.

Which protocol or service uses UDP for communication from client to server and TCP for communication between servers?

a)

HTTP

b)

FTP

c)

DNS

d)

SMTP

16.

What is a characteristic of UDP?

a)

UDP datagrams follow the same path and arrive in the correct order at the destination.

b)

Applications using UDP are always considered unreliable.

c)

UDP reassembles received datagrams in the order they were received.

d)

UDP only transmits data to the network when the destination is ready to receive data.

17.

What type of port must be requested from IANA to be used with a specific application?

a)

Registered port

b)

Private port

c)

Dynamic port

d)

Source port

18.

Which application protocols use TCP? (Choose three.)

a)

SMTP

b)

FTP

c)

TFTP

d)

HTTP

e)

SNMP

19.

Which statements are characteristic of UDP? (Choose three.)

a)

UDP relies on application layer protocols to detect errors.

b)

UDP provides basic connectionless transport functions.

c)

UDP is a low-cost protocol that does not provide mechanisms for sequencing or flow control.

d)

UDP provides fast data transmission, connected at layer 3.

e)

UDP relies on IP to detect and recover from errors.

20.

Which fields are included in the TCP header but not in the UDP header? (Choose two.)

a)

window

b)

checksum

c)

source port

d)

destination port

e)

sequence number

21.

Which field in the TCP header indicates the state of the three-way handshake process?

a)

window

b)

reserved

c)

checksum

d)

control bits

22.

Why does HTTP use TCP as its transport layer protocol?

a)

To ensure the fastest possible download speed

b)

Because HTTP is the best protocol

23.

Why does HTTP use TCP as its transport layer protocol?

a)

to ensure the fastest possible download speed

b)

because HTTP is the best protocol

c)

because transmission errors can be easily tolerated

d)

because HTTP requires reliable delivery

24.

Which two types of applications are most suitable for UDP? (Select two.)

a)

applications that require flow control

b)

applications that require reliable delivery

c)

applications that handle reliability themselves

d)

applications that need to reorder segments

e)

applications that can tolerate some data loss but require little or no latency

25.

In which two situations will UDP be better than TCP as the preferred transport protocol? (Choose two.)

a)

when applications need to ensure that a packet arrives intact, in order, and without duplication

b)

when a faster delivery mechanism is needed

c)

when delivery costs are not an issue

d)

when applications do not need to ensure data delivery

e)

when destination ports are dynamic

26.

What are the responsibilities of the transport layer? (Select three.)

a)

meet the reliability requirements of applications, if any

b)

aggregate multiple communication streams from multiple users or applications on the same network

c)

determine which applications and services on the client and server should handle the transmitted data

d)

direct packets to the destination network

e)

format data into a compatible form to be received by destination devices

27.

Which three statements describe a DHCP Discover message? (Select three.)

a)

The source MAC address is 48 ones (FF-FF-FF-FF-FF-FF).

b)

The message comes from an IP address allocation server.

c)

All servers receive the message, but only one DHCP server responds.

d)

The message comes from a client seeking an IP address.

e)

The destination IP address is 255.255.255.255.

28.

Which protocols can be used by devices during the email sending process? (Select two.)

a)

DNS

b)

POP

c)

SMTP

d)

IMAP

e)

HTTP

29.

What is true about the Server Message Block protocol?

a)

Different types of SMB messages have different formats.

b)

Clients establish a long-term connection with servers.

c)

SMB messages cannot authenticate a session.

d)

SMB uses the FTP protocol for communication.

30.

What is the function of the HTTP GET message?

a)

to request an HTML page from a web server

b)

to send error information from a web server to a web client

c)

to upload content to a web server from a web client

d)

to retrieve customer emails from an email server using TCP port 110

31.

Which layer in the OSI model provides the interface between applications used for communication and the underlying network infrastructure through which messages are transmitted?

a)

application

b)

presentation

c)

session

d)

transport

32.

Which network model is being used when an author uploads a chapter document to a file server of a book publisher?

a)

peer-to-peer

b)

master-slave

c)

client/server

d)

point-to-point

33.

What do the client/server and peer-to-peer network models have in common?

a)

Both models have dedicated servers.

b)

Both models support devices in the roles of server and client.

c)

Both models require the use of TCP/IP-based protocols.

d)

Both models can only be used in wired network environments.

34.

In which network model are eDonkey, eMule, BitTorrent, Bitcoin, and LionShare used?

a)

peer-to-peer

b)

client-based

c)

master-slave

d)

point-to-point

35.

What popular protocol is used with peer-to-peer applications like WireShare, Bearshare, and Shareaza?

a)

Ethernet

b)

Gnutella

c)

POP

d)

SMTP

36.

What is a main feature of the peer-to-peer network model?

a)

wired network

b)

social network without Internet

c)

network using print server

d)

resource sharing without a dedicated server

37.

Which functions of the three layers of the OSI model are performed by the application layer of the TCP/IP model? (Choose three.)

a)

session

b)

presentation

c)

application

d)

physical

e)

network

38.

An example of network communication using the client-server model is what?

a)

A user uses eMule to download a file shared by a friend after the file's location is determined.

b)

A workstation initiates an ARP to find the MAC address of a receiving server.

c)

A user prints a document using a printer connected to a colleague's workstation.

d)

A workstation initiates a DNS request when the user types www.cisco.com into the browser's address bar.

39.

Which layer in the TCP/IP model is used to format, compress, and encrypt data?

a)

local area network

b)

session

c)

presentation

d)

application

e)

network access

40.

What is an advantage of SMB over FTP?

a)

Only with SMB can data transmission occur in both directions.

b)

Only SMB establishes two simultaneous connections with the client, making data transmission faster.

c)

SMB is more reliable

41.

MB via FTP?

a)

With SMB, data transfer can occur in both directions.

b)

Only SMB establishes two simultaneous connections with the client, making data transfer faster.

c)

SMB is more reliable than FTP because SMB uses TCP and FTP uses UDP.

d)

SMB clients can establish a long-lasting connection with the server.

42.

A manufacturing company registers a number of hosting services from its ISP. The necessary services include global web, file transfer, and email. Which protocols represent these three main applications? (Select three.)

a)

SNMP

b)

DNS

c)

SMTP

d)

HTTP

e)

FTP

43.

Which application protocol uses message types such as GET, PUT, and POST?

a)

DNS

b)

DHCP

c)

SMTP

d)

HTTP

e)

POP3

44.

What information is contained in the DNS MX record?

a)

FQDN of the alias used to identify a service

b)

IP address for an FQDN entry

c)

Domain mapped to mail exchange servers

d)

IP address of an authoritative name server

45.

Which protocols operate at the application layer of the TCP/IP model? (Select three.)

a)

TCP

b)

ARP

c)

DHCP

d)

POP3

e)

FTP

46.

Which protocol is used by a client to communicate securely with a web server?

a)

SMTP

b)

SMB

c)

IMAP

d)

HTTPS

47.

Which applications or services allow servers to act as both clients and servers at the same time?

a)

client/server applications

b)

email applications

c)

P2P applications

d)

authentication services

48.

What are the characteristics of a peer-to-peer network? (Select two.)

a)

scalability

b)

unidirectional data flow

c)

decentralized resources

d)

centralized user accounts

e)

sharing resources without the need for dedicated servers

49.

Which scenario describes a function provided by the transport layer?

a)

A student is using a VoIP phone in class to call home. The unique identifier recorded on the phone is the transport layer address used to communicate with another network device on the same network.

b)

A student is watching a short movie on the web with sound. The movie and sound are encoded in the transport layer header.

c)

A student has two web browser windows open to access two websites. The transport layer ensures that the correct website is sent to the correct browser window.

d)

An employee is accessing a web server located on the company network. The transport layer formats the display so that the website appears correctly regardless of the device used to view the website.

50.

Which layers of the OSI model provide network services similar to those provided by the application layer of the TCP/IP model? (Select three.)

a)

session layer

b)

application layer

c)

presentation layer

d)

physical layer

e)

transport layer

51.

Một PC đang giao tiếp với một máy chủ web có kích thước cửa sổ TCP là 6.000 byte khi gửi dữ liệu và kích thước gói là 1.500 byte. Byte thông tin nào mà máy chủ web sẽ xác nhận sau khi nó đã nhận hai gói dữ liệu từ PC?

a)

3001

b)

6001

c)

4500

d)

6000

52.

Một PC đang giao tiếp với một máy chủ web có kích thước cửa sổ TCP là 6.000 byte khi gửi dữ liệu và kích thước gói là 1.500 byte. Byte thông tin nào mà máy chủ web sẽ xác nhận sau khi nó đã nhận ba gói dữ liệu từ PC?

a)

4501

b)

6001

c)

6000

d)

4500

53.

Một PC đang giao tiếp với một máy chủ web có kích thước cửa sổ TCP là 6.000 byte khi gửi dữ liệu và kích thước gói là 1.500 byte. Byte thông tin nào mà máy chủ web sẽ xác nhận sau khi nó đã nhận bốn gói dữ liệu từ PC?

a)

6001

b)

3001

c)

1501

d)

1500

54.

Một máy khách tạo một gói để gửi đến một máy chủ. Máy khách đang yêu cầu dịch vụ TFTP. Số nào sẽ được sử dụng làm số cổng đích trong gói gửi đi?

a)

69

b)

67

c)

53

d)

80

55.

Một máy khách tạo một gói để gửi đến một máy chủ. Máy khách đang yêu cầu dịch vụ FTP. Số nào sẽ được sử dụng làm số cổng đích trong gói gửi đi?

a)

21

b)

69

c)

67

d)

80

56.

Một máy khách tạo một gói để gửi đến một máy chủ. Máy khách đang yêu cầu dịch vụ SSH. Số nào sẽ được sử dụng làm số cổng đích trong gói gửi đi?

a)

22

b)

69

c)

67

d)

80

57.

Một máy khách tạo một gói để gửi đến một máy chủ. Máy khách đang yêu cầu dịch vụ HTTP. Số nào sẽ được sử dụng làm số cổng đích trong gói gửi đi?

a)

80

b)

67

c)

53

d)

69

58.

Một máy khách tạo một gói để gửi đến một máy chủ. Máy khách đang yêu cầu dịch vụ POP3. Số nào sẽ được sử dụng làm số cổng đích trong gói gửi đi?

a)

443

b)

69

c)

53

d)

67

e)

110

59.

Một máy khách tạo một gói để gửi đến một máy chủ. Máy khách đang yêu cầu dịch vụ telnet. Số nào sẽ được sử dụng làm số cổng đích trong gói gửi đi?

a)

23

b)

443

c)

161

d)

110

60.

Một máy khách tạo một gói để gửi đến một máy chủ. Máy khách đang yêu cầu dịch vụ SNMP. Số nào sẽ được sử dụng làm số cổng đích trong gói gửi đi?

a)

161

b)

443

c)

110

d)

80

61.

Một máy khách tạo một gói để gửi đến một máy chủ. Máy khách đang yêu cầu dịch vụ SMTP. Số nào sẽ được sử dụng làm số cổng đích trong gói gửi đi?

a)

25

b)

443

c)

161

d)

110

62.

Một máy khách tạo một gói để gửi đến một máy chủ. Máy khách đang yêu cầu dịch vụ HTTPS. Số nào sẽ được sử dụng làm số cổng đích trong gói gửi đi?

a)

443

b)

161

c)

110

d)

80