CITP 2102: Exam 2 Questions With
Complete Solutions
Course
CITP 2102
1. Which OSI layer is responsible for routing packets between networks?
A. Data Link Layer
B. Network Layer
C. Transport Layer
D. Physical Layer
Answer: B. Network Layer
Solution:
The Network layer (Layer 3) uses logical addressing (IP addresses) to determine the best path
for data to travel across interconnected networks.
2. Which protocol is primarily used to assign IP addresses automatically to devices on a
network?
A. DNS
B. DHCP
C. FTP
D. SMTP
Answer: B. DHCP
Solution:
Dynamic Host Configuration Protocol (DHCP) automatically assigns IP addresses, subnet masks,
gateways, and DNS server information to clients.
3. What is the default port number for HTTPS?
A. 21
B. 25
,C. 80
D. 443
Answer: D. 443
Solution:
HTTPS uses TCP port 443 to provide encrypted web communication through SSL/TLS.
4. Which device operates primarily at the Data Link layer of the OSI model?
A. Router
B. Switch
C. Hub
D. Repeater
Answer: B. Switch
Solution:
A switch forwards Ethernet frames using MAC addresses and operates mainly at Layer 2.
5. Which IPv4 address is considered a loopback address?
A. 10.0.0.1
B. 127.0.0.1
C. 192.168.1.1
D. 172.16.0.1
Answer: B. 127.0.0.1
Solution:
The loopback address allows a computer to communicate with itself for testing network
software.
6. Which protocol translates domain names into IP addresses?
A. DHCP
,B. DNS
C. FTP
D. SSH
Answer: B. DNS
Solution:
Domain Name System (DNS) resolves human-readable domain names into numerical IP
addresses.
7. Which command is commonly used to test network connectivity between two devices?
A. mkdir
B. ping
C. format
D. dir
Answer: B. ping
Solution:
Ping sends ICMP Echo Requests to verify connectivity and measure response time.
8. Which protocol provides secure remote command-line access?
A. Telnet
B. FTP
C. SSH
D. HTTP
Answer: C. SSH
Solution:
Secure Shell (SSH) encrypts authentication and data transmitted during remote administration.
9. Which network topology connects all devices to a central device?
, A. Ring
B. Bus
C. Star
D. Mesh
Answer: C. Star
Solution:
In a star topology, each device connects directly to a central switch or hub.
10. What is the primary purpose of a subnet mask?
A. Encrypt network traffic
B. Identify the network and host portions of an IP address
C. Assign MAC addresses
D. Compress data
Answer: B. Identify the network and host portions of an IP address
Solution:
The subnet mask separates the network identifier from the host identifier.
11. Which protocol is used to transfer files securely over SSH?
A. FTP
B. TFTP
C. SFTP
D. SMTP
Answer: C. SFTP
Solution:
SFTP encrypts both authentication and file transfers using the SSH protocol.
12. What is the purpose of NAT (Network Address Translation)?
Complete Solutions
Course
CITP 2102
1. Which OSI layer is responsible for routing packets between networks?
A. Data Link Layer
B. Network Layer
C. Transport Layer
D. Physical Layer
Answer: B. Network Layer
Solution:
The Network layer (Layer 3) uses logical addressing (IP addresses) to determine the best path
for data to travel across interconnected networks.
2. Which protocol is primarily used to assign IP addresses automatically to devices on a
network?
A. DNS
B. DHCP
C. FTP
D. SMTP
Answer: B. DHCP
Solution:
Dynamic Host Configuration Protocol (DHCP) automatically assigns IP addresses, subnet masks,
gateways, and DNS server information to clients.
3. What is the default port number for HTTPS?
A. 21
B. 25
,C. 80
D. 443
Answer: D. 443
Solution:
HTTPS uses TCP port 443 to provide encrypted web communication through SSL/TLS.
4. Which device operates primarily at the Data Link layer of the OSI model?
A. Router
B. Switch
C. Hub
D. Repeater
Answer: B. Switch
Solution:
A switch forwards Ethernet frames using MAC addresses and operates mainly at Layer 2.
5. Which IPv4 address is considered a loopback address?
A. 10.0.0.1
B. 127.0.0.1
C. 192.168.1.1
D. 172.16.0.1
Answer: B. 127.0.0.1
Solution:
The loopback address allows a computer to communicate with itself for testing network
software.
6. Which protocol translates domain names into IP addresses?
A. DHCP
,B. DNS
C. FTP
D. SSH
Answer: B. DNS
Solution:
Domain Name System (DNS) resolves human-readable domain names into numerical IP
addresses.
7. Which command is commonly used to test network connectivity between two devices?
A. mkdir
B. ping
C. format
D. dir
Answer: B. ping
Solution:
Ping sends ICMP Echo Requests to verify connectivity and measure response time.
8. Which protocol provides secure remote command-line access?
A. Telnet
B. FTP
C. SSH
D. HTTP
Answer: C. SSH
Solution:
Secure Shell (SSH) encrypts authentication and data transmitted during remote administration.
9. Which network topology connects all devices to a central device?
, A. Ring
B. Bus
C. Star
D. Mesh
Answer: C. Star
Solution:
In a star topology, each device connects directly to a central switch or hub.
10. What is the primary purpose of a subnet mask?
A. Encrypt network traffic
B. Identify the network and host portions of an IP address
C. Assign MAC addresses
D. Compress data
Answer: B. Identify the network and host portions of an IP address
Solution:
The subnet mask separates the network identifier from the host identifier.
11. Which protocol is used to transfer files securely over SSH?
A. FTP
B. TFTP
C. SFTP
D. SMTP
Answer: C. SFTP
Solution:
SFTP encrypts both authentication and file transfers using the SSH protocol.
12. What is the purpose of NAT (Network Address Translation)?