0
0
Cybersecurityknowledge~30 mins

Defense in depth strategy in Cybersecurity - Mini Project: Build & Apply

Choose your learning style9 modes available
Defense in Depth Strategy
📖 Scenario: You are working as a cybersecurity analyst for a small company. Your task is to understand and organize the layers of security that protect the company's network and data.Imagine the company wants to build a strong defense by using multiple security measures, one after another, so if one fails, others still protect the system. This approach is called Defense in Depth.
🎯 Goal: Build a simple list of security layers used in a defense in depth strategy. Then, add a variable to set the priority level for each layer. Next, create a dictionary that pairs each security layer with its priority. Finally, add a summary statement that explains the importance of using multiple layers.
📋 What You'll Learn
Create a list called security_layers with these exact items: 'Firewall', 'Antivirus', 'Encryption', 'Access Control', 'Security Awareness Training'
Create a dictionary called layer_priority with these exact key-value pairs: 'Firewall': 1, 'Antivirus': 2, 'Encryption': 3, 'Access Control': 4, 'Security Awareness Training': 5
Create a new dictionary called defense_in_depth that combines security_layers and layer_priority so each layer maps to its priority
Create a string variable called summary with the exact text: 'Defense in depth uses multiple layers of security to protect systems even if one layer fails.'
💡 Why This Matters
🌍 Real World
Companies use defense in depth to protect their networks and data by layering security controls, so if one control fails, others still provide protection.
💼 Career
Understanding defense in depth is essential for cybersecurity roles like analyst, engineer, or auditor to design and evaluate secure systems.
Progress0 / 4 steps
1
Create the list of security layers
Create a list called security_layers with these exact items in order: 'Firewall', 'Antivirus', 'Encryption', 'Access Control', 'Security Awareness Training'
Cybersecurity
Need a hint?

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

2
Create the priority dictionary
Create a dictionary called layer_priority with these exact key-value pairs: 'Firewall': 1, 'Antivirus': 2, 'Encryption': 3, 'Access Control': 4, 'Security Awareness Training': 5
Cybersecurity
Need a hint?

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

3
Combine layers and priorities into one dictionary
Create a new dictionary called defense_in_depth that maps each item in security_layers to its priority from layer_priority. Use a dictionary comprehension with layer as the loop variable.
Cybersecurity
Need a hint?

Use {key: value for item in list} to create the dictionary.

4
Add a summary statement
Create a string variable called summary with this exact text: 'Defense in depth uses multiple layers of security to protect systems even if one layer fails.'
Cybersecurity
Need a hint?

Use single or double quotes to create the string exactly as shown.