wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Network Security and Protocols Quiz

Total questions: 102

Worksheet time: 51mins

Name
Class
Date
1.

The improved security standard 802.11i incorporates the Extensible Authentication Protocol. What does the acronym EAP stand for?

a)

Enhanced Access Protocol

b)

Encrypted Authentication Process

c)

Electronic Access Point

d)

Extensible Authentication Protocol

2.

In the 802.11i/EAP, the AP/Access Point is given the following name:

a)

Supplicant

b)

Client

c)

Server

d)

Authenticator

3.

In the 802.11i/EAP, the client station is given the following name:

a)

Authenticator

b)

Supplicant

c)

Access Point

d)

Server

4.

In the following ACL table, the firewall will:

a)

Allow all packets from and to the network

b)

Allow only specific packets

c)

Deny only specific packets

d)

Deny all packets from and to the network

5.

To allow outgoing DNS queries, which iptables rule would you typically add?

a)

iptables -A INPUT -p udp --dport 53 -j ACCEPT

b)

iptables -A OUTPUT -p udp --dport 53 -j ACCEPT

c)

iptables -A FORWARD -p udp --dport 53 -j ACCEPT

d)

iptables -A PREROUTING -p udp --dport 53 -j ACCEPT

6.

In the context of firewalls, a set of rules that define which network traffic is allowed or denied is commonly referred to as a(n):

a)

Network Security Protocol

b)

Advanced Configuration Logic

c)

Access Control List

d)

Firewall Rule Set

7.

In the following ACL table, the firewall will:

a)

Allow HTTP packets from users to servers and from servers to users.

b)

Allow DNS from and to the internal network.

c)

Block all incoming and outgoing traffic.

d)

Allow FTP traffic only.

8.

WPA protocol uses the following Integrity check:

a)

SHA-1

b)

MD5

c)

SHA-2

d)

64-Bit MIC (Message Integrity Check)

9.

The combination of key exchange, hash, and encryption algorithms defines a (a)   for each SSL session.

10.

SSL stage in which the two entities use their certificates and private keys to authenticate each other and exchange shared secrets:

a)

Handshake

b)

Encryption

c)

Key exchange

d)

Session initiation

11.

In the following ACL table, the firewall will:

a)

Allow all traffic from the internal network to the external network.

b)

Allow DNS from and to the internal network.

c)

Allow HTTP and DNS from and to the internal network.

d)

Deny all traffic.

12.

With respect to IPSec, which field is used to prevent the play-back attack?

a)

SPI

b)

Seq#

c)

ESP auth

d)

Padding

13.

Related to the IPSec diagrams below (with data flowing from left to right): the source IP address in the new IP header is:

a)

172.16.2.1

b)

193.168.1.1

c)

193.68.2.23

d)

172.16.1.2

14.

During an authentication challenge, a server might issue a unique value to a client, requiring the client to manipulate it in a specific way to prove its identity. This server-generated value is often called a:

a)

Token

b)

Challenge

c)

Password

d)

Key

15.

The base64 encoding works by encrypting:

a)

8 bits at a time.

b)

4 bits at a time.

c)

6 bits at a time.

d)

2 bits at a time.

16.

The aspect of security where the sender or receiver wants to ensure the message is not altered (in transit or afterwards) is called:

a)

Confidentiality

b)

Authentication

c)

Message integrity

d)

Non-repudiation

17.

Which iptables rule would allow incoming TCP traffic on port 443 (HTTPS) from the entire subnet 192.168.1.0/24?

a)

iptables -A INPUT -p tcp -s 192.168.1.0/24 --dport 80 -j ACCEPT

b)

iptables -A INPUT -p udp -s 192.168.1.0/24 --dport 443 -j ACCEPT

c)

iptables -A INPUT -p tcp -s 192.168.1.0/24 --dport 443 -j ACCEPT

d)

iptables -A OUTPUT -p tcp -s 192.168.1.0/24 --dport 443 -j ACCEPT

18.

SSL provides:

a)

Encryption

b)

Integrity

c)

Authentication

d)

All of the above

19.

One of the famous AAA server protocols:

a)

SHA-256

b)

Kerberos

c)

OAuth

d)

RADIUS

20.

Within an SSL/TLS session, a mechanism exists to ensure that the order of transmitted data records is maintained and protected against manipulation. This protection against record reordering is achieved by incorporating:

a)

Timestamp with each record

b)

Sequence number with the MAC of each record

c)

Digital signature with each record

d)

Encryption of each record

21.

Given the encryption formula c(i)=ks(i)•m(i), the original message m(i) can be recovered through which decryption process?

a)

m(i)=c(i)•ks(i)

b)

m(i)=ks(i)•c(i)

c)

m(i)=c(i)/ks(i)

d)

m(i)=ks(i)/c(i)

22.

In the following ACL table, the firewall will:

a)

Block all incoming traffic

b)

Allow only DNS packets

c)

Allow HTTP (packets from users to servers and servers to users) and DNS packets from and to the internal network

d)

Deny all outgoing traffic

23.

Which of the following OpenSSL commands is used to generate a new RSA private key?

a)

openssl genrsa -out private.key 2048

b)

openssl rsa -in private.key -out public.key

c)

openssl req -new -key private.key -out request.csr

d)

openssl enc -aes-256-cbc -in file.txt -out file.enc

24.

WPA protocol uses the following encryption:

a)

AES-CCMP

b)

TKIP (Temporal Key Integrity Protocol) with RC4

c)

Both TCP and DCTCP

d)

SHA-256

25.

Which of the following protocols is commonly used by DNS?

a)

TCP only

b)

Both TCP and DCTCP

c)

AES-CCMP

d)

SHA-256

26.

One of the famous AAA server protocols:

a)

SHA-256

b)

Diameter

c)

AES-CCMP

d)

TKIP with RC4

27.

Ready for the Security+ Exam

a)

True

b)

False

28.

With stateful packet filters, a packet is forwarded/dropped based on:

a)

Link layer header as well as established connections

b)

Only the link layer header

c)

Only established connections

d)

Neither

29.

With respect to IPSec, which fields is/are sent in the clear (un-encrypted):

a)

New IP header

b)

ESP hdr

c)

Both a and b

d)

Neither

30.

SSL stage in which data to be transferred is broken into a series of records and transmitted in encrypted form:

a)

Key derivation

b)

Data transfer

c)

Authentication

d)

Handshake

31.

The most prevalent and crucial mode of operation for the Encapsulating Security Payload (ESP) protocol within IPSec is:

a)

Transport mode with ESP

b)

Tunnel mode with ESP

c)

Authentication mode

d)

Encryption mode

32.

To prevent attackers from manipulating the order of data segments within an SSL/TLS communication session, the protocol incorporates:

a)

A timestamp for each record

b)

A digital signature for each record

c)

A sequence number combined with a message integrity check for each record

d)

A checksum for each record

33.

When Wireless Equivalent Privacy (WEP) is employed for Access Points (APs), how is the Initialization Vector (IV) transmitted?

a)

Encrypted with each data frame

b)

Sent in the clear with every datagram

c)

Encrypted with every datagram

d)

Sent in the clear with every data frame

34.

A basic type of firewall makes filtering decisions by inspecting only the source and destination addresses and ports in the network packet headers. This type is known as:

a)

Application layer filters

b)

Stateful packet filters

c)

Proxy filters

d)

Stateless packet filters

35.

IPSec defines two protocols: _______ and _______.

a)

AH; ESP

b)

AH; SSL

c)

ESP; SSL

d)

SSL; TLS

36.

Which Internet Protocol Security (IPsec) protocol provides assurance of the sender's identity and the integrity of the data but does not offer confidentiality?

a)

ESP

b)

AH

c)

MD5

d)

SSL

37.

In an ACL table, the source address is 192.168.1.0/24. The number of hosts affected would be:

a)

256

b)

24

c)

128

d)

254

38.

In cryptographic handshakes, a single-use number generated to ensure the freshness of communication and prevent replay attacks is often referred to as a:

a)

Random

b)

Timestamp

c)

Nonce

d)

Sequence number

39.

To block incoming TCP traffic on a specific port range (e.g., for a custom service running on ports 10000-10010), what iptables rule would you use? iptables -A INPUT -p tcp --dport

a)

10000:10010 -j ACCEPT

b)

10000:10010 -j DROP

c)

10000:10010 -j REJECT

d)

10000:10010 -j LOG

40.

Related to the IPsec diagrams below (with data flowing from left to right): The Destination IP address in the original IP datagram is:

a)

193.68.2.23

b)

172.16.2.1

c)

192.168.1.100

d)

172.16.1.2

41.

To create a LAN with exactly 254 host computers, you would choose the following subnet:

a)

192.168.1.0/25 with subnet 255.255.255.128

b)

192.168.1.0/24 with subnet 255.255.255.0

c)

192.168.1.0/23 with subnet 255.255.254.0

d)

192.168.1.0/26 with subnet 255.255.255.192

42.

When a firewall employs stateless packet filtering, its decision to permit or deny a network packet is based on information found in the:

a)

Network layer addressing

b)

Data link layer addressing

c)

Transport layer content

d)

Application layer content

43.

________ operates in the transport mode or the tunnel mode.

a)

IPSec

b)

SSL

c)

FTP

d)

SMTP

44.

A firewall is a crucial security component designed to perform several functions for a network, EXCEPT:

a)

Restricting access to authorized users only

b)

Prioritizing outgoing network traffic

c)

Analyzing incoming traffic

d)

Blocking unauthorized access

45.

A firewall serves as a barrier between an organization's internal network and the broader Internet by:

a)

Encrypting all data

b)

Analyzing and controlling network traffic based on defined rules

c)

Allowing all traffic to pass through

d)

Creating a backup of all data

46.

The successor protocol to Secure Sockets Layer (SSL), offering enhanced security features, is known as:

a)

HTTP

b)

FTP

c)

SNMP

d)

TLS

47.

A fundamental security mechanism that controls network traffic by examining and filtering data packets based on a set of rules is best described as a:

a)

Bandwidth Shaper

b)

Firewall

c)

Packet Filter

d)

Router

48.

SSL stage in which two entities use the shared secret to derive the to-be-used set of keys:

a)

Key exchange

b)

Key derivation

c)

Key encryption

d)

Key validation

49.

Modern Intrusion Detection Systems (IDS) primarily identify malicious activity by looking for:

a)

Random patterns

b)

User behavior

c)

Predefined patterns of known attacks

d)

Network speed

50.

A Cipher Suite in SSL/TLS usually includes:

a)

Encryption algorithm

b)

MAC algorithm

c)

Key exchange algorithm

d)

All of the above

51.

What is the primary purpose of the Diffie-Hellman key exchange algorithm?

a)

To encrypt data

b)

To decrypt data

c)

To securely establish a shared secret between two parties over an insecure channel

d)

To authenticate users

52.

In 802.11 technologies, WEP protocol stands for:

a)

Wireless Encryption Protocol

b)

Wired Equivalent Privacy

c)

Wireless Equivalent Privacy

d)

Wired Encryption Protocol

53.

IDS stands for:

a)

Internet Detection System

b)

Intrusion Detection System

c)

Internal Data System

d)

Information Defense System

54.

WPA-3 protocol uses the following encryption:

a)

AES-GCMP (Galois Counter Mode Protocol)

b)

TKIP (Temporal Key Integrity Protocol) with RC4

c)

DES (Data Encryption Standard)

d)

RSA (Rivest-Shamir-Adleman)

55.

Which iptables command would allow incoming UDP traffic on port 123 (commonly used for NTP)?

a)

iptables -A INPUT -p tcp --dport 123 -j ACCEPT

b)

iptables -A OUTPUT -p udp --dport 123 -j ACCEPT

c)

iptables -A INPUT -p udp --dport 123 -j ACCEPT

d)

iptables -A FORWARD -p udp --dport 123 -j ACCEPT

56.

One of the famous AAA server protocols:

a)

RADIUS

b)

TACACS+

c)

LDAP

d)

CRC-32

57.

With respect to IPSec, which of the fields is used to decide what decryption to use?

a)

SPI

b)

ESP trl

c)

ESP hdr

d)

Seq #

58.

How many keys are derived from the Master Key in SSL/TLS?

a)

2: client encryption key/server encryption key

b)

3: client MAC key/server MAC key/client encryption key

c)

4: client MAC key/server MAC key/client encryption key/server encryption key

d)

5: client MAC key/server MAC key/client encryption key/server encryption key/server MAC key

59.

What is the standard format for public key certificates?

a)

DER

b)

PEM

c)

X.509

d)

PFX

60.

One security protocol for the e-mail system is _________.

a)

PGP

b)

FTP

c)

SMTP

d)

HTTP

61.

The following ACL table belongs to a firewall that is:

a)

stateless packet filters

b)

stateful packet filters

c)

proxy firewall

d)

application gateway

62.

What is the generally recommended minimum key size for RSA to ensure reasonable security in most modern applications?

a)

512 bits

b)

1024 bits

c)

2048 bits

d)

4096 bits

63.

In the ________ mode, IPSec protects the whole IP packet, including the original IP header.

a)

Tunnel

b)

Transport

c)

Gateway

d)

Session

64.

Related to the IPsec diagrams below (with data flowing from left to right): the destination IP address in the new IP header is:

a)

192.168.1.1

b)

192.168.1.100

c)

193.68.2.23

d)

193.68.1.100

65.

Which OpenSSL command can be used to convert a certificate from PEM format to DER format?

a)

openssl x509 -in certificate.pem -outform DER -out certificate.der

b)

openssl rsa -in certificate.pem -outform DER -out certificate.der

c)

openssl convert -in certificate.pem -outform DER -out certificate.der

d)

openssl cert -in certificate.pem -outform DER -out certificate.der

66.

SSL/TLS operates at a specific level within the standard network model, providing secure communication. Which of the following layers does SSL/TLS primarily function?

a)

Application layer

b)

Transport layer

c)

Network layer

d)

Data link layer

67.

A(n) ______ function creates a message digest out of a message.

a)

Hash

b)

Sort

c)

Encrypt

d)

Compress

68.

With respect to IPSec, which of the above fields is used to maintain constant block size for encryption?

a)

ESP hdr

b)

ESP trl

c)

Original IP datagram payload

d)

ESP auth

69.

A more sophisticated firewall analyzes the entire communication session, keeping track of the state of connections to make more informed filtering decisions. This is called a:

a)

Packet-filtering firewall

b)

Proxy firewall

c)

Circuit-level gateway

d)

Stateful firewall

70.

WPA-3 protocol uses the following Integrity check:

a)

MD5

b)

SHA-1

c)

SHA-2 (SHA-2 can generate hashes of various lengths, including 224, 256, 384, and 512 bits)

d)

CRC32

71.

To thwart replay attacks by ensuring the uniqueness of communication elements, security protocols often employ a value that should never be repeated. This single-use value is known as a:

a)

Timestamp

b)

Sequence number

c)

Nonce

d)

Random number

72.

Within the Extensible Authentication Protocol (EAP) framework, the Access Point typically offloads the authentication process to a dedicated server running which protocol?

a)

RADIUS

b)

TACACS+

c)

LDAP

d)

Kerberos

73.

Comparing IPSec vs SSL VPNs (counting from the bottom):

a)

SSL VPN is considered layer-3.

b)

IPSec VPN is considered layer-4.

c)

IPSec VPN is considered layer-3.

d)

SSL VPN is considered layer-2.

74.

The following is a valid MAC (in hex notation) address on a host or an end system.

a)

AB-BC-CD-DE/24

b)

AB.E3.CD.4C.BD.4C

c)

01-23-45-67-89-AB

d)

12:34:56:78:9A:BC

75.

In 802.11 technologies, WPA protocol stands for:

a)

Wireless Protected Access

b)

Wi-Fi Protected Authentication

c)

Wi-Fi Protected Access

d)

Wireless Protocol Access

76.

________ provides privacy, integrity, and authentication in e-mail.

a)

PGP

b)

SMTP

c)

POP3

d)

IMAP

77.

Which of the following is NOT typically categorized as a distinct type of firewall architecture?

a)

Packet filters

b)

Stateful inspection

c)

Application gateways

d)

Protocol analyzers

78.

In Network Security, AAA stands for:

a)

Authentication, Access, Accounting

b)

Authentication, Authorization, Accounting

c)

Authorization, Access, Authentication

d)

Access, Authorization, Accounting

79.

The enhanced security features introduced in the 802.11i standard for wireless networks brought several improvements. Which of the following security enhancements is a key feature of 802.11i?

a)

AP authentication

b)

Use of a shared key for all users

c)

Use of an authentication server separate from the access point

d)

Simplified encryption protocols

80.

WPA-2 protocol uses the following encryption:

a)

AES-GCMP (Galois Counter Mode Protocol)

b)

RSA

c)

DES

d)

AES-CCMP

81.

It is said that public key certification mitigates but does not eliminate MITM attacks. This is because you can still attack:

a)

The Server

b)

The Network

c)

The User Confirmation

d)

All of the above

82.

A security device that goes beyond examining packet headers and scrutinizes the data payload for malicious content or policy violations is known as an:

a)

Firewall

b)

Router

c)

Intrusion Detection System (IDS)

d)

Switch

83.

The famous Radius protocol uses the following transport layer:

a)

TCP

b)

HTTP

c)

FTP

d)

UDP

84.

In the 802.11i/EAP, the AS/Authenticator Server is given the following name:

a)

Access Server

b)

Authentication Point

c)

Authentication Server

d)

Access Point

85.

The famous Radius protocol uses the following port numbers:

a)

Port 80 is used for authentication and authorization.

b)

Port 1812 is used for authentication and authorization.

c)

Port 443 is used for authentication and authorization.

d)

Port 1813 is used for authentication and authorization.

86.

DTLS, which stands for Datagram Transport Layer Security Protocol, uses:

a)

UDP

b)

TCP

c)

HTTP

d)

FTP

87.

The software used to create virtual networks and containers in our Iptables lab is called:

a)

Openssl

b)

VirtualBox

c)

Docker

d)

VMware

88.

To create a LAN with exactly 62 host computers, you would choose the following subnet:

a)

192.168.1.0/24 with subnet 255.255.255.0

b)

192.168.1.0/25 with subnet 255.255.255.128

c)

192.168.1.0/26 with subnet 255.255.255.192

d)

192.168.1.0/27 with subnet 255.255.255.224

89.

WEP protocol uses the following encryption:

a)

AES

b)

RC4 (Rivest Cipher)

c)

DES

d)

RSA

90.

Comparing IPSec vs SSL VPNs (counting from the bottom):

a)

SSL VPN is considered layer-1.

b)

SSL VPN is considered layer-2.

c)

SSL VPN is considered layer-3.

d)

SSL VPN is considered layer-4-7.

91.

Which Internet Protocol Security (IPsec) protocol offers a comprehensive security solution, encompassing source authentication, data integrity, and confidentiality?

a)

ESP

b)

AH

c)

L2TP

d)

PPTP

92.

The establishment of a secure SSL/TLS connection relies on a foundational connection being in place beforehand. Which of the following underlying protocols must be established prior to initiating an SSL/TLS handshake?

a)

TCP

b)

UDP

c)

ICMP

d)

HTTP

93.

WPA-2 protocol uses the following Integrity check:

a)

MD5

b)

CRC-32

c)

SHA-1

d)

CCMP with AES

94.

SSL stage in which special messages are sent to securely close connections are exchanged.

a)

Handshake

b)

Session initiation

c)

Data transfer

d)

Session termination

95.

WEB protocol uses the following Integrity check:

a)

CCMP with AES

b)

CRC-32

c)

SHA-256

d)

MD5

96.

The original 802.11 wireless protocol, while providing initial security measures, utilized a specific encryption algorithm that has since been deemed vulnerable. This older encryption method is known as:

a)

WPA

b)

WEP

c)

WPA2

d)

AES

97.

Which iptables command would you use to block all incoming HTTP traffic on the standard port?

a)

iptables -A INPUT -p tcp --dport 22 -j DROP

b)

iptables -A INPUT -p tcp --dport 80 -j DROP

c)

iptables -A INPUT -p udp --dport 80 -j DROP

d)

iptables -A OUTPUT -p tcp --dport 80 -j DROP

98.

A ______ provides privacy for LANs communicating through the global Internet.

a)

VPN

b)

Router

c)

Switch

d)

Firewall

99.

Why is a /30 subnet commonly used for the link between two routers?

a)

/30 indicates a maximum of two usable IP addresses.

b)

/30 provides enhanced security features.

c)

/30 allows for dynamic IP allocation.

d)

/30 supports multicast traffic.

100.

Firewall Access Control List (ACL) rules are typically evaluated in which order when processing incoming network packets?

a)

From the first rule defined to the first rule

b)

From the first rule defined to the last rule

c)

From the last rule defined to the first rule

d)

Randomly

101.

Related to the IPsec diagrams below (with data flowing from left to right): The source IP address in the original IP datagram is:


a)

172.16.2.1

b)

172.16.1.2

c)

172.16.2.2

d)

172.16.1.3

102.

Which of the following network segments acts as a buffer, allowing external access to specific services while preventing entry into the internal network?


a)

Restricted zone

b)

Demilitarized zone (DMZ)