Free IT Networking Fundamentals & Infrastructure Questions and Answers — Questions and Answers
Question 1: What device is used to connect multiple devices on a local network?
- Router
- Modem
- Switch (Correct answer)
- Repeater
Correct answer: Switch
A switch is a network device used to connect multiple devices within a local area network (LAN). It intelligently forwards data packets only to the specific destination device based on its MAC address, improving network efficiency. Unlike a hub, which broadcasts data to all connected devices, a switch creates direct connections, reducing unnecessary traffic.
Question 2: Which protocol is responsible for assigning IP addresses automatically?
- DNS
- DHCP (Correct answer)
- FTP
- HTTP
Correct answer: DHCP
DHCP (Dynamic Host Configuration Protocol) is a network protocol that automatically assigns IP addresses and other network configuration parameters to devices on a network. This automation simplifies network administration by eliminating the need for manual configuration for each device. DHCP ensures that each device receives a unique IP address, preventing conflicts and enabling seamless communication.
Question 3: What is the primary function of a router?
- Boost signal strength
- Connect devices in a LAN
- Filter data by MAC address
- Route traffic between networks (Correct answer)
Correct answer: Route traffic between networks
A router's primary function is to connect different networks and forward data packets between them. It operates at the network layer (Layer 3) of the OSI model, using IP addresses to determine the most efficient path for data to travel from a source to a destination across various interconnected networks, including the internet. Routers are essential for enabling communication beyond a local network segment.
Question 4: Which layer of the OSI model handles error detection and correction?
- Transport
- Network
- Data Link (Correct answer)
- Session
Correct answer: Data Link
The Data Link layer (Layer 2) of the OSI model is responsible for error detection and correction within a single network segment. It ensures reliable transmission of data frames between directly connected network devices. This layer also handles physical addressing (MAC addresses) and controls access to the physical transmission medium.
Question 5: What is the purpose of a firewall in networking?
- Assigns IP addresses
- Filters unauthorized access (Correct answer)
- Boosts internet speed
- Hosts websites
Correct answer: Filters unauthorized access
A firewall acts as a security barrier, monitoring and controlling incoming and outgoing network traffic based on predefined security rules. Its primary purpose is to filter unauthorized access, preventing malicious attacks and protecting internal networks from external threats. Firewalls are crucial for maintaining network security and can be implemented as hardware, software, or a combination.
Question 6: Which cable type is commonly used in Ethernet networks?
- Coaxial
- Fiber optic
- Twisted pair (Correct answer)
- Parallel
Correct answer: Twisted pair
Twisted pair cable is the most common type of cabling used in modern Ethernet networks. It consists of pairs of insulated wires twisted together to reduce electromagnetic interference (EMI) from external sources and crosstalk between adjacent pairs. Both unshielded twisted pair (UTP) and shielded twisted pair (STP) variations are widely deployed for connecting network devices.
Question 7: Which command is used to test network connectivity?
- tracert
- nslookup
- ping (Correct answer)
- ipconfig
Correct answer: ping
The `ping` command is a fundamental network utility used to test the reachability of a host on an Internet Protocol (IP) network. It sends ICMP echo request packets to a target host and listens for echo reply packets, measuring the round-trip time and indicating packet loss. This helps diagnose basic network connectivity issues and latency.
Question 8: What is an IP address used for?
- Identify hardware
- Speed up connections
- Prevent access
- Identify a device on a network (Correct answer)
Correct answer: Identify a device on a network
An IP (Internet Protocol) address is a unique numerical label assigned to each device connected to a computer network that uses the Internet Protocol for communication. Its primary purpose is to identify a device on a network, allowing it to send and receive data. This address enables devices to locate and communicate with each other across local networks and the internet.
Question 9: Which protocol translates domain names to IP addresses?
- FTP
- DNS (Correct answer)
- SMTP
- Telnet
Correct answer: DNS
DNS (Domain Name System) is a hierarchical and decentralized naming system that translates human-readable domain names (like www.example.com) into numerical IP addresses. This translation is essential because computers use IP addresses to identify each other on a network, while humans find domain names easier to remember. DNS is fundamental for web browsing and other internet services.
What device is used to connect multiple devices on a local network?