wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

WCM Competency 4 Slide 21 to 40

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

What is the main purpose of performance testing?

a)

To check font consistency across browsers

b)

To reduce HTML file sizes only

c)

To ensure the site works under all loads, including peak loads

d)

To test marketing campaign effectiveness

2.

Load testing focuses on:

a)

Identifying broken CSS rules

b)

Checking for SQL injection vulnerabilities

c)

Measuring image download sizes

d)

Determining how the website behaves under normal and peak traffic

3.

Stress testing is used to:

a)

Identify the system’s breakpoint when pushed beyond normal loads

b)

Verify cookie expiration times

c)

Test users’ password strength

d)

Ensure external links work on mobile

4.

According to the slides, which tool can be used during security testing of a website?

a)

Photoshop

b)

Canva

c)

JMeter

d)

Microsoft Word

5.

Security testing is essential mainly because:

a)

It improves the website's font style

b)

It increases the number of website visitors

c)

It makes the layout more responsive

d)

It identifies vulnerabilities that could allow malicious attacks

6.

Which of the following should be prevented during security testing?

a)

Unauthorized access to secure pages

b)

Users resizing the browser

c)

Users taking screenshots of pages

d)

Scrolling to the bottom of the page

7.

What is SQL Injection?

a)

A tool for improving SEO ranking

b)

A method for compressing SQL files

c)

A vulnerability where attackers manipulate database queries to access or change data

d)

A backup method for database servers

8.

What is the best protection against SQL Injection mentioned in the slides?

a)

Encrypting all images on the site

b)

Whitelisting and filtering all input

c)

Using only the POST method in forms

d)

Disabling cookies for all users

9.

Cross-Site Scripting (XSS) attacks usually involve:

a)

Injecting images into SQL queries

b)

Replacing CSS files dynamically

c)

Modifying server operating systems

d)

Injecting client-side scripts such as JavaScript into a web application’s output

10.

A common way to prevent XSS is to:

a)

Disable all CSS styles

b)

Remove all images from the page

c)

Convert HTML tags to safe HTML entities before sending them to the client

d)

Block all GET requests

11.

Broken authentication and session management can allow attackers to:

a)

Hijack an active user session and assume the user’s identity

b)

Change the website’s colour theme

c)

Automatically translate the website

d)

Resize the browser window

12.

Insecure Direct Object Reference occurs when:

a)

A CSS file fails to load properly

b)

A browser cannot open cookies

c)

A script tag is missing in HTML

d)

A web application exposes internal objects such as files or database records so attackers can manipulate them

13.

A common defence against Insecure Direct Object References is to:

a)

Perform proper user authorization and whitelisting of choices

b)

Increase image resolution

c)

Use only inline CSS styles

d)

Add more navigation menus

14.

What is Cross-Site Request Forgery (CSRF)?

a)

A browser compatibility issue caused by old versions

b)

A method of compressing JavaScript files

c)

A malicious attack where users are tricked into performing actions they did not intend to do

d)

A performance testing technique

15.

How can CSRF be prevented, according to the slides?

a)

Deleting all browser history on logout

b)

Storing a secret token in a hidden form field and verifying it for each request

c)

Using only HTTP GET requests

d)

Blocking all third-party websites