Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Web Application Architecture Quiz

Total questions: 14

Worksheet time: 7mins

Name
Class
Date
1.

What are web applications primarily designed to run on?

a)

Mobile devices

b)

Web browsers

c)

Server operating systems

d)

Desktop applications

2.

Which of the following is a client-side scripting technology?

a)

JavaScript

b)

PHP

c)

Python

d)

Ruby

3.

What is the primary role of the Business Logic Layer?

a)

To process HTTP requests

b)

To manage user interfaces

c)

To handle core application logic

d)

To store application data

4.

Which layer is responsible for storing and managing application data?

a)

Client/Presentation Layer

b)

Network Layer

c)

Business Logic Layer

d)

Database Layer

5.

What type of attack involves manipulating SQL queries to gain unauthorized access?

a)

Command Injection

b)

SQL Injection

c)

Session Hijacking

d)

Cross-Site Scripting

6.

Which of the following is a common server-side scripting language?

a)

HTML

b)

CSS

c)

Java

d)

JavaScript

7.

What is the purpose of the B2B Layer in web applications?

a)

To store user data

b)

To handle external service interactions

c)

To manage user sessions

d)

To render web pages

8.

Which of the following is a method to prevent Cross-Site Scripting (XSS)?

a)

Regular software updates

b)

Input validation and output escaping

c)

Implementing strong passwords

d)

Using HTTP-Only cookies

9.

What does the term 'session fixation' refer to?

a)

Stealing session cookies

b)

Injecting malicious scripts

c)

Exploiting weak passwords

d)

Manipulating session IDs to gain unauthorized access

10.

Which layer directly interacts with users in a web application?

a)

Database Layer

b)

Business Logic Layer

c)

Client/Presentation Layer

d)

Network Layer

11.

What is a common consequence of SQL Injection attacks?

a)

Data encryption

b)

Unauthorized data access

c)

Session timeout

d)

User authentication failure

12.

Which of the following is NOT a type of Cross-Site Scripting (XSS)?

a)

Reflected XSS

b)

Stored XSS

c)

Session XSS

d)

DOM-Based XSS

13.

What is the main function of the Client/Presentation Layer?

a)

To store application data

b)

To present the user interface and handle user inputs

c)

To manage database interactions

d)

To process business logic

14.

Which of the following technologies is commonly used in the Database Layer?

a)

HTML

b)

CSS

c)

JavaScript

d)

MySQL