0
0
Cybersecurityknowledge~30 mins

Why web apps are primary targets in Cybersecurity - See It in Action

Choose your learning style9 modes available
Why Web Apps Are Primary Targets
📖 Scenario: You are a cybersecurity analyst explaining to a team why web applications are often the main targets for cyber attacks.
🎯 Goal: Build a simple list of reasons why web apps are primary targets and organize them clearly.
📋 What You'll Learn
Create a list called reasons with exact reasons as strings
Add a variable called most_common_reason with the main reason
Use a for loop to create a numbered list of reasons
Add a final summary sentence stored in summary
💡 Why This Matters
🌍 Real World
Understanding why web apps are targeted helps in designing better security measures and educating teams about risks.
💼 Career
Cybersecurity professionals must explain attack vectors clearly to stakeholders and prioritize defenses based on common attack targets.
Progress0 / 4 steps
1
Create the list of reasons
Create a list called reasons with these exact strings: "Web apps are accessible over the internet", "They often store sensitive data", "Many web apps have security flaws", "They provide entry points to networks", "Attackers can automate attacks easily".
Cybersecurity
Need a hint?

Use square brackets to create a list and include all given reasons as strings.

2
Add the most common reason
Add a variable called most_common_reason and set it to the string "Web apps are accessible over the internet".
Cybersecurity
Need a hint?

Assign the exact string to the variable most_common_reason.

3
Create a numbered list of reasons
Use a for loop with variables index and reason to iterate over enumerate(reasons, 1) and create a new list called numbered_reasons where each item is a string formatted as "1. Web apps are accessible over the internet", "2. They often store sensitive data", etc.
Cybersecurity
Need a hint?

Use enumerate starting at 1 and f-strings to format each numbered reason.

4
Add a summary sentence
Add a variable called summary and set it to the string "Because web apps are widely accessible and often contain sensitive data, attackers focus on them to gain access."
Cybersecurity
Need a hint?

Assign the exact summary string to the variable summary.