Chapter 7 - Introduction to TCP/IP Flashcards

1
Q
You have just set up a network that will use the TCP/IP protocol, and you want client computers to automatically obtain IP configuration information. Which type of server do you need for this?
A. DNS
B. DHCP
C. Domain controller
D. IP configuration server
A

B. A Dynamic Host Configuration Protocol (DHCP) server provides IP configuration information to hosts when they join the network. A Domain Name System (DNS) server resolves hostnames to IP addresses. A domain controller may provide login authentication, but it does not provide IP configuration information. There is no IP configuration server.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
You have a computer with the IP address 171.226.18.1. What class is this address?
A. Class A
B. Class B
C. Class C
D. Not a valid IP address
A

B. Class A addresses have a first octet between 1 and 126, Class B between 128 and 191, and class C between 192 and 223. With a first octet of 171, this is a Class B address.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
Which TCP/IP protocol uses port 80?
A. HTTP
B. HTTPS
C. Telnet
D. POP3
A

A. HTTP uses port 80. HTTPS uses 443, Telnet 23, and POP3 110.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the maximum number of IPv6 addresses that can be assigned to one IPv6 interface?
A. One (unicast)
B. Two (unicast and anycast)
C. Three (unicast, anycast, and multicast)
D. None of the above

A

D. An IPv6 interface is not limited in the number of addresses it can be assigned, although there could be limitations based upon practicality.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which of the following are valid examples of IPv6 addresses? (Choose two.)
A. 2001:0db8:3c4d:0012:0000:0000:1234:56ab
B. ::ffff:c0a8:173
C. 2001:db8:3c4d:12::1234:56ab
D. 2001::1ab4::5468

A

A, B, C. An IPv6 address contains 128 bits, written in eight 16-bit fields represented by four hexadecimal digits. Option A contains all eight fields expressed in full. Option B is an IPv4 address expressed in IPv6 form. Option C is the same address as option A but written in accepted shorthand. Option D is not valid because the double colons (::) can be used only once within an address.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
Which of the following IP addresses would not be valid for a DNS server on the Internet?
A. 10.25.11.33
B. 18.33.66.254
C. 155.118.63.11
D. 192.186.12.2
A

A. DNS servers resolve hostnames to IP addresses. On the Internet, a DNS server needs to have a public IP address. The address 10.25.11.33 is in a private address space, so that address would not be valid for a DNS server on the Internet.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
The workstations on your network are configured to use a DHCP server. One of the workstations can’t communicate with other computers. Its IP address is 169.254.1.18.
What could be the problem?
A. The subnet mask is wrong.
B. It has a private IP address.
C. The default gateway is wrong.
D. It can’t reach the DHCP server.
A

D. The address assigned to the computer is an APIPA address. Microsoft client computers (and others) will configure themselves with an address in this range if they are unable to reach a DHCP server.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q
Which of the following protocols is responsible for sending email?
A. IMAP4
B. POP3
C. SMTP
D. SNMP
A

C. Simple Mail Transfer Protocol (SMTP) is responsible for sending email. IMAP4 and POP3 both receive email. SNMP is a network management protocol.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
What port does the RDP protocol work on?
A. 53
B. 143
C. 389
D. 3389
A

D. Remote Desktop Protocol (RDP) works on port 3389. DNS works on port 53, IMAP4 works on 143, and LDAP works on 389.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q
Which two TCP/IP protocols work at the Host-to-Host layer of the DOD model?
(Choose two.)
A. IP
B. ARP
C. TCP
D. UDP
A

C, D. The two protocols that work at the Host-to-Host layer are TCP and UDP. IP and ARP both work at the Internet layer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q
What are two advantages that TCP has over UDP? (Choose two.)
A. Acknowledged delivery
B. Faster delivery
C. Lower overhead
D. Virtual circuits
A

A, D. TCP is a connection-oriented protocol that establishes virtual circuits and acknowledges delivery of packets. Because of these features, it has higher overhead than UDP and is a little slower.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q
Your friend is concerned about the security of making an online purchase. What should you tell him to look for in the address bar of the web browser?
A. HTTP
B. HTTPS
C. SSH
D. SFTP
A

B. The HTTP protocol is inherently unsecure, but the HTTPS protocol is secure. (SSH and SFTP are secure as well, but they are not protocols used to connect to websites.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q
You are manually configuring a TCP/IP host. Another administrator gives you the router’s IP address. What is the TCP/IP term for this?
A. Default gateway
B. Subnet mask
C. DNS server
D. DHCP server
A

A. The router is your doorway out into other networks and is known in TCP/IP terms as the default gateway. Without this configuration option, you will not be able to get to external networks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q
Your network is running IPv4. Which of the configuration options are mandatory for your host to communicate on the network? (Choose two.)
A. IP address
B. Subnet mask
C. Default gateway
D. DNS server address
A

A, B. The only mandatory IPv4 configuration items are an IP address and a subnet mask. If you are not connecting to another network, you do not need a default gateway. DNS servers resolve hostnames to IP addresses but they are not mandatory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q
Which of the following protocols is used for secure delivery of email?
A. SMTP
B. SNMP
C. POP3
D. IMAP4
A

D. IMAP4 and POP3 are the two protocols that are used for email delivery. Of the two, only IMAP4 provides security features. SMTP sends email. SNMP is a network management protocol.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q
Which protocol was developed to be a secure alternative to Telnet?
A. SMB
B. SSH
C. SNMP
D. SFTP
A

B. The Secure Shell (SSH) was developed as a secure alternative to Telnet. SMB is Server Message Block, which is a network file system. SNMP is for network management. SFTP is designed for secure file downloads. It’s a secure alternative to FTP, not a replacement for Telnet.

17
Q
Which of the following protocols uses TCP port 23?
A. Telnet
B. SSH
C. FTP
D. DNS
A

A. Telnet uses port 23. SSH uses port 22. FTP uses ports 21 and 20. DNS uses port 53.

18
Q
Which of the following is an IPv6 broadcast address?
A. ::1
B. FE80::
C. FF00::
D. ::FFFF
E. None of the above
A

E. IPv6 does not have broadcasts. IPv6 does have multicasts, which are a bit like targeted broadcasts. FF00:: is the first part of a multicast address.

19
Q

You are setting up a small network that will not connect to the Internet. You want computers
to be able to locate each other by using hostnames. What service will do this?
A. DNS
B. DHCP
C. FTP
D. APIPA

A

A. DNS is typically known as a name resolver on the Internet, but it will work on private networks as well. DNS resolves hostnames to IP addresses. DHCP automatically configures clients with IP address information. FTP is for file downloads. APIPA is a process used to automatically assign clients a private IP address when they can’t reach the DHCP server.

20
Q
Which of the following protocols is responsible for resolving IP addresses to hardware addresses?
A. DNS
B. DHCP
C. ARP
D. RARP
A

C. The Address Resolution Protocol (ARP) resolves IP addresses to hardware (MAC) addresses. RARP does the reverse—it resolves MAC addresses to IP addresses. DNS resolves hostnames to IP addresses. DHCP automatically configures TCP/IP clients.