wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

WNS Revision

Total questions: 20

Worksheet time: 3mins

Name
Class
Date
1.

What does CVE stand for?

a)

Common Viabilities and Exposures

b)

Common Vulnerabilities and Exposures

c)

Common Vulnerabilities and Exploits

d)

Common Viabilities and Exploits

2.

An attacker impersonates an employee from the IT department and asks a user for her password. He is attempting...

a)

IP spoofing

b)

man-in-the-middle attack

c)

social engineering

d)

LDAP injection

3.

A spider is used to...

a)

download copies of websites and their contents

b)

intercept traffic between the browser and websites

c)

steal session cookies from other logged-in users

d)

automate XSS attacks against websites

4.

Which is most likely to occur when the difference between code and data is not clear?

a)

insecure direct object reference

b)

security misconfiguration

c)

broken authentication and session management

d)

injection

5.

The self-retweeting tweet attack shown is a type of...

a)

stored XSS

b)

reflected XSS

c)

DOM-based XSS

d)

IDOR

6.

What is likely to happen when a server takes user inputted data and sends it to a browser without proper validation?

a)

security misconfiguration

b)

cross-site scripting

c)

insecure direct object reference

d)

broken authentication and session management

7.

Which type of XSS attack executes in the browsers of every visitor of a page?

a)

stored

b)

reflected

c)

DOM-based

d)

man-in-the-middle

8.

 The Secure flag in a cookie ensures that...

a)

the cookie is a persistent cookie

b)

the cookie expires when the session ends

c)

the cookie is sent over an encrypted channel

d)

the cookie is not available to client script

9.

This attack technique forces a user’s session credential or session ID to an explicit value.

a)

brute force

b)

dictionary attack

c)

session fixation

d)

session sidejacking

10.

Zap and Burp Suite are examples of...

a)

payloads

b)

network sniffers

c)

password crackers

d)

proxies

11.

The model representing the elements of a web page in a tree structure, created by the browser, is called...

a)

Hypertext Markup Model

b)

Document Object Model

c)

Domain Oriented Model

d)

Domain Object Model

12.

GET, POST, PUT and DELETE are HTTP methods used in...

a)

REST (Representational State Transfer)

b)

FTP (File Transfer Protocol)

c)

RPC (Remote Procedure Call)

d)

SOAP (Simple Object Access Protocol)

13.

A web proxy is used to intercept communication...

a)

between the application and the database

b)

between the browser and the web application

c)

between the keyboard and the browser

d)

between the application firewall and the application server

14.

Fuzzing is a technique used to...

a)

intercept traffic before it leaves the browser

b)

intercept traffic after it leaves the browser

c)

obscure the value of a string

d)

automate brute-force attacks

15.

Web intercepting proxies work at which layer of the OSI model?

a)

data link

b)

application

c)

transport

d)

network

16.

Third-party cookies...

a)

ask for consent, then breach the Same Origin Policy (SOP)

b)

work around the Same Origin Policy (SOP)

c)

breach the Same Origin Policy (SOP)

d)

are never set by the third-party

17.

The best approach to steal someone else's cookies is to...

a)

sniff packets at network level using a tool like Wireshark

b)

monitor requests and responses at application level using a tool like Zap

18.

In this type of XSS attack, the malicious script never reaches the server.

a)

reflected

b)

DOM-based

c)

stored

d)

none of the above

19.

Which is the best way to ensure that JavaScript cannot be used to access a cookie?

a)

use a non-persistent cookie

b)

use the CAPCHA system

c)

set the HttpOnly flag

d)

set the Secure flag

20.

Stored XSS is considered more damaging than reflected XSS.

a)

TRUE

b)

FALSE