CCNA 1 v7 Modules 14 – 15: Network Application Communications Exam Answers Flashcards
Which action is performed by a client when establishing communication with a server via the use of UDP at the transport layer?
The client sets the window size for the session.
The client sends an ISN to the server to start the 3-way handshake.
The client randomly selects a source port number.
The client sends a synchronization segment to begin the session.
The client randomly selects a source port number.
Which transport layer feature is used to guarantee session establishment?
UDP ACK flag
TCP 3-way handshake
UDP sequence number
TCP port number
TCP 3-way handshake
What is the complete range of TCP and UDP well-known ports?
0 to 255
0 to 1023
256 – 1023
1024 – 49151
0 to 1023
What is a socket?
the combination of the source and destination IP address and source and destination Ethernet address
the combination of a source IP address and port number or a destination IP address and port number
the combination of the source and destination sequence and acknowledgment numbers
the combination of the source and destination sequence numbers and port numbers
the combination of a source IP address and port number or a destination IP address and port number
A PC is downloading a large file from a server. The TCP window is 1000 bytes. The server is sending the file using 100-byte segments. How many segments will the server send before it requires an acknowledgment from the PC?
1 segment
10 segments
100 segments
1000 segments
10 segments
Which factor determines TCP window size?
the amount of data to be transmitted
the number of services included in the TCP segment
the amount of data the destination can process at one time
the amount of data the source is capable of sending at one time
the amount of data the destination can process at one time
What does a client do when it has UDP datagrams to send?
It just sends the datagrams.
It queries the server to see if it is ready to receive data.
It sends a simplified three-way handshake to the server.
It sends to the server a segment with the SYN flag set to synchronize the conversation.
It just sends the datagrams.
Which three fields are used in a UDP segment header? (Choose three.)
Window Size
Length
Source Port
Acknowledgment Number
Checksum
Sequence Number
Length
Source Port
Checksum
What are two roles of the transport layer in data communication on a network? (Choose two.)
identifying the proper application for each communication stream
tracking the individual communication between applications on the source and destination hosts
providing frame delimiting to identify bits making up a frame
performing a cyclic redundancy check on the frame for errors
providing the interface between applications and the underlying network over which messages are transmitted
identifying the proper application for each communication stream
tracking the individual communication between applications on the source and destination hosts
What information is used by TCP to reassemble and reorder received segments?
port numbers
sequence numbers
acknowledgment numbers
fragment numbers
sequence numbers
What important information is added to the TCP/IP transport layer header to ensure communication and connectivity with a remote network device?
timing and synchronization
destination and source port numbers
destination and source physical addresses
destination and source logical network addresses
destination and source port numbers
Which two characteristics are associated with UDP sessions? (Choose two.)
Destination devices receive traffic with minimal delay.
Transmitted data segments are tracked.
Destination devices reassemble messages and pass them to an application.
Received data is unacknowledged.
Unacknowledged data packets are retransmitted.
Destination devices receive traffic with minimal delay.
Received data is unacknowledged.
Which flag in the TCP header is used in response to a received FIN in order to terminate connectivity between two network devices?
FIN
ACK
SYN
RST
ACK
Which protocol or service uses UDP for a client-to-server communication and TCP for server-to-server communication?
HTTP
FTP
DNS
SMTP
DNS
What is a characteristic of UDP?
UDP datagrams take the same path and arrive in the correct order at the destination.
Applications that use UDP are always considered unreliable.
UDP reassembles the received datagrams in the order they were received.
UDP only passes data to the network when the destination is ready to receive the data.
UDP reassembles the received datagrams in the order they were received.
What kind of port must be requested from IANA in order to be used with a specific application?
registered port
private port
dynamic port
source port
registered port
Which three application layer protocols use TCP? (Choose three.)
SMTP
FTP
SNMP
HTTP
TFTP
DHCP
SMTP
FTP
HTTP
Which three statements characterize UDP? (Choose three.)
UDP provides basic connectionless transport layer functions.
UDP provides connection-oriented, fast transport of data at Layer 3.
UDP relies on application layer protocols for error detection.
UDP is a low overhead protocol that does not provide sequencing or flow control mechanisms.
UDP relies on IP for error detection and recovery.
UDP provides sophisticated flow control mechanisms.
UDP provides basic connectionless transport layer functions.
UDP relies on application layer protocols for error detection.
UDP is a low overhead protocol that does not provide sequencing or flow control mechanisms.
Which two fields are included in the TCP header but not in the UDP header? (Choose two.)
window
checksum
source port
destination port
sequence number
window
sequence number
Which field in the TCP header indicates the status of the three-way handshake process?
window
reserved
checksum
control bits
control bits
Why does HTTP use TCP as the transport layer protocol?
to ensure the fastest possible download speed
because HTTP is a best-effort protocol
because transmission errors can be tolerated easily
because HTTP requires reliable delivery
because HTTP requires reliable delivery
Which two types of applications are best suited for UDP? (Choose two.)
applications that need data flow control
applications that require reliable delivery
applications that handle reliability themselves
applications that need the reordering of segments
applications that can tolerate some data loss, but require little or no delay
applications that handle reliability themselves
applications that can tolerate some data loss, but require little or no delay
How are port numbers used in the TCP/IP encapsulation process?
Source port numbers and destination port numbers are not necessary when UDP is the transport layer protocol being used for the communication.
Source port and destination port numbers are randomly generated.
If multiple conversations occur that are using the same service, the source port number is used to track the separate conversations.
Destination port numbers are assigned automatically and cannot be changed.
If multiple conversations occur that are using the same service, the source port number is used to track the separate conversations.
In what two situations would UDP be better than TCP as the preferred transport protocol? (Choose two.)
when applications need to guarantee that a packet arrives intact, in sequence, and unduplicated
when a faster delivery mechanism is needed
when delivery overhead is not an issue
when applications do not need to guarantee delivery of the data
when destination port numbers are dynamic
when a faster delivery mechanism is needed
when applications do not need to guarantee delivery of the data