wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Module 9 CSEC

Total questions: 70

Worksheet time: 35mins

Name
Class
Date
1.

What are the three key elements that define a secure application?

a)

Confidentiality, integrity, and availability

b)

Speed, efficiency, and reliability

c)

Usability, design, and functionality

d)

Cost, scalability, and performance

2.

What is a restricted resource in the context of a secure application?

a)

Any object, data, feature, or function designed to be accessed by only authorized users

b)

Any publicly available data

c)

Any resource that is free to use

d)

Any outdated software component

3.

Why are perimeter security controls like firewalls and IDS systems not sufficient to secure applications?

a)

They are too expensive to maintain.

b)

They cannot defend against application layer attacks.

c)

They are outdated technologies.

d)

They require constant manual monitoring.

4.

Which ports are generally open on perimeter devices for legitimate web traffic?

a)

21 and 22

b)

25 and 110

c)

80 and 443

d)

8080 and 8443

5.

What is one of the responsibilities of application security administration?

a)

Installing new applications

b)

Preventing applications from creating and modifying executable files

c)

Developing new software

d)

Designing user interfaces

6.

Which of the following is a practice involved in application security administration?

a)

Application design

b)

Application whitelisting/blacklisting

c)

Application marketing

d)

Application testing

7.

What does application security administration aim to protect against?

a)

Software development errors

b)

Security risks from security misconfigurations

c)

Network speed issues

d)

User interface bugs

8.

What is one of the key components of the Application Security Frame?

a)

Input Validation

b)

Data Encryption

c)

Network Segmentation

d)

User Interface Design

9.

Which of the following is a method used for securing the network in the Application Security Frame?

a)

Router

b)

Data Masking

c)

Load Balancing

d)

User Training

10.

What is a component of securing the host according to the Application Security Frame?

a)

Patches and Updates

b)

Data Compression

c)

User Interface Testing

d)

Network Redundancy

11.

Why should we care about application security?

a)

Applications are becoming popular targets for attackers.

b)

Applications are easy to develop.

c)

Applications are rarely used.

d)

Applications are always secure.

12.

What do we need for application security?

a)

Occasional security checks.

b)

Constant security vigilance.

c)

Security only during deployment.

d)

No security measures.

13.

Who is responsible for application security?

a)

Only developers.

b)

Only managers.

c)

Managers, architects, developers, testers, and administrators.

d)

Only testers.

14.

What can result from security negligence at the design and architecture phase?

a)

Increased efficiency in production

b)

Easier detection of vulnerabilities

c)

Vulnerabilities that are difficult to detect and expensive to fix

d)

Improved software performance

15.

What is the benefit of security vigilance at the design phase?

a)

Delays in the software development lifecycle

b)

Detecting potential security flaws early

c)

Increased cost of development

d)

Reduced software functionality

16.

On what is the secure design of an application based?

a)

Aesthetic requirements

b)

Security requirements identified in the previous phase of the SDLC

c)

User interface design

d)

Marketing strategies

17.

Why is secure design considered a challenging process?

a)

It is easy to implement

b)

It requires no security controls

c)

Designing required security controls may obstruct business functionality requirements

d)

It always reduces costs

18.

What is the first step in the secure design process?

a)

Designing

b)

Enforcing

c)

Identifying

d)

Implementing

19.

What does the designing phase focus on in the secure design process?

a)

Identifying threats

b)

Enforcing security principles

c)

Designing an architecture to mitigate threats

d)

Testing the code

20.

What is the goal of the enforcing phase in the secure design process?

a)

To identify potential threats

b)

To design a user-friendly interface

c)

To enforce secure design principles

d)

To deploy the application

21.

What is the purpose of security requirement specifications in secure design actions?

a)

To perform threat modeling

b)

To design secure application architecture

c)

To define secure coding standards

d)

To design the application according to security specifications gathered at requirement phase

22.

Which action involves defining secure coding standards in secure design?

a)

Security Requirement Specifications

b)

Secure Design Principles

c)

Threat Modeling

d)

Secure Application Architecture

23.

What is the main focus of threat modeling in secure design actions?

a)

To design secure application architecture

b)

To perform threat modeling to know your threats

c)

To define secure coding standards

d)

To gather security specifications

24.

In secure design actions, what is the goal of secure application architecture?

a)

To perform threat modeling

b)

To design secure application architecture

c)

To define secure coding standards

d)

To gather security specifications

25.

What are software security requirements classified as?

a)

Functional requirements

b)

Non-functional requirements

c)

User interface requirements

d)

Database requirements

26.

When are security requirements often overlooked?

a)

During the testing phase

b)

During the inception phase

c)

During the deployment phase

d)

During the maintenance phase

27.

What can negligence in gathering security requirements lead to?

a)

Improved application performance

b)

Increased user satisfaction

c)

Vulnerability to attacks

d)

Faster development time

28.

What should be part of the strategic application development process?

a)

Gathering user feedback

b)

Gathering security requirements

c)

Gathering design specifications

d)

Gathering marketing strategies

29.

What are secure design principles?

a)

Guidelines for developers to follow during the development phase

b)

A set of coding standards

c)

A type of software testing

d)

A method for user interface design

30.

How do secure design principles help in software development?

a)

They improve user experience

b)

They help in deriving secure architectural decisions

c)

They increase the speed of development

d)

They reduce the cost of development

31.

What is one of the benefits of applying secure design principles?

a)

They enhance the visual design of applications

b)

They help to eliminate design and architecture flaws

c)

They increase the number of features in an application

d)

They simplify the user interface

32.

Which principle focuses on minimizing the permissions granted to users and systems?

a)

Security through obscurity

b)

Use least privilege principle

c)

Secure by default

d)

Apply defense in depth

33.

What is the principle of designing systems to continue operating even when they fail?

a)

Fail securely

b)

Fault detection

c)

Secure memory management

d)

Reduce attack surface

34.

Which principle involves ensuring that security is considered during the initial stages of system design?

a)

Exception handling

b)

Apply security in design phase

c)

Fault removal

d)

Enable auditing and logging

35.

What principle is aimed at reducing the number of potential entry points for attackers?

a)

Reduce attack surface

b)

Separation of duties

c)

Fault tolerance

d)

Avoid dead code

36.

Which principle involves dividing responsibilities among multiple people to prevent fraud or error?

a)

Secure by default

b)

Separation of duties

c)

Protect memory or storage secrets

d)

Fault avoidance

37.

What is the primary purpose of threat modeling?

a)

To design new software features

b)

To identify, analyze, and mitigate threats to an application

c)

To improve user interface design

d)

To increase application speed

38.

At which phase of the secure development lifecycle is threat modeling performed?

a)

Testing phase

b)

Deployment phase

c)

Design phase

d)

Maintenance phase

39.

What does the output of threat modeling provide?

a)

A list of software bugs

b)

A threats model exposing all possible threats and vulnerabilities

c)

A new application feature

d)

A user satisfaction report

40.

How does threat modeling help developers in terms of application architecture?

a)

It helps in designing user interfaces

b)

It allows developers to rate threats based on architecture and implementation

c)

It speeds up the application

d)

It reduces the cost of development

41.

What is the first step in the Threat Modeling Process?

a)

Application Overview

b)

Identify Security Objectives

c)

Identify Threats

d)

Risk and Impact Analysis

42.

Which step involves analyzing the potential risks and impacts in the Threat Modeling Process?

a)

Identify Vulnerabilities

b)

Decompose the Application

c)

Risk and Impact Analysis

d)

Identify Security Objectives

43.

In the Threat Modeling Process, what step comes after 'Decompose the Application'?

a)

Identify Threats

b)

Identify Vulnerabilities

c)

Application Overview

d)

Risk and Impact Analysis

44.

What are the three tiers of a typical web application architecture?

a)

Web, application, and database

b)

User interface, server, and network

c)

Frontend, backend, and middleware

d)

Client, server, and storage

45.

Why is security at one tier not sufficient in a web application architecture?

a)

It increases the cost of development

b)

Attackers can breach another tier to compromise the application

c)

It makes the application slower

d)

It complicates the user interface

46.

What principle should be used to design a secure web application architecture?

a)

Single-layer security

b)

Defense-in-depth

c)

Minimalist design

d)

Open access

47.

Which of the following is NOT included in a multi-tiered security approach?

a)

Proper input validation

b)

Database layer abstraction

c)

User interface design

d)

Data encryption

48.

What is the primary benefit of applying multiple layer security in application architecture design?

a)

Increases application speed

b)

Makes application robust and secure

c)

Reduces application cost

d)

Simplifies application design

49.

Which tier is responsible for input validation and user authorization?

a)

Tier 1

b)

Tier 2

c)

Tier 3

d)

Internet

50.

What function is performed at Tier 2 in a secure application architecture?

a)

Encrypting data

b)

Input validation

c)

Authenticating and authorizing upstream identities

d)

Running a browser

51.

Which tier can encrypt or hash the data stored in the database?

a)

Tier 1

b)

Tier 2

c)

Tier 3

d)

Firewall

52.

What is input validation?

a)

The process of verifying and testing user inputs from untrusted data sources

b)

The process of encrypting data for secure transmission

c)

The process of backing up data to prevent loss

d)

The process of optimizing database queries

53.

What is the simplest defensive technique used to secure web applications from injection attacks?

a)

Input validation

b)

Data encryption

c)

Firewall installation

d)

User authentication

54.

Which of the following is NOT a factor to validate input against?

a)

Data type

b)

Allowed character set

c)

Color of the input field

d)

Minimum and maximum length

55.

Why are proper input validation techniques used in web applications?

a)

To enhance the visual design of the application

b)

To eliminate vulnerabilities in web applications

c)

To increase the speed of the application

d)

To reduce the cost of development

56.

What is a key benefit of using parameterized queries in SQL?

a)

They allow embedding parameters directly in the query.

b)

They help distinguish between code and data irrespective of user input.

c)

They make the query run faster.

d)

They allow attackers to change the intent of the query.

57.

How do parameterized stored procedures differ from non-parameterized ones?

a)

Parameterized stored procedures are stored with values supplied to them.

b)

Non-parameterized stored procedures are stored with values supplied to them.

c)

Parameterized stored procedures do not allow SQL code to be written first.

d)

Non-parameterized stored procedures allow dynamic parameter supply.

58.

What is the main purpose of parameterized queries?

a)

To embed parameters directly in the SQL query.

b)

To allow attackers to change the query intent.

c)

To supply each parameter dynamically later.

d)

To make the query more complex.

59.

What is Unicode normalization?

a)

The process of converting strings to binary

b)

The process of normalizing strings and determining whether two given Unicode strings are equivalent based on the chosen normalization form

c)

The process of encrypting Unicode strings

d)

The process of compressing Unicode strings

60.

Why is normalization mandatory in Unicode?

a)

Because it increases the size of the data

b)

Because it makes data encryption easier

c)

Because a character string can have many alternative representations

d)

Because it reduces the number of characters

61.

What do web applications use to handle unknown input strings?

a)

Data compression algorithms

b)

Input filters and validation processes

c)

Encryption keys

d)

Data sorting algorithms

62.

When is input validation applied to prevent vulnerabilities such as cross-site scripting (XSS)?

a)

Before normalizing the strings

b)

After normalizing the strings

c)

During data encryption

d)

During data compression

63.

What is the purpose of output encoding in secure coding practices?

a)

To convert special characters into a different format to prevent vulnerabilities

b)

To enhance the speed of data processing

c)

To compress data for storage efficiency

d)

To encrypt data for secure transmission

64.

How does output encoding help in web security?

a)

It compresses data for faster loading

b)

It converts input characters into their equivalent encoded values for web pages

c)

It encrypts data for secure storage

d)

It enhances the visual appearance of web pages

65.

Which type of attack can output encoding help prevent?

a)

Denial of Service (DoS)

b)

Phishing

c)

Cross-site scripting (XSS)

d)

Man-in-the-middle

66.

What are exceptions in the context of programming?

a)

Regular operations in a program

b)

Unusual errors during execution

c)

User inputs

d)

Successful program completions

67.

What is the purpose of exception handling in programming?

a)

To ignore errors

b)

To anticipate, detect, and resolve errors

c)

To slow down the program

d)

To enhance graphics

68.

What can improper error or exception handling lead to?

a)

Faster program execution

b)

System crashes or failures during operations

c)

Improved user interface

d)

Increased memory usage

69.

How can error handling affect an application?

a)

It can improve graphics

b)

It can affect confidentiality, integrity, and availability of data

c)

It can increase processing speed

d)

It can reduce storage requirements

70.

Why does the error handling mechanism need to be secure?

a)

To enhance user experience

b)

To prevent the application from entering an unknown state

c)

To increase the application's speed

d)

To reduce the application's size