Networking - TCP/IP MCQs Part

1. Which of the following services use TCP?
DHCP
SMTP
HTTP
TFTP
FTP

A.
1 and 2
B.
2, 3 and 5
C.
1, 2 and 4
D.
1, 3 and 4

 Answer Option B

2. What layer in the TCP/IP stack is equivalent to the Transport layer of the OSI model?

A.
Application
B.
Host-to-Host
C.
Internet
D.
Network Access

 Answer Option B

3. Which of the following describe the DHCP Discover message?
It uses FF:FF:FF:FF:FF:FF as a layer 2 broadcast.
It uses UDP as the Transport layer protocol.
It uses TCP as the Transport layer protocol.
It does not use a layer 2 destination address.

A.
1 only
B.
1 and 2
C.
3 and 4
D.
4 only

 Answer Option B

4. You want to implement a mechanism that automates the IP configuration, including IP address, subnet mask, default gateway, and DNS information. Which protocol will you use to accomplish this?

A.
SMTP
B.
SNMP
C.
DHCP
D.
ARP

 Answer Option C

5. Which of the following is private IP address?

A.
12.0.0.1
B.
168.172.19.39
C.
172.15.14.36
D.
192.168.24.43

 Answer Option D

6. Which of the following allows a router to respond to an ARP request that is intended for a remote host?

A. Gateway DP
B. Reverse ARP (RARP)
C. Proxy ARP
D. Inverse ARP (IARP)

 Answer Option C

7. The DoD model (also called the TCP/IP stack) has four layers. Which layer of the DoD model is equivalent to the Network layer of the OSI model?

A. Application
B. Host-to-Host
C. Internet
D. Network Access

 Answer Option C

8. Which of the following services use UDP?
DHCP
SMTP
SNMP
FTP
HTTP
TFTP

A. 1, 3 and 6
B. 2 and 4
C. 1, 2 and 4
D. All of the above

 Answer Option A

9. Which class of IP address provides a maximum of only 254 host addresses per network ID?

A. Class A
B. Class B
C. Class C
D. Class D

 Answer Option C

10. If you use either Telnet or FTP, which is the highest layer you are using to transmit data?

A. Application
B. Presentation
C. Session
D. Transport

 Answer Option A

11. Which of the following is the decimal and hexadecimal equivalents of the binary number 10011101?

A. 155, 0x9B
B. 157, 0x9D
C. 159, 0x9F
D. 185, 0xB9

 Answer Option B

12. Which statements are true regarding ICMP packets?
They acknowledge receipt of a TCP segment.
They guarantee datagram delivery.
They can provide hosts with information about network problems.
They are encapsulated within IP datagrams.

A. 1 only
B. 2 and 3
C. 3 and 4
D. 2, 3 and 4

 Answer Option C

13. Which of the following are layers in the TCP/IP model?
Application
Session
Transport
Internet
Data Link
Physical

A. 1 and 2
B. 1, 3 and 4
C. 2, 3 and 5
D. 3, 4 and 5

 Answer Option B

14. Which layer 4 protocol is used for a Telnet connection?

A. IP
B. TCP
C. TCP/IP
D. UDP

 Answer Option B

15. Which statements are true regarding ICMP packets?
ICMP guarantees datagram delivery.
ICMP can provide hosts with information about network problems.
ICMP is encapsulated within IP datagrams.
ICMP is encapsulated within UDP datagrams.

A. 1 only
B. 2 and 3
C. 1 and 4
D. All of the above

 Answer Option B

16. Which of the following are TCP/IP protocols used at the Application layer of the OSI model?
IP
TCP
Telnet
FTP
TFTP

A. 1 and 3
B. 1, 3 and 5
C. 3, 4 and 5
D. All of the above

 Answer Option C

17. What protocol is used to find the hardware address of a local device?

A. RARP
B. ARP
C. IP
D. ICMP

 Answer Option B

18. Which of the following protocols uses both TCP and UDP?

A. FTP
B. SMTP
C. Telnet
D. DNS

 Answer Option D

19. What is the address range of a Class B network address in binary?

A. 01xxxxxx
B. 0xxxxxxx
C. 10xxxxxx
D. 110xxxxx

 Answer Option C

6. Which of the following allows a router to respond to an ARP request that is intended for a remote host?

A. Gateway DP
B. Reverse ARP (RARP)
C. Proxy ARP
D. Inverse ARP (IARP)

 Answer Option C

7. The DoD model (also called the TCP/IP stack) has four layers. Which layer of the DoD model is equivalent to the Network layer of the OSI model?

A. Application
B. Host-to-Host
C. Internet
D. Network Access

 Answer Option C

8. Which of the following services use UDP?
DHCP
SMTP
SNMP
FTP
HTTP
TFTP

A. 1, 3 and 6
B. 2 and 4
C. 1, 2 and 4
D. All of the above

 Answer Option A

9. Which class of IP address provides a maximum of only 254 host addresses per network ID?

A. Class A
B. Class B
C. Class C
D. Class D

 Answer Option C

10. If you use either Telnet or FTP, which is the highest layer you are using to transmit data?

A. Application
B. Presentation
C. Session
D. Transport

 Answer Option A

Comments

Most Popular

PhpStorm, return value is expected to be 'A', 'object' returned

Remove Unicode Zero Width Space PHP

Laravel file upload returns forbidden 403, file permission is 700 not 755