Chapter 6 - Introduction to TCP/IP Flashcards
You have just set up a network that will use the TCP/IP protocol, and you want client computers to obtain IP configuration information automatically. Which type of server do you need for this?
A. DNS
B. DHCP
C. NAT
D. IP configuration server
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. Network Address Translation (NAT) translates private IP addresses into public IP addresses. There is no IP configuration server (other than a DHCP server).
Which of the following protocols was designed to access information stored in an information directory, such as employee phone books?
A. FTP
B. LDAP
C. RDP
D. CIFS
B. Lightweight Directory Access Protocol (LDAP) is designed to access information stored in an information directory typically known as an LDAP directory or LDAP database. This typically includes employee data and network configuration data. FTP is designed to transfer files. RDP is a remote desktop protocol, and CIFS is used to share files and printers.
Which TCP/IP protocol uses port 80?
A. HTTP
B. HTTPS
C. Telenet
D. POP3
A. HTTP uses port 80. HTTPS uses port 443, Telenet uses port 23, and POP3 uses port 110.
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
D. An IPv6 interface is not limited in the number of addresses that can be assigned, although there could be limitations based on practicality.
Which of the following are valid examples of IPv6 addresses (Choose all that apply.)
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, 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.
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. 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.
The workstation on your network are configured to use a DHCP server. One of the workstations can’t communicate with other computers. It’s 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
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.
Which of the following protocols is responsible for sending emails?
A. IMAP4
B. POP3
C. SMTP
D. SNMP
C. Simple Mail Transfer Protocol (SMTP) is responsible for sending emails. IMAP4 and POP3 both receive email. SNMP is a network management protocol.
What port does the RDP protocol work on?
A. 53
B. 143
C. 389
D. 3389
D. Remote Desktop Protocol (RDP) works on port 3389. DNS works on port 53, IMAP4 works on port 143, and LDAP works on port 389.
An email administrator wants to help protect against their server being spoofed to send spam. They were told that they can do this with a TXT record in their DNS server. If they want to authenticate emails using an encrypted security key, which TXT record would be most appropriate?
A. DMARC
B. VLAN
C. SPF
D. DKIM
D. DKIM authenticates messages from email servers using private-public encrypted key pairs. SPF authenticates via IP addresses. DMARC is a TXT record that allows an administrator to specify how they want rejected emails to be handled. BLAN is a virtual LAN and is not a TXT record type.
What are advantages that TCP has over UDP? (Choose two.)
A. Acknowledge delivery
B. Faster delivery
C. Lower overheard
D. Virtual circuits
A, D. - TCP is a connection-oriented protocol that establishes virtual circuits and acknowledges the delivery of packets. Because of these features, it has a higher overhead than AUDP and is a little slower.
Your friend is concerned about the security of making an online purchase. What should you tell them to look for in the address bar of the web browser?
A. HTTP
B. HTTPS
C. SSH
D. TLS
B. The HTTP protocol is inherently insecure, but the HTTPS protocol is secure. (SSH and TLS are secure as well, but they are not protocols used to connect to websites.)
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. The router is your doorway out into other networks, and it is known in TCP/IP terms as the default gateway. Without this configuration option, you would not be able to get to external networks. The subnet mask tells a host which network it’s on. The DNS server resolves hostnames to IP addresses, and a DHCP server provides IP configuration information to hosts.
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, 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.
Which of the following protocols is used for secure retrieval of email?
A. SMTP
B. SNMP
C. POP3
D. IMAP4
D. IMAP4 and POP3 are the two protocols that are used for email retrieval. Of the two, only IMAP4 provides security features. SMTP sends emails. SNMP is a network management protocol.