CCST Network Services & Protocols 2 — Questions and Answers
Question 1: What is the function of ARP (Address Resolution Protocol)?
- Resolve domain names to IP addresses
- Resolve IP addresses to MAC addresses on a local network (Correct answer)
- Assign IP addresses dynamically to hosts
- Translate private IPs to public IPs
Correct answer: Resolve IP addresses to MAC addresses on a local network
ARP resolves a known IPv4 address to the corresponding MAC (hardware) address needed for Layer 2 frame delivery on the same network segment.
Question 2: Which well-known port number does HTTPS use by default?
- 80
- 8080
- 443 (Correct answer)
- 8443
Correct answer: 443
HTTPS (HTTP Secure) uses TCP port 443 by default, providing encrypted web communication using TLS/SSL over the standard HTTP protocol.
Question 3: What does SNMP stand for, and what is its primary use?
- Simple Network Management Protocol — used to monitor and manage network devices (Correct answer)
- Secure Network Messaging Protocol — used to encrypt network traffic
- Static Network Mapping Protocol — used to map network topologies
- Simple Network Monitoring Protocol — used to capture packet data
Correct answer: Simple Network Management Protocol — used to monitor and manage network devices
SNMP (Simple Network Management Protocol) is used to collect information from and configure network devices such as routers, switches, and servers from a central management station.
Question 4: Which first DHCP message does a client broadcast when it needs an IP address?
- DHCPOFFER
- DHCPREQUEST
- DHCPDISCOVER (Correct answer)
- DHCPACK
Correct answer: DHCPDISCOVER
The DHCP process begins with a DHCPDISCOVER broadcast sent by the client to locate available DHCP servers on the local network segment.
Question 5: What is the purpose of a default gateway in network configuration?
- It provides IP addresses to hosts via DHCP
- It encrypts traffic between the host and the Internet
- It is the router IP address that hosts send traffic to when the destination is on a remote network (Correct answer)
- It resolves domain names to IP addresses
Correct answer: It is the router IP address that hosts send traffic to when the destination is on a remote network
A default gateway is the IP address of the local router interface that hosts use to forward packets destined for networks outside their own subnet.
Question 6: What does the TTL (Time to Live) field control in DNS?
- How long a DNS server will remain active before rebooting
- How many DNS servers will be queried before a lookup fails
- How long a DNS record will be cached by resolvers before they must re-query (Correct answer)
- The maximum length of a domain name in DNS records
Correct answer: How long a DNS record will be cached by resolvers before they must re-query
The DNS TTL value specifies in seconds how long a resolver or client can cache a DNS record before it must re-query the authoritative server for fresh data.
Question 7: What is the well-known port used by Telnet?
- 21
- 22
- 23 (Correct answer)
- 25
Correct answer: 23
Telnet uses TCP port 23 to provide unencrypted remote command-line access to network devices; SSH (port 22) is the secure replacement.
What is the function of ARP (Address Resolution Protocol)?