1. Home
  2. Explore
  3. Computer Science
  4. Network Topologies

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Network Topologies

  • 42Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Network Topologies

What is the defining characteristic of a star topology?

42 questions

  1. 1

    What is the defining characteristic of a star topology?

    1. A

      Devices are connected in a daisy-chain manner

    2. B

      Each device is connected to every other device directly

    3. C

      All devices connect to a central hub or switch

    4. D

      Each device has two connections forming a ring

    Correct answer
    C

    All devices connect to a central hub or switch

    Explanation

    In a star topology, all devices are connected to a central wiring point such as a hub or switch, through which all data must pass.

  2. 2

    What is a major disadvantage of a mesh topology?

    1. A

      It is unsuitable for wide area networks

    2. B

      It cannot handle failures gracefully

    3. C

      It creates a single point of failure at the central device

    4. D

      It requires excessive cabling and network cards, making it expensive

    Correct answer
    D

    It requires excessive cabling and network cards, making it expensive

    Explanation

    Mesh topology has many connections, leading to high redundancy but also high cost due to cabling and network interfaces. It is rarely used on LANs but is common on WANs like the internet.

  3. 3

    In the spine-leaf topology, what is the maximum number of hops between any two servers?

    1. A

      Two hops

    2. B

      One hop

    3. C

      Three hops

    4. D

      Four hops

    Correct answer
    A

    Two hops

    Explanation

    Each server connects to a leaf switch, and leaf switches connect to spine switches. A server communicates to another via its leaf to a spine to the destination leaf, totaling two hops.

  4. 4

    Which layer of the OSI model is responsible for routing packets across different networks using IP addresses?

    1. A

      Layer 2: Data Link

    2. B

      Layer 1: Physical

    3. C

      Layer 4: Transport

    4. D

      Layer 3: Network

    Correct answer
    D

    Layer 3: Network

    Explanation

    The network layer (layer 3) handles routing based on IP addresses, breaking data into packets and determining the best path to the destination.

  5. 5

    What device operates at Layer 2 of the OSI model and uses MAC addresses to forward frames?

    1. A

      Switch

    2. B

      Firewall

    3. C

      Hub

    4. D

      Router

    Correct answer
    A

    Switch

    Explanation

    A switch is a Layer 2 device that reads MAC addresses in frames and uses them to forward data to the correct port.

  6. 6

    What is the primary function of a firewall?

    1. A

      Assign IP addresses to devices on the network

    2. B

      Balance network traffic across multiple servers

    3. C

      Prevent unauthorized access by filtering incoming traffic

    4. D

      Route data between different networks

    Correct answer
    C

    Prevent unauthorized access by filtering incoming traffic

    Explanation

    A firewall creates a safety barrier between a private network and the public internet, filtering traffic based on rules to block unwanted access.

  7. 7

    Which protocol does a load balancer use to distribute network traffic evenly?

    1. A

      It uses a combination of hardware and software to distribute data activity

    2. B

      It uses a fixed algorithm based on IP addresses only

    3. C

      It prioritizes traffic based on QoS settings

    4. D

      It caches content to reduce server load

    Correct answer
    A

    It uses a combination of hardware and software to distribute data activity

    Explanation

    A load balancer evenly distributes data activity across servers so no single server is overwhelmed. It can be hardware or software.

  8. 8

    What is the purpose of a proxy server in a forward proxy configuration?

    1. A

      To block all incoming traffic from the internet

    2. B

      To act as a middleman, fetching data from the internet on behalf of clients

    3. C

      To provide wireless access to the network

    4. D

      To encrypt all outgoing data from the network

    Correct answer
    B

    To act as a middleman, fetching data from the internet on behalf of clients

    Explanation

    A forward proxy sits between clients and the internet, retrieving data for clients, which regulates traffic, hides client IPs, and caches content.

  9. 9

    What is the maximum number of IPv4 addresses available?

    1. A

      About 4.3 billion

    2. B

      About 256

    3. C

      About 65,000

    4. D

      About 16 million

    Correct answer
    A

    About 4.3 billion

    Explanation

    IPv4 uses 32-bit addresses, providing roughly 4.3 billion (2^32) unique addresses.

  10. 10

    What is the purpose of a subnet mask?

    1. A

      To convert private IP addresses to public IP addresses

    2. B

      To provide encryption for data packets

    3. C

      To identify the network portion of an IP address

    4. D

      To assign IP addresses to devices automatically

    Correct answer
    C

    To identify the network portion of an IP address

    Explanation

    A subnet mask reveals how many bits of an IP address are used for the network portion by masking the network part.

  11. 11

    If a network uses the subnet mask 255.255.255.192, how many subnets are created when borrowing 2 bits from the host portion?

    1. A

      16 subnets

    2. B

      4 subnets

    3. C

      2 subnets

    4. D

      8 subnets

    Correct answer
    B

    4 subnets

    Explanation

    Borrowing 2 bits creates 22=42^2 = 422=4 subnets. The subnet mask 255.255.255.192 has 2 bits borrowed in the last octet.

  12. 12

    What is the CIDR notation for the subnet mask 255.255.255.0?

    1. A

      /8

    2. B

      /32

    3. C

      /16

    4. D

      /24

    Correct answer
    D

    /24

    Explanation

    The subnet mask 255.255.255.0 has 24 ones in binary, so CIDR notation is /24.

  13. 13

    What is the purpose of NAT (Network Address Translation)?

    1. A

      To translate domain names to IP addresses

    2. B

      To convert private IP addresses to public IP addresses for internet access

    3. C

      To prioritize network traffic based on application

    4. D

      To encrypt data packets traveling over the network

    Correct answer
    B

    To convert private IP addresses to public IP addresses for internet access

    Explanation

    NAT converts private IP addresses (used internally) to public IP addresses so devices can access the internet, and vice versa for incoming traffic.

  14. 14

    What is the primary difference between TCP and UDP?

    1. A

      TCP is connectionless and faster; UDP is connection-oriented and reliable

    2. B

      TCP is used for streaming; UDP is used for web browsing

    3. C

      TCP uses a three-way handshake; UDP uses a two-way handshake

    4. D

      TCP guarantees delivery and order; UDP does not guarantee delivery

    Correct answer
    D

    TCP guarantees delivery and order; UDP does not guarantee delivery

    Explanation

    TCP is connection-oriented and ensures data delivery and order. UDP is connectionless and does not guarantee delivery, making it faster but less reliable.

  15. 15

    Which protocol is commonly used by businesses to create VPNs and provides encryption and authentication at the network layer?

    1. A

      SSL

    2. B

      L2TP

    3. C

      IPSec

    4. D

      PPTP

    Correct answer
    C

    IPSec

    Explanation

    IPSec (Internet Protocol Security) secures data at the network layer by adding encryption and authentication, and is widely used for VPNs.

  16. 16

    What is the purpose of the ESP protocol in IPSec?

    1. A

      It handles key exchange between two sites

    2. B

      It encapsulates IP packets without encryption

    3. C

      It offers authentication, integrity, and encryption

    4. D

      It provides only authentication

    Correct answer
    C

    It offers authentication, integrity, and encryption

    Explanation

    ESP (Encapsulating Security Payload) provides authentication, integrity, and encryption, making it superior to AH which offers only authentication and integrity.

  17. 17

    What type of traffic is used when data is sent to a single device on a network?

    1. A

      Anycast

    2. B

      Broadcast

    3. C

      Multicast

    4. D

      Unicast

    Correct answer
    D

    Unicast

    Explanation

    Unicast is one-to-one communication where data is sent to a single destination device.

  18. 18

    Which Wi-Fi standard operates in the 6 GHz band and offers the highest speed?

    1. A

      802.11ax

    2. B

      802.11n

    3. C

      802.11ac

    4. D

      802.11be

    Correct answer
    D

    802.11be

    Explanation

    802.11be (Wi-Fi 7) operates in the 6 GHz band and is the latest standard with the highest speeds, as of 2024.

  19. 19

    What is the main advantage of using shielded twisted pair (STP) cable over unshielded twisted pair (UTP)?

    1. A

      STP provides extra protection against electromagnetic interference

    2. B

      STP is more flexible and easier to install

    3. C

      STP is cheaper to manufacture

    4. D

      STP supports higher data rates over longer distances

    Correct answer
    A

    STP provides extra protection against electromagnetic interference

    Explanation

    STP has a foil shield that adds protection against EMI, making it suitable for industrial environments, while UTP is common in homes and businesses.

  20. 20

    What is the maximum data rate of Cat 8 copper cable?

    1. A

      100 Gbps

    2. B

      10 Gbps

    3. C

      25 Gbps

    4. D

      40 Gbps

    Correct answer
    D

    40 Gbps

    Explanation

    Cat 8 is a shielded twisted pair cable capable of delivering 40 Gbps up to 30 meters.

  21. 21

    Which connector is commonly used with fiber optic cables and uses a push-pull mechanism?

    1. A

      LC connector

    2. B

      SC connector

    3. C

      MTP/MPO connector

    4. D

      ST connector

    Correct answer
    B

    SC connector

    Explanation

    SC (Standard Connector) uses a push-pull design and was one of the first fiber connectors widely used.

  22. 22

    What is the purpose of VLANs?

    1. A

      To provide encryption for wireless networks

    2. B

      To increase the physical range of a network

    3. C

      To logically separate network broadcast traffic into different segments

    4. D

      To combine multiple switches into a single logical switch

    Correct answer
    C

    To logically separate network broadcast traffic into different segments

    Explanation

    VLANs allow logical grouping of devices regardless of physical location, isolating broadcast traffic for security and management.

  23. 23

    What does 802.1Q tagging do in a VLAN trunk?

    1. A

      It encrypts frames for secure transmission

    2. B

      It adds a VLAN ID to frames so switches can identify which VLAN they belong to

    3. C

      It blocks all broadcast traffic between switches

    4. D

      It converts VLANs into a single flat network

    Correct answer
    B

    It adds a VLAN ID to frames so switches can identify which VLAN they belong to

    Explanation

    802.1Q tagging inserts a VLAN ID into the Ethernet frame header, allowing multiple VLANs to traverse a single trunk link between switches.

  24. 24

    What is the main advantage of VXLAN over traditional VLANs?

    1. A

      VXLAN supports up to 4,000 virtual networks

    2. B

      VXLAN does not require any encapsulation

    3. C

      VXLAN operates at Layer 2 only

    4. D

      VXLAN can support 16 million virtual networks and is routable across different locations

    Correct answer
    D

    VXLAN can support 16 million virtual networks and is routable across different locations

    Explanation

    VXLAN uses a 24-bit VNI to support up to 16 million virtual networks and can route over IP networks, overcoming VLAN limitations.

  25. 25

    Which routing protocol uses link-state advertisements (LSAs) to build a topology map and determine the shortest path?

    1. A

      RIP

    2. B

      BGP

    3. C

      EIGRP

    4. D

      OSPF

    Correct answer
    D

    OSPF

    Explanation

    OSPF (Open Shortest Path First) is a link-state protocol that uses LSAs to exchange information and employs the shortest path first algorithm.

  26. 26

    What does the prefix length (CIDR) indicate about an IP address?

    1. A

      The total length of the IP address in bytes

    2. B

      The default gateway address

    3. C

      The number of network bits in the IP address

    4. D

      The number of host bits available

    Correct answer
    C

    The number of network bits in the IP address

    Explanation

    Prefix length (e.g., /24) shows the number of bits used for the network portion, equivalent to the subnet mask.

  27. 27

    What is the primary function of a DHCP server?

    1. A

      To automatically assign IP addresses and other network parameters to devices

    2. B

      To filter network traffic based on port numbers

    3. C

      To provide secure remote access to a network

    4. D

      To resolve domain names to IP addresses

    Correct answer
    A

    To automatically assign IP addresses and other network parameters to devices

    Explanation

    DHCP dynamically assigns IP addresses, subnet masks, default gateways, and DNS servers to devices from a defined scope.

  28. 28

    What is a DHCP reservation used for?

    1. A

      To exclude a range of IP addresses from being assigned

    2. B

      To ensure a specific device always receives the same IP address based on its MAC address

    3. C

      To prevent a device from obtaining an IP address automatically

    4. D

      To release a DHCP lease before it expires

    Correct answer
    B

    To ensure a specific device always receives the same IP address based on its MAC address

    Explanation

    A reservation links a MAC address to a specific IP address, guaranteeing that device always gets that IP from the DHCP server.

  29. 29

    Which DNS record type is used to map a domain name to an IPv6 address?

    1. A

      A record

    2. B

      AAAA record

    3. C

      PTR record

    4. D

      CNAME record

    Correct answer
    B

    AAAA record

    Explanation

    AAAA (quad A) records map hostnames to IPv6 addresses, similar to how A records map to IPv4.

  30. 30

    What is the purpose of DNSSEC?

    1. A

      To add digital signatures to DNS records for authentication and integrity

    2. B

      To allow DNS to work over TLS

    3. C

      To provide automatic IP address assignment

    4. D

      To encrypt DNS queries using HTTPS

    Correct answer
    A

    To add digital signatures to DNS records for authentication and integrity

    Explanation

    DNSSEC uses cryptographic signatures to verify that DNS data has not been tampered with, ensuring authenticity and integrity.

  31. 31

    What is the main benefit of using a VPN?

    1. A

      It speeds up network traffic by caching content

    2. B

      It increases internet bandwidth

    3. C

      It allows multiple devices to share a single IP address

    4. D

      It encrypts data and hides the user's IP address, providing privacy and security

    Correct answer
    D

    It encrypts data and hides the user's IP address, providing privacy and security

    Explanation

    A VPN creates an encrypted tunnel over the internet, protecting data from eavesdropping and masking the user's real IP address.

  32. 32

    In a site-to-site VPN, what is the main advantage over using a leased line?

    1. A

      Better reliability

    2. B

      Higher bandwidth

    3. C

      Guaranteed uptime

    4. D

      Lower cost and easier scalability

    Correct answer
    D

    Lower cost and easier scalability

    Explanation

    Site-to-site VPNs use the public internet to connect offices, offering a cheaper alternative to expensive leased lines while providing encryption.

  33. 33

    What protocol does SSH use for remote access to network devices?

    1. A

      TCP port 443

    2. B

      UDP port 161

    3. C

      TCP port 23

    4. D

      TCP port 22

    Correct answer
    D

    TCP port 22

    Explanation

    SSH (Secure Shell) uses TCP port 22 to provide encrypted command-line access for remote administration.

  34. 34

    What problem does the Spanning Tree Protocol (STP) solve?

    1. A

      DNS resolution failures

    2. B

      Broadcast loops in redundant switch topologies

    3. C

      IP address conflicts

    4. D

      Wireless signal interference

    Correct answer
    B

    Broadcast loops in redundant switch topologies

    Explanation

    STP prevents broadcast loops by blocking redundant ports in switched networks with multiple paths, ensuring a loop-free topology.

  35. 35

    Which bridge ID value determines the root bridge in STP?

    1. A

      Highest MAC address

    2. B

      Lowest bridge ID

    3. C

      Highest bridge ID

    4. D

      Lowest path cost

    Correct answer
    B

    Lowest bridge ID

    Explanation

    The switch with the lowest bridge ID (priority plus MAC address) becomes the root bridge in STP.

  36. 36

    What is a honeypot in cybersecurity?

    1. A

      A backup server for disaster recovery

    2. B

      A deceptive system used to attract and analyze cyber attacks

    3. C

      A device that filters malicious traffic

    4. D

      A tool for monitoring network bandwidth

    Correct answer
    B

    A deceptive system used to attract and analyze cyber attacks

    Explanation

    A honeypot is a decoy system designed to lure attackers so that their methods can be studied without risking real assets.

  37. 37

    What does the CIA triad stand for in information security?

    1. A

      Control, Isolation, Authentication

    2. B

      Centralized, Integrated, Automated

    3. C

      Confidentiality, Integrity, Availability

    4. D

      Communication, Internet, Access

    Correct answer
    C

    Confidentiality, Integrity, Availability

    Explanation

    The CIA triad is a core model guiding security policies: Confidentiality (data privacy), Integrity (data accuracy), and Availability (access when needed).

  38. 38

    What is the purpose of a DMZ (demilitarized zone) in network security?

    1. A

      To encrypt all traffic passing through the firewall

    2. B

      To monitor employee internet activity

    3. C

      To provide a secure area for internal users only

    4. D

      To segregate public-facing servers from the internal network

    Correct answer
    D

    To segregate public-facing servers from the internal network

    Explanation

    A DMZ places public servers (e.g., web servers) outside the internal network but still behind a firewall, adding an extra layer of security.

  39. 39

    Which command is used to test network connectivity to a remote host by sending ICMP echo requests?

    1. A

      ping

    2. B

      tracert

    3. C

      nslookup

    4. D

      netstat

    Correct answer
    A

    ping

    Explanation

    The ping command sends ICMP echo request packets and waits for replies, confirming basic network connectivity.

  40. 40

    What does the 'tracert' command do?

    1. A

      It resolves a domain name to an IP address

    2. B

      It shows the path packets take to a destination and the time taken at each hop

    3. C

      It displays the MAC address table of a switch

    4. D

      It captures and analyzes network traffic

    Correct answer
    B

    It shows the path packets take to a destination and the time taken at each hop

    Explanation

    tracert (traceroute) traces the route of packets, listing each router hop and the latency, useful for identifying network slowdowns.

  41. 41

    What is the first step in the network troubleshooting methodology described?

    1. A

      Identify the symptoms

    2. B

      Establish a theory of probable cause

    3. C

      Gather information about the problem

    4. D

      Implement a solution

    Correct answer
    C

    Gather information about the problem

    Explanation

    The first step is to gather information by questioning users, identifying when and how the problem occurs, etc.

  42. 42

    What tool is used to trace a specific cable from one end to another in a wiring closet?

    1. A

      Visual fault locator

    2. B

      Cable tester

    3. C

      Wi-Fi analyzer

    4. D

      Tone generator and probe

    Correct answer
    D

    Tone generator and probe

    Explanation

    A tone generator (fox and hound) sends a signal down the cable, and a probe detects the signal at the other end, helping to identify the correct cable.

Question 1 of 42
Question 1 of 42

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent