Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Week 10 - Cyber Attacks Exercise 2

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

What is a brute-force attack in cryptography?

a)

An attack that uses mathematical formulas to decrypt data.

b)

An attack that involves trying all possible keys to decrypt the data.

c)

An attack that involves manipulating the key during encryption.

d)

An attack that exploits weak encryption algorithms.

2.

Which of the following is a type of attack that tries to discover the encryption key by analyzing patterns in ciphertext?

a)
  • Birthday attack

b)

Dictionary attack

c)
  • Ciphertext-only attack

d)

Man-in-the-middle attack

3.

Which attack involves intercepting and altering the communication between two parties without their knowledge?

a)

Brute-force attack

b)

Replay attack

c)

Man-in-the-middle attack

d)

Side-channel attack

4.

A cryptographic attack that exploits weaknesses in a hash function to produce two different messages with the same hash value is called what?

a)

Collision attack

b)

Birthday attack

c)

Chosen-plaintext attack

d)

Differential attack

5.

In which type of cryptographic attack does the attacker have access to both the plaintext and its corresponding ciphertext?

a)

Known-plaintext attack

b)

Chosen-ciphertext attack

c)

Chosen-plaintext attack

d)

Ciphertext-only attack

6.

What type of attack involves flooding a target with excessive traffic, causing a denial of service?

a)

SQL Injection

b)

Denial of Service (DoS)

c)

Cross-Site Scripting (XSS)

d)

Buffer Overflow

7.

Which attack targets a vulnerability in web applications that allows attackers to execute malicious SQL statements?

a)

Cross-Site Request Forgery (CSRF)

b)

Cross-Site Scripting (XSS)

c)

Directory Traversal

d)

SQL Injection

8.

Which of the following attacks allows an attacker to inject malicious scripts into web pages viewed by other users?

a)

Cross-Site Scripting (XSS)

b)

Session Hijacking

c)

Denial of Service (DoS)

d)

Man-in-the-middle attack

9.

What is a buffer overflow attack?

a)

An attack where an attacker sends more data to a buffer than it can handle, causing memory corruption.

b)

An attack that exploits weak encryption algorithms.

c)

An attack where an attacker floods a network with excessive traffic.

d)

An attack where an attacker intercepts network communication.

10.

Which type of attack exploits a session ID to impersonate a legitimate user and gain unauthorized access to a system?

a)

Cross-Site Request Forgery (CSRF)

b)

Session Hijacking

c)

Phishing

d)

DNS Spoofing