wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

WebApp Quiz

Total questions: 104

Worksheet time: 52mins

Name
Class
Date
1.

What is the key step in initiating an HTTP connection?

a)

Sending a direct request to the server

b)

Querying the Domain Name System to transform a URL into an IP address

c)

Establishing an SSL certificate

d)

Encoding the HTTP method

2.

What is pharming?

a)

Sending fraudulent emails to steal user credentials

b)

Redirecting users to a malicious site by providing a false IP address

c)

Injecting malicious code into a webpage

d)

Hijacking a trusted session

3.

What does the HTTP protocol codify?

a)

The encryption standards for secure connections

b)

The exchanges between clients and servers

c)

The structure of webpages

d)

The authentication process for users

4.

What are HTTP methods and status codes?

a)

Methods are encryption types; status codes are error messages

b)

Methods are client requests like GET and POST; status codes are server responses like 200 or 404

c)

Methods are server responses; status codes are client requests

d)

Methods are URL structures; status codes are authentication levels

5.

In what language is the source code of a webpage typically written?

a)

Python and SQL

b)

HTML and JavaScript

c)

C++ and Java

d)

XML and CSS

6.

What are the key steps of an SSL connection?

a)

Compression and data transfer

b)

Authentication with a certificate and encryption choice

c)

URL resolution and method selection

d)

Session termination and cookie storage

7.

By what mechanisms can a user be sent to a malicious website?

a)

SQL injection or buffer overflow

b)

Pharming or phishing

c)

Cross-site scripting or session hijacking

d)

Cookie theft or malware infection

8.

What is OWASP?

a)

A web browser security standard

b)

The Open Web Application Security Project

c)

A database management system

d)

A protocol for secure connections

9.

What does the OWASP Top Ten refer to?

a)

The ten most popular web applications

b)

The ten most serious web security threats

c)

The ten most secure programming languages

d)

The ten most common encryption methods

10.

What is the most prominent threat according to OWASP?

a)

Cross-site scripting

b)

Code injection, particularly SQL injection

c)

Session hijacking

d)

Phishing attacks

11.

What does 'Insecure Direct Object' refer to?

a)

Weak encryption in databases

b)

Allowing unauthorized access to resources via predictable URLs

c)

Unvalidated user inputs

d)

Missing authentication checks

12.

What does 'unvalidated redirect' refer to?

a)

A redirect that bypasses encryption

b)

An automatic redirect to a malicious site

c)

A redirect requiring user authentication

d)

A redirect caused by SQL injection

13.

What criteria does OWASP use to select the Top Ten?

a)

Ease of exploitation and detectability

b)

Prevalence of the attack and severity of consequences

c)

Cost of mitigation and frequency of patches

d)

User awareness and attack complexity

14.

Why have the OWASP Top Ten changed over time?

a)

New programming languages emerged

b)

OWASP shifted focus to severity over prevalence

c)

Attackers stopped using older techniques

d)

Web browsers improved their security

15.

What is Cross Site Scripting (XSS)?

a)

Hijacking a user's session

b)

Injecting HTML or JavaScript code into a webpage

c)

Sending malicious SQL queries

d)

Redirecting users to fake websites

16.

Why is 'Cross Site Scripting' a misnomer?

a)

It only occurs on secure sites

b)

It doesn't always involve scripting across sites

c)

It refers to database attacks

d)

It is unrelated to web browsers

17.

How is a site tested for XSS vulnerability?

a)

By sending SQL queries

b)

By injecting HTML or JavaScript code

c)

By analyzing server logs

d)

By checking encryption strength

18.

What is a persistent (stored) XSS attack?

a)

An attack that redirects users temporarily

b)

An attack that permanently alters webpage content

c)

An attack that steals cookies instantly

d)

An attack that targets server databases

19.

What is a reflected XSS attack?

a)

An attack that persists in the webpage

b)

An attack that uses temporary code to steal data

c)

An attack that modifies server files

d)

An attack that targets the DOM structure

20.

What is the third form of XSS?

a)

SQL-based XSS

b)

DOM-based XSS

c)

Cookie-based XSS

d)

Session-based XSS

21.

What can an attacker achieve with an XSS attack?

a)

Modify server databases

b)

Access cookies, deface webpages, or spread malware

c)

Encrypt user data

d)

Block server access

22.

Which HTML tags are commonly used in XSS attacks?

a)

div and span

b)

iframe and script

c)

table and form

d)

p and h1

23.

What is the Document Object Model (DOM)?

a)

A protocol for secure connections

b)

A convention for structuring webpages

c)

A database management system

d)

A method for encrypting data

24.

How does DOM-based XSS work?

a)

By altering server-side code

b)

By using DOM calls to inject scripts

c)

By redirecting users to malicious sites

d)

By stealing server credentials

25.

How can one defend against XSS attacks?

a)

By using stronger encryption

b)

By sanitizing inputs and avoiding vulnerabilities

c)

By disabling JavaScript entirely

d)

By restricting server access

26.

What is the Same Origin Policy?

a)

A policy to encrypt user data

b)

A policy to prevent cross-site scripting

c)

A policy to validate redirects

d)

A policy to manage cookies

27.

What does AJAX stand for?

a)

Automated JavaScript and XML

b)

Asynchronous JavaScript and XML

c)

Advanced JavaScript and XSS

d)

Application JavaScript and XHR

28.

What is the key technology underlying AJAX?

a)

HTML5 Canvas

b)

XMLHttpRequest (XHR)

c)

WebSocket Protocol

d)

JSON Serialization

29.

What is an example of a CSRF attack?

a)

Injecting JavaScript into a webpage

b)

Hijacking a trusted bank session via a malicious site

c)

Stealing cookies through phishing

d)

Modifying a database with SQL

30.

How are CSRF attacks generally characterized?

a)

Using malicious code to alter webpages

b)

Abusing a website's trust in a user's credentials

c)

Sending fake emails to steal data

d)

Overloading a server with requests

31.

How does CSRF differ from XSS?

a)

CSRF abuses website trust in the user; XSS abuses user trust in the website

b)

CSRF targets databases; XSS targets browsers

c)

CSRF uses SQL; XSS uses JavaScript

d)

CSRF is server-side; XSS is client-side

32.

How can one defend against CSRF attacks?

a)

By encrypting all data transfers

b)

By requiring re-authentication and monitoring browser activity

c)

By disabling JavaScript on the client

d)

By using stronger passwords

33.

What is the Facebook CSRF 'worm'?

a)

A phishing email campaign

b)

A malicious photo that spreads via user walls

c)

A script that steals user passwords

d)

A virus that infects Facebook servers

34.

Why is the Facebook worm a CSRF attack, not phishing?

a)

It encrypts user data

b)

It uses user credentials to post content

c)

It redirects users to a fake login page

d)

It infects the server directly

35.

What is SQL and its purpose?

a)

A protocol for secure web connections

b)

A language for managing databases

c)

A scripting language for webpages

d)

A tool for encrypting data

36.

What is an SQL injection attack?

a)

Injecting JavaScript into a webpage

b)

Using SQL commands to breach a database

c)

Hijacking a user's session

d)

Redirecting users to malicious sites

37.

Why does OWASP consider SQL injection the worst threat?

a)

It is the most complex attack

b)

It often leads to credit card data breaches

c)

It is impossible to defend against

d)

It targets web browsers directly

38.

How does an SQL injection typically proceed?

a)

By exploiting URL redirects

b)

By using vulnerabilities like apostrophes or true statements

c)

By altering webpage scripts

d)

By overloading server memory

39.

Is it easy to avoid SQL injection attacks?

a)

Simple attacks are easy to avoid; sophisticated ones are harder

b)

All attacks are impossible to prevent

c)

All attacks are easily preventable

d)

Only server-side attacks are preventable

40.

What is the typical defense against SQL injection?

a)

Encrypting all database queries

b)

Sanitizing and filtering inputs

c)

Disabling database access

d)

Using stronger passwords

41.

How can attackers circumvent SQL filters?

a)

By using stronger encryption

b)

By obfuscating or using unusual inputs

c)

By targeting web browsers

d)

By disabling server logs

42.

What are the stages of an SQL injection attack?

a)

Encryption, execution, and termination

b)

Entering, information gathering, and attacking

c)

Redirection, scripting, and infection

d)

Authentication, querying, and deletion

43.

How does an attacker discover a database's structure?

a)

By analyzing webpage source code

b)

By querying and interpreting error messages

c)

By decrypting database files

d)

By hijacking user sessions

44.

What is a 'Blind' SQL injection attack?

a)

An attack with no user interaction

b)

An attack where error messages reveal minimal information

c)

An attack targeting encrypted databases

d)

An attack using visual exploits

45.

What are some major DBMSs?

a)

HTML, CSS, JavaScript

b)

MySQL, MS SQL, Oracle

c)

Apache, Nginx, IIS

d)

Python, Java, PHP

46.

What is metadata in the context of databases?

a)

Encrypted user data

b)

General information about the database

c)

Temporary query results

d)

Webpage source code

47.

What is an LDAP injection attack?

a)

Injecting code into webpages

b)

Injecting data into password directories

c)

Hijacking browser sessions

d)

Modifying SQL databases

48.

Are SQL injection dangers decreasing?

a)

Yes, due to better encryption

b)

No, they remain significant

c)

Yes, due to browser improvements

d)

No, but they are less severe

49.

What is the role of browsers?

a)

They encrypt all web traffic

b)

They transform HTML into webpages and send queries

c)

They manage server databases

d)

They authenticate users

50.

Which browsers were involved in the Aurora attack?

a)

Chrome and Firefox

b)

Internet Explorer 6 and 7

c)

Safari and Opera

d)

Edge and Netscape

51.

What is ASLR?

a)

A method to encrypt data

b)

Address Space Layout Randomization

c)

A protocol for secure connections

d)

A tool for filtering inputs

52.

What is DEP?

a)

Data Execution Prevention

b)

Dynamic Encryption Protocol

c)

Database Entry Protection

d)

Domain Extraction Process

53.

What is JIT, and what security concerns does it raise?

a)

Just In Time compiling; it risks executing malicious code

b)

JavaScript Injection Tool; it risks data leaks

c)

Justified Input Testing; it risks SQL injection

d)

Java Integration Technique; it risks session hijacking

54.

What is hijackware?

a)

Malware that encrypts data

b)

Malware that alters browser settings

c)

Malware that steals passwords

d)

Malware that blocks websites

55.

What is URL blacklisting?

a)

Blocking all URLs from a server

b)

Listing malicious websites to avoid

c)

Encrypting URL data

d)

Redirecting URLs to safe sites

56.

What does RIA stand for?

a)

Remote Internet Access

b)

Rich Internet Application

c)

Randomized Input Algorithm

d)

Restricted Interface Authentication

57.

What are layout engines, and how do they vary?

a)

They manage encryption; they vary by protocol

b)

They render webpages; they vary by browser

c)

They store cookies; they vary by user

d)

They filter inputs; they vary by server

58.

What is the role of the DOM?

a)

It encrypts webpage data

b)

It codifies webpage design

c)

It manages server queries

d)

It authenticates users

59.

What does XHR accomplish?

a)

It encrypts data transfers

b)

It updates webpage parts without reloading

c)

It blocks malicious scripts

d)

It stores user cookies

60.

Why are plug-ins needed?

a)

To manage databases

b)

To add functionality like video playback

c)

To encrypt connections

d)

To filter user inputs

61.

What security concerns do plug-ins raise?

a)

They slow down browsers

b)

They may introduce malware

c)

They block legitimate sites

d)

They disable encryption

62.

Why is Flash a notable security concern?

a)

It is slow to load

b)

It is a common malware distribution target

c)

It blocks webpage updates

d)

It requires constant updates

63.

What are the main browsers, and how is their market share evolving?

a)

IE, Firefox, Chrome; Chrome is gaining share

b)

Safari, Opera, Edge; Edge is dominant

c)

Netscape, Chrome, Firefox; Netscape is growing

d)

IE, Safari, Opera; Safari is declining

64.

What does the 'Browser war' refer to?

a)

Competition between plug-ins

b)

Rivalry between IE and Netscape, then Firefox

c)

Conflicts over encryption standards

d)

Battles over database access

65.

What is the smartphone OS and browser market share?

a)

Android and iOS dominate; Blackberry and Nokia decline

b)

Windows dominates; Android declines

c)

Blackberry and Nokia dominate; iOS declines

d)

Symbian and Windows dominate; Android grows

66.

How does Symantec quantify browser security?

a)

By market share

b)

By documented vulnerabilities

c)

By encryption strength

d)

By user adoption rates

67.

What did Symantec's 2010 report find?

a)

Firefox had the most vulnerabilities

b)

Chrome had many vulnerabilities due to bounty programs

c)

IE was the most secure

d)

Safari had no vulnerabilities

68.

What is JIT hardening?

a)

Encrypting JavaScript code

b)

Protecting against JIT spraying attacks

c)

Blocking browser plug-ins

d)

Filtering URL requests

69.

What is a Man in the Browser attack?

a)

A server-side data breach

b)

Malware controlling the browser

c)

A phishing email campaign

d)

A database injection attack

70.

How does OWASP provide defense recommendations?

a)

Through encryption protocols

b)

Through developer-focused cheat sheets

c)

Through browser updates

d)

Through database filters

71.

What is 'Broken Authentication and Session Management'?

a)

Weak encryption of data

b)

Tampering with a trusted session

c)

Redirecting users to malicious sites

d)

Injecting malicious scripts

72.

What defense does OWASP suggest for broken authentication?

a)

Disabling JavaScript

b)

Implementing strong authentication

c)

Encrypting all webpages

d)

Blocking user logins

73.

How do A-4 (Insecure Object References) and A-8 (Failure to Restrict URL Access) differ?

a)

They are identical issues

b)

They differ slightly in URL manipulation scope

c)

A-4 is server-side; A-8 is client-side

d)

A-4 uses encryption; A-8 does not

74.

How does OWASP recommend avoiding unvalidated redirects?

a)

By encrypting redirects

b)

By whitelisting valid redirect destinations

c)

By disabling redirects entirely

d)

By requiring user confirmation

75.

What is 'Insecure Cryptographic Storage'?

a)

Weak passwords in databases

b)

Exposing confidential data due to storage glitches

c)

Unencrypted webpage content

d)

Missing session cookies

76.

Are security misconfigurations easily avoidable?

a)

Always easy to avoid

b)

Some are avoidable, but not all

c)

Impossible to avoid

d)

Only avoidable with encryption

77.

What does XHR stand for and do?

a)

XML High Resolution; it encrypts data

b)

XMLHTTPRequest; it enables asynchronous data exchange

c)

Extended HTTP Request; it filters inputs

d)

XML Hyperlink Resource; it redirects users

78.

Does XHR support only one method?

a)

Yes, only GET

b)

No, it supports GET and POST

c)

Yes, only POST

d)

No, it supports SQL and JSON

79.

What is the security concern with XHR?

a)

It slows down webpages

b)

It may allow injection of malicious content

c)

It blocks legitimate queries

d)

It disables encryption

80.

What is the DOM's structure?

a)

A linear list

b)

A tree structure

c)

A tabular format

d)

A sequential array

81.

Why was DOM deemed useful/necessary?

a)

To encrypt webpage data

b)

To facilitate complex website design

c)

To manage server queries

d)

To store user credentials

82.

What is JSON?

a)

JavaScript Object Notation

b)

Java Serialized Object Network

c)

Joint Scripting Online Notation

d)

JavaScript Secure Object Node

83.

What does 'serialization' refer to, and what security concerns does it promote?

a)

Converting data for storage; it risks malicious data inclusion

b)

Encrypting data; it risks decryption failures

c)

Compressing data; it risks data loss

d)

Indexing data; it risks database corruption

84.

What is a 'penetration tester'?

a)

A tool for encrypting data

b)

A program or person testing website vulnerabilities

c)

A protocol for secure connections

d)

A filter for user inputs

85.

What does sqlmap do?

a)

It encrypts databases

b)

It tests SQL databases for injection vulnerabilities

c)

It manages webpage layouts

d)

It filters browser requests

86.

What is the 'Burp Suite'?

a)

A browser plug-in

b)

A tool for analyzing and attacking websites

c)

A database management system

d)

A protocol for secure transfers

87.

What does Burp Suite do when acting as a proxy?

a)

It encrypts all traffic

b)

It intercepts HTTP queries from the browser

c)

It blocks malicious sites

d)

It manages user sessions

88.

What do the 'spider' and scanner in Burp Suite do?

a)

They encrypt and decrypt data

b)

They crawl URLs and scan for vulnerabilities

c)

They manage cookies and sessions

d)

They filter user inputs

89.

What is BeEF, and what does it enable with Burp or sqlmap?

a)

A database tool; it encrypts queries

b)

A browser exploitation tool; it enables browser-based attacks

c)

A webpage editor; it modifies layouts

d)

A proxy server; it filters traffic

90.

Can these tools be used by attackers?

a)

No, they are strictly defensive

b)

Yes, they can be used maliciously

c)

Only if modified

d)

Only by authorized users

91.

What is a "penetration tester"?

a)

A tool for encrypting data

b)

A program or person testing website vulnerabilities

c)

A protocol for secure connections

d)

A filter for user inputs

92.

What does sqlmap do?

a)

It encrypts databases

b)

It tests SQL databases for injection vulnerabilities

c)

It manages webpage layouts

d)

It filters browser requests

93.

What is the "Burp Suite"?

a)

A browser plug-in

b)

A tool for analyzing and attacking websites

c)

A database management system

d)

A protocol for secure transfers

94.

What does Burp Suite do when acting as a proxy?

a)

It encrypts all traffic

b)

It intercepts HTTP queries from the browser

c)

It blocks malicious sites

d)

It manages user sessions

95.

What do the "spider" and scanner in Burp Suite do?

a)

They encrypt and decrypt data

b)

They crawl URLs and scan for vulnerabilities

c)

They manage cookies and sessions

d)

They filter user inputs

96.

What is BeEF, and what does it enable with Burp or sqlmap?

a)

A database tool; it encrypts queries

b)

A browser exploitation tool; it enables browser-based attacks

c)

A webpage editor; it modifies layouts

d)

A proxy server; it filters traffic

97.

Can these tools be used by attackers?

a)

No, they are strictly defensive

b)

Yes, they can be used maliciously

c)

Only if modified

d)

Only by authorized users

98.

What was the smartphone market share in 2011?

a)

iOS and Android dominated; Blackberry and Nokia declinedBlackberry and Nokia led; iOS declined

b)

Blackberry and Nokia led; iOS declined

c)

Windows dominated; Android grew

d)

Symbian led; iOS and Android declined

99.

What is ENISA?

a)

A web security protocol

b)

The European Network Information Security Agency

c)

A database management system

d)

A browser plug-in

100.

What are ENISA’s top three smartphone security threats?

a)

SMShing, war-texting, Bluetooth snooping

b)

Loss of device, data disclosure, decommissioned devices

c)

SQL injection, XSS, CSRF

d)

Phishing, malware, session hijacking

101.

How does ENISA’s threat list compare to magazine lists?

a)

They are identical

b)

Magazines focus on non-device-specific threats

c)

Magazines focus on device loss

d)

Magazines ignore cybersecurity

102.

What is the "one minute attack"?

a)

A rapid SQL injection

b)

A spyware attack exposing smartphone content

c)

A phishing email campaign

d)

A server overload attack

103.

What was the DroidDream incident?

a)

A phishing attack on iOS

b)

Malware in 50 Android apps

c)

A data breach on Blackberry

d)

A server attack on Nokia

104.

What security concerns does cloud computing raise?

a)

Slow webpage loading

b)

Remote storage of sensitive data

c)

Weak browser encryption

d)

Limited database access