WorksheetsWeb Application Architecture Quiz
Total questions: 14
Worksheet time: 7mins
What are web applications primarily designed to run on?
Mobile devices
Web browsers
Server operating systems
Desktop applications
Which of the following is a client-side scripting technology?
JavaScript
PHP
Python
Ruby
What is the primary role of the Business Logic Layer?
To process HTTP requests
To manage user interfaces
To handle core application logic
To store application data
Which layer is responsible for storing and managing application data?
Client/Presentation Layer
Network Layer
Business Logic Layer
Database Layer
What type of attack involves manipulating SQL queries to gain unauthorized access?
Command Injection
SQL Injection
Session Hijacking
Cross-Site Scripting
Which of the following is a common server-side scripting language?
HTML
CSS
Java
JavaScript
What is the purpose of the B2B Layer in web applications?
To store user data
To handle external service interactions
To manage user sessions
To render web pages
Which of the following is a method to prevent Cross-Site Scripting (XSS)?
Regular software updates
Input validation and output escaping
Implementing strong passwords
Using HTTP-Only cookies
What does the term 'session fixation' refer to?
Stealing session cookies
Injecting malicious scripts
Exploiting weak passwords
Manipulating session IDs to gain unauthorized access
Which layer directly interacts with users in a web application?
Database Layer
Business Logic Layer
Client/Presentation Layer
Network Layer
What is a common consequence of SQL Injection attacks?
Data encryption
Unauthorized data access
Session timeout
User authentication failure
Which of the following is NOT a type of Cross-Site Scripting (XSS)?
Reflected XSS
Stored XSS
Session XSS
DOM-Based XSS
What is the main function of the Client/Presentation Layer?
To store application data
To present the user interface and handle user inputs
To manage database interactions
To process business logic
Which of the following technologies is commonly used in the Database Layer?
HTML
CSS
JavaScript
MySQL
