Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Day 4 - Application Security

Total questions: 5

Worksheet time: 3mins

Name
Class
Date
1.

Cross-Site Scripting (XSS) allows attackers to inject scripts that execute in other users’ browsers

a)

True

b)

False

2.

Secure coding principles recommend showing detailed error messages to users for easier debugging

a)

True

b)

False

3.

What is the main goal of SQL Injection attacks?

a)

To overload the server’s memory

b)

To manipulate database queries and gain unauthorized access to data

c)

To encrypt files for ransom

d)

To scan the network for open ports

4.

Which practice helps prevent XSS vulnerabilities?

a)

Storing credentials in plain text

b)

Disabling firewalls

c)

Applying output encoding and sanitizing user input

d)

Using outdated libraries

5.

What does the principle of Least Privilege mean in application security?

a)

Granting only the minimum permissions required for tasks

b)

Allowing all users full access to reduce delays

c)

Removing all authentication checks

d)

Hiding vulnerabilities instead of fixing them