Bird
Raised Fist0
Cybersecurityknowledge~30 mins

Network segmentation in Cybersecurity - Mini Project: Build & Apply

Choose your learning style10 modes available
Understanding Network Segmentation
📖 Scenario: You are working in a company that wants to improve its network security. The IT team decides to divide the company network into smaller parts to control access and reduce risks.
🎯 Goal: Build a simple explanation and example of network segmentation by creating a list of network segments, setting a security level for each, and showing how devices are assigned to these segments.
📋 What You'll Learn
Create a list called network_segments with three segments: 'HR', 'Finance', and 'Guest'
Create a dictionary called security_levels that assigns security levels to each segment: 'HR': 'High', 'Finance': 'Very High', 'Guest': 'Low'
Create a dictionary called devices that assigns devices to segments: 'Laptop1' in 'HR', 'Laptop2' in 'Finance', and 'Phone1' in 'Guest'
Add a final step that lists all devices with their assigned segment and security level
💡 Why This Matters
🌍 Real World
Network segmentation is used in companies to improve security by limiting access between different parts of the network. This helps prevent attackers from moving freely if they gain access.
💼 Career
Understanding network segmentation is important for cybersecurity professionals, network administrators, and IT support staff to design and maintain secure networks.
Progress0 / 4 steps
1
Create the list of network segments
Create a list called network_segments with these exact strings: 'HR', 'Finance', and 'Guest'
Cybersecurity
Hint

Use square brackets [] to create a list and separate items with commas.

2
Assign security levels to each segment
Create a dictionary called security_levels with these exact key-value pairs: 'HR': 'High', 'Finance': 'Very High', and 'Guest': 'Low'
Cybersecurity
Hint

Use curly braces {} to create a dictionary with keys and values separated by colons.

3
Assign devices to network segments
Create a dictionary called devices with these exact key-value pairs: 'Laptop1': 'HR', 'Laptop2': 'Finance', and 'Phone1': 'Guest'
Cybersecurity
Hint

Use a dictionary to map each device to its network segment.

4
List devices with their segment and security level
Use a for loop with variables device and segment to iterate over devices.items(). Inside the loop, create a variable level that gets the security level from security_levels using segment. Then, create a list called device_info that stores strings in the format: "Device: {device}, Segment: {segment}, Security Level: {level}" for each device.
Cybersecurity
Hint

Use a for loop to go through each device and find its segment and security level. Use f-strings to format the output.

Practice

(1/5)
1. What is the main purpose of network segmentation in cybersecurity?
easy
A. To increase the size of a network without limits
B. To connect all devices without any restrictions
C. To divide a network into smaller parts to improve security and performance
D. To remove firewalls from the network

Solution

  1. Step 1: Understand network segmentation concept

    Network segmentation means splitting a large network into smaller sections.
  2. Step 2: Identify the benefits

    This helps improve security by limiting attacker movement and boosts performance by reducing traffic in each segment.
  3. Final Answer:

    To divide a network into smaller parts to improve security and performance -> Option C
  4. Quick Check:

    Network segmentation = divide network for security and performance [OK]
Hint: Think: smaller parts mean better control and safety [OK]
Common Mistakes:
  • Confusing segmentation with network expansion
  • Thinking segmentation removes firewalls
  • Believing segmentation connects all devices freely
2. Which of the following is a common tool used for network segmentation?
easy
A. VPN
B. VLAN
C. DNS
D. HTTP

Solution

  1. Step 1: Identify tools related to network segmentation

    Common tools include VLANs, subnetting, and firewalls.
  2. Step 2: Match options with tools

    VLAN (Virtual Local Area Network) is used to segment networks logically.
  3. Final Answer:

    VLAN -> Option B
  4. Quick Check:

    VLAN = network segmentation tool [OK]
Hint: Remember VLANs create separate network parts [OK]
Common Mistakes:
  • Confusing VPN with segmentation tool
  • Choosing DNS or HTTP which are unrelated protocols
  • Mixing segmentation with encryption tools
3. Consider a network divided into three VLANs: VLAN 10, VLAN 20, and VLAN 30. If a device in VLAN 10 tries to communicate with a device in VLAN 30 without routing, what will happen?
medium
A. The communication will fail because VLANs isolate traffic
B. The communication will succeed without restrictions
C. The devices will automatically merge into one VLAN
D. The firewall will block all VLAN traffic

Solution

  1. Step 1: Understand VLAN isolation

    VLANs separate network traffic logically, so devices in different VLANs cannot communicate directly without routing.
  2. Step 2: Analyze communication attempt

    Since no routing is mentioned, devices in VLAN 10 and VLAN 30 cannot communicate.
  3. Final Answer:

    The communication will fail because VLANs isolate traffic -> Option A
  4. Quick Check:

    VLAN isolation blocks cross-VLAN communication without routing [OK]
Hint: No routing means VLANs block communication [OK]
Common Mistakes:
  • Assuming VLANs allow free communication
  • Thinking VLANs merge automatically
  • Believing firewalls block all VLAN traffic by default
4. A network administrator sets up subnetting but notices devices in different subnets can still communicate freely. What is the most likely mistake?
medium
A. Subnet masks are incorrectly configured allowing overlap
B. Firewalls are blocking all traffic
C. VLANs are not enabled on switches
D. Devices are using static IPs

Solution

  1. Step 1: Understand subnetting role

    Subnetting divides IP ranges to separate network segments logically.
  2. Step 2: Identify cause of free communication

    If devices in different subnets communicate freely, subnet masks may overlap or be misconfigured, causing no real separation.
  3. Final Answer:

    Subnet masks are incorrectly configured allowing overlap -> Option A
  4. Quick Check:

    Incorrect subnet masks cause subnet overlap and free communication [OK]
Hint: Check subnet masks for overlap if segmentation fails [OK]
Common Mistakes:
  • Blaming firewalls when they might be off
  • Assuming VLANs affect subnetting directly
  • Ignoring IP configuration details
5. A company wants to improve security by limiting attacker movement inside its network. Which combination of methods best achieves this?
hard
A. Connect all devices to one network switch without segmentation
B. Disable all firewalls and use a single large subnet
C. Use DHCP to assign IPs dynamically without segmentation
D. Use VLANs to segment departments and firewalls to control traffic between them

Solution

  1. Step 1: Identify security goal

    The goal is to limit attacker movement inside the network.
  2. Step 2: Choose effective segmentation methods

    Using VLANs divides the network into parts, and firewalls control traffic between these parts, stopping attackers from moving freely.
  3. Step 3: Evaluate other options

    Disabling firewalls or having no segmentation increases risk; DHCP alone does not segment.
  4. Final Answer:

    Use VLANs to segment departments and firewalls to control traffic between them -> Option D
  5. Quick Check:

    VLANs + firewalls = strong network segmentation [OK]
Hint: Combine VLANs and firewalls for best segmentation security [OK]
Common Mistakes:
  • Thinking DHCP alone segments networks
  • Disabling firewalls reduces security
  • Ignoring segmentation benefits
Recommended

Ready to prove it?

Pass the test and this pattern moves unknown strong while earning +1 Grip toward your certificate.

10 questions~5 mineasy hard