0
0
Cybersecurityknowledge~30 mins

DMZ architecture in Cybersecurity - Mini Project: Build & Apply

Choose your learning style9 modes available
Understanding DMZ Architecture
📖 Scenario: You are working as a network security assistant helping to design a safe network layout for a small company. The company wants to protect its internal network while allowing public access to its web server.
🎯 Goal: Build a simple representation of a DMZ (Demilitarized Zone) architecture using a dictionary to show different network zones and their purposes.
📋 What You'll Learn
Create a dictionary named network_zones with exact keys and values representing zones and their descriptions
Add a variable named public_zone to specify which zone is accessible to the public
Use a loop with variables zone and description to iterate over network_zones.items()
Add a final key-value pair to network_zones representing the firewall with its description
💡 Why This Matters
🌍 Real World
Understanding DMZ architecture helps protect company networks by separating public servers from internal systems, reducing security risks.
💼 Career
Network security professionals design and manage DMZs to safeguard sensitive data and ensure safe access to public services.
Progress0 / 4 steps
1
Create the initial network zones dictionary
Create a dictionary called network_zones with these exact entries: 'Internal Network': 'Trusted zone for company devices', 'DMZ': 'Semi-trusted zone for public servers', 'External Network': 'Untrusted internet zone'.
Cybersecurity
Need a hint?

Use curly braces {} to create a dictionary and separate each key-value pair with commas.

2
Add a variable for the public accessible zone
Add a variable called public_zone and set it to the string 'DMZ' to indicate which zone is accessible to the public.
Cybersecurity
Need a hint?

Assign the string 'DMZ' to the variable public_zone.

3
Iterate over the network zones to review descriptions
Use a for loop with variables zone and description to iterate over network_zones.items(). Inside the loop, write a comment explaining that this would be where you check or display each zone's description.
Cybersecurity
Need a hint?

Use for zone, description in network_zones.items(): to loop through the dictionary.

4
Add the firewall zone to the network zones dictionary
Add a new key-value pair to the network_zones dictionary with the key 'Firewall' and the value 'Controls traffic between zones'.
Cybersecurity
Need a hint?

Add the new key and value to the dictionary using square brackets and assignment.