0
0
Cybersecurityknowledge~30 mins

Privileged access management in Cybersecurity - Mini Project: Build & Apply

Choose your learning style9 modes available
Understanding Privileged Access Management
📖 Scenario: You work in a company where some employees have special access to important systems. These special accesses are called privileged accesses. Managing who has these accesses and how they use them is very important to keep the company safe.
🎯 Goal: Build a simple list of privileged users, set a rule for access level, identify users who meet the rule, and finalize the list for review.
📋 What You'll Learn
Create a dictionary named privileged_users with exact user names and their access levels
Create a variable named minimum_access_level with the value 4
Use a dictionary comprehension named high_access_users to select users with access level greater than or equal to minimum_access_level
Add a final step to create a list named final_review_list containing only the user names from high_access_users
💡 Why This Matters
🌍 Real World
Privileged Access Management helps companies control who can access sensitive systems, reducing the risk of security breaches.
💼 Career
Understanding how to manage and filter privileged access is important for cybersecurity roles such as security analysts and system administrators.
Progress0 / 4 steps
1
Create the privileged users dictionary
Create a dictionary called privileged_users with these exact entries: 'Alice': 5, 'Bob': 3, 'Charlie': 4, 'Diana': 2, 'Eve': 6.
Cybersecurity
Need a hint?

Use curly braces {} to create a dictionary with user names as keys and access levels as values.

2
Set the minimum access level
Create a variable called minimum_access_level and set it to the number 4.
Cybersecurity
Need a hint?

Just assign the number 4 to the variable minimum_access_level.

3
Select users with high access
Use a dictionary comprehension named high_access_users to include only users from privileged_users whose access level is greater than or equal to minimum_access_level. Use user and level as the loop variables.
Cybersecurity
Need a hint?

Use {user: level for user, level in privileged_users.items() if level >= minimum_access_level} to filter the dictionary.

4
Create the final review list
Create a list called final_review_list that contains only the user names from the high_access_users dictionary.
Cybersecurity
Need a hint?

Use list(high_access_users.keys()) to get the list of user names.