wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Network and Security Quiz

Total questions: 25

Worksheet time: 13mins

Name
Class
Date
1.

A company wants to block all incoming traffic from a specific country to prevent common cyberattacks originating from that region. Which security tool is best suited for this task?

a)

An Intrusion Detection System (IDS)

b)

An Intrusion Prevention System (IPS)

c)

A packet-filtering firewall

d)

A Web Application Firewall (WAF)

2.

An administrator notices a high volume of unauthorized login attempts to a server from a single IP address. Which security device is designed to both detect this activity and automatically block the source IP address in real-time?

a)

Firewall

b)

Intrusion Detection System (IDS)

c)

Intrusion Prevention System (IPS)

d)

Load Balancer

3.

Which of the following is a key advantage of using HTTPS over HTTP?

a)

It is faster.

b)

It uses a simpler protocol.

c)

It encrypts the data in transit.

d)

It is less vulnerable to DDoS attacks.

4.

A network security professional decides to implement a stateful firewall. Why is this considered more secure than a simple packet-filtering firewall?

a)

It inspects the content of the data packet.

b)

It can detect and block viruses.

c)

It keeps a record of active connections and only allows traffic that is part of an established session.

d)

It is much cheaper and easier to configure.

5.

Your server is configured to allow SSH connections. Which protocol's secure counterpart should you use to ensure your remote management is protected from eavesdropping?

a)

HTTP

b)

SFTP

c)

Telnet

d)

FTP

6.

Which of the following is a core principle of 'OS hardening'?

a)

Installing a new operating system.

b)

Reducing the attack surface by disabling unnecessary services.

c)

Encrypting the entire hard drive.

d)

Installing a third-party antivirus program.

7.

A malicious actor gains control of a user's Windows laptop by exploiting a memory-based vulnerability. The attacker never writes a file to the hard drive. Which security solution is specifically designed to detect this type of fileless malware?

a)

Traditional signature-based antivirus

b)

A host-based firewall

c)

A Network Intrusion Detection System (NIDS)

d)

An Endpoint Detection and Response (EDR) solution

8.

In Linux, what is a fundamental practice for securing the system?

a)

Allowing direct root login for convenience.

b)

Using the sudo command to run all applications.

c)

Disabling all file permissions.

d)

Regularly applying patches and updates.

9.

Which Windows Group Policy setting prevents pass-the-hash attacks?

a)

Enable Windows Defender

b)

Restrict NTLM authentication

c)

Disable Registry Editor

d)

Block USB drives

10.

A Linux server has PasswordAuthentication yes in /etc/ssh/sshd_config. What’s the risk?

a)

Brute-force attacks on SSH

b)

DNS leakage

c)

SQL injection

d)

CSRF vulnerabilities

11.

A web form accepts user input directly into an SQL query without sanitization. This is vulnerable to:

a)

SQL Injection

b)

XSS

c)

Clickjacking

d)

DoS

12.

Which OWASP Top 10 risk involves manipulating session tokens?

a)

Broken Authentication

b)

Insecure Deserialization

c)

Security Misconfiguration

d)

XXE

13.

A WAF (Web Application Firewall) can block which attack by inspecting HTTP headers?

a)

Cross-Site Scripting (XSS)

b)

IP spoofing

c)

ARP poisoning

d)

BIOS exploits

14.

Storing passwords as plaintext in a database violates which OWASP principle?

a)

Sensitive Data Exposure

b)

Broken Access Control

c)

Insufficient Logging

d)

Using Known Vulnerabilities

15.

What is the primary purpose of CSP (Content Security Policy)?

a)

Mitigate XSS by restricting script sources

b)

Encrypt database backups

c)

Block DDoS attacks

d)

Manage VPN access

16.

In the AWS Shared Responsibility Model, who manages OS patching for EC2 instances?

a)

AWS

b)

The customer

c)

ISP

d)

Third-party auditor

17.

An IoT device with default credentials admin:admin is vulnerable to:

a)

Mirai botnet infection

b)

SQL Injection

c)

CSRF

d)

DNS hijacking

18.

Which OWASP Top 10 vulnerability occurs when user input modifies backend queries?

a)

XSS

b)

CSRF

c)

SQL Injection

d)

Insecure Deserialization

19.

WAFs are primarily designed to protect against:

a)

Layer 2 attacks

b)

Application-layer attacks (SQLi, XSS)

c)

Malware infections on endpoints

d)

Physical access to servers

20.

A banking web app allows users to perform transactions without CSRF tokens. What risk exists?

a)

Session hijacking

b)

Cross-site request forgery attack

c)

Privilege escalation

d)

Buffer overflow

21.

Which OWASP Top 10 issue is MOST relevant if an application uses default admin passwords?

a)

Broken Authentication

b)

Security Misconfiguration

c)

Insecure Logging

d)

Injection

22.

In defending against XSS, which is the MOST effective practice?

a)

Use CAPTCHA

b)

Input sanitization & output encoding

c)

Enable HTTP on port 80

d)

Disable SSL certificates

23.

In cloud environments, IAM best practices recommend:

a)

Use of root account for daily tasks

b)

Least privilege principle for users and services

c)

Sharing credentials across teams

d)

Disabling MFA for admins

24.

A banking web app allows users to perform transactions without CSRF tokens. What risk exists?

a)

Session hijacking

b)

Cross-site request forgery attack

c)

Privilege escalation

d)

Buffer overflow

25.

A developer accidentally commits cloud API keys to GitHub. What is the immediate action?

a)

Ignore if repository is private

b)

Rotate/revoke exposed keys immediately

c)

Wait for next security audit

d)

Disable MFA