Font size
WorksheetsNetwork Security and Protocols Quiz
Total questions: 102
Worksheet time: 51mins
The improved security standard 802.11i incorporates the Extensible Authentication Protocol. What does the acronym EAP stand for?
Enhanced Access Protocol
Encrypted Authentication Process
Electronic Access Point
Extensible Authentication Protocol
In the 802.11i/EAP, the AP/Access Point is given the following name:
Supplicant
Client
Server
Authenticator
In the 802.11i/EAP, the client station is given the following name:
Authenticator
Supplicant
Access Point
Server
In the following ACL table, the firewall will:
Allow all packets from and to the network
Allow only specific packets
Deny only specific packets
Deny all packets from and to the network
To allow outgoing DNS queries, which iptables rule would you typically add?
iptables -A INPUT -p udp --dport 53 -j ACCEPT
iptables -A OUTPUT -p udp --dport 53 -j ACCEPT
iptables -A FORWARD -p udp --dport 53 -j ACCEPT
iptables -A PREROUTING -p udp --dport 53 -j ACCEPT
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):
Network Security Protocol
Advanced Configuration Logic
Access Control List
Firewall Rule Set
In the following ACL table, the firewall will:
Allow HTTP packets from users to servers and from servers to users.
Allow DNS from and to the internal network.
Block all incoming and outgoing traffic.
Allow FTP traffic only.
WPA protocol uses the following Integrity check:
SHA-1
MD5
SHA-2
64-Bit MIC (Message Integrity Check)
The combination of key exchange, hash, and encryption algorithms defines a (a) for each SSL session.
SSL stage in which the two entities use their certificates and private keys to authenticate each other and exchange shared secrets:
Handshake
Encryption
Key exchange
Session initiation
In the following ACL table, the firewall will:
Allow all traffic from the internal network to the external network.
Allow DNS from and to the internal network.
Allow HTTP and DNS from and to the internal network.
Deny all traffic.
With respect to IPSec, which field is used to prevent the play-back attack?
SPI
Seq#
ESP auth
Padding
Related to the IPSec diagrams below (with data flowing from left to right): the source IP address in the new IP header is:
172.16.2.1
193.168.1.1
193.68.2.23
172.16.1.2
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:
Token
Challenge
Password
Key
The base64 encoding works by encrypting:
8 bits at a time.
4 bits at a time.
6 bits at a time.
2 bits at a time.
The aspect of security where the sender or receiver wants to ensure the message is not altered (in transit or afterwards) is called:
Confidentiality
Authentication
Message integrity
Non-repudiation
Which iptables rule would allow incoming TCP traffic on port 443 (HTTPS) from the entire subnet 192.168.1.0/24?
iptables -A INPUT -p tcp -s 192.168.1.0/24 --dport 80 -j ACCEPT
iptables -A INPUT -p udp -s 192.168.1.0/24 --dport 443 -j ACCEPT
iptables -A INPUT -p tcp -s 192.168.1.0/24 --dport 443 -j ACCEPT
iptables -A OUTPUT -p tcp -s 192.168.1.0/24 --dport 443 -j ACCEPT
SSL provides:
Encryption
Integrity
Authentication
All of the above
One of the famous AAA server protocols:
SHA-256
Kerberos
OAuth
RADIUS
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:
Timestamp with each record
Sequence number with the MAC of each record
Digital signature with each record
Encryption of each record
Given the encryption formula c(i)=ks(i)•m(i), the original message m(i) can be recovered through which decryption process?
m(i)=c(i)•ks(i)
m(i)=ks(i)•c(i)
m(i)=c(i)/ks(i)
m(i)=ks(i)/c(i)
In the following ACL table, the firewall will:
Block all incoming traffic
Allow only DNS packets
Allow HTTP (packets from users to servers and servers to users) and DNS packets from and to the internal network
Deny all outgoing traffic
Which of the following OpenSSL commands is used to generate a new RSA private key?
openssl genrsa -out private.key 2048
openssl rsa -in private.key -out public.key
openssl req -new -key private.key -out request.csr
openssl enc -aes-256-cbc -in file.txt -out file.enc
WPA protocol uses the following encryption:
AES-CCMP
TKIP (Temporal Key Integrity Protocol) with RC4
Both TCP and DCTCP
SHA-256
Which of the following protocols is commonly used by DNS?
TCP only
Both TCP and DCTCP
AES-CCMP
SHA-256
One of the famous AAA server protocols:
SHA-256
Diameter
AES-CCMP
TKIP with RC4
Ready for the Security+ Exam
True
False
With stateful packet filters, a packet is forwarded/dropped based on:
Link layer header as well as established connections
Only the link layer header
Only established connections
Neither
With respect to IPSec, which fields is/are sent in the clear (un-encrypted):
New IP header
ESP hdr
Both a and b
Neither
SSL stage in which data to be transferred is broken into a series of records and transmitted in encrypted form:
Key derivation
Data transfer
Authentication
Handshake
The most prevalent and crucial mode of operation for the Encapsulating Security Payload (ESP) protocol within IPSec is:
Transport mode with ESP
Tunnel mode with ESP
Authentication mode
Encryption mode
To prevent attackers from manipulating the order of data segments within an SSL/TLS communication session, the protocol incorporates:
A timestamp for each record
A digital signature for each record
A sequence number combined with a message integrity check for each record
A checksum for each record
When Wireless Equivalent Privacy (WEP) is employed for Access Points (APs), how is the Initialization Vector (IV) transmitted?
Encrypted with each data frame
Sent in the clear with every datagram
Encrypted with every datagram
Sent in the clear with every data frame
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:
Application layer filters
Stateful packet filters
Proxy filters
Stateless packet filters
IPSec defines two protocols: _______ and _______.
AH; ESP
AH; SSL
ESP; SSL
SSL; TLS
Which Internet Protocol Security (IPsec) protocol provides assurance of the sender's identity and the integrity of the data but does not offer confidentiality?
ESP
AH
MD5
SSL
In an ACL table, the source address is 192.168.1.0/24. The number of hosts affected would be:
256
24
128
254
In cryptographic handshakes, a single-use number generated to ensure the freshness of communication and prevent replay attacks is often referred to as a:
Random
Timestamp
Nonce
Sequence number
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
10000:10010 -j ACCEPT
10000:10010 -j DROP
10000:10010 -j REJECT
10000:10010 -j LOG
Related to the IPsec diagrams below (with data flowing from left to right): The Destination IP address in the original IP datagram is:
193.68.2.23
172.16.2.1
192.168.1.100
172.16.1.2
To create a LAN with exactly 254 host computers, you would choose the following subnet:
192.168.1.0/25 with subnet 255.255.255.128
192.168.1.0/24 with subnet 255.255.255.0
192.168.1.0/23 with subnet 255.255.254.0
192.168.1.0/26 with subnet 255.255.255.192
When a firewall employs stateless packet filtering, its decision to permit or deny a network packet is based on information found in the:
Network layer addressing
Data link layer addressing
Transport layer content
Application layer content
________ operates in the transport mode or the tunnel mode.
IPSec
SSL
FTP
SMTP
A firewall is a crucial security component designed to perform several functions for a network, EXCEPT:
Restricting access to authorized users only
Prioritizing outgoing network traffic
Analyzing incoming traffic
Blocking unauthorized access
A firewall serves as a barrier between an organization's internal network and the broader Internet by:
Encrypting all data
Analyzing and controlling network traffic based on defined rules
Allowing all traffic to pass through
Creating a backup of all data
The successor protocol to Secure Sockets Layer (SSL), offering enhanced security features, is known as:
HTTP
FTP
SNMP
TLS
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:
Bandwidth Shaper
Firewall
Packet Filter
Router
SSL stage in which two entities use the shared secret to derive the to-be-used set of keys:
Key exchange
Key derivation
Key encryption
Key validation
Modern Intrusion Detection Systems (IDS) primarily identify malicious activity by looking for:
Random patterns
User behavior
Predefined patterns of known attacks
Network speed
A Cipher Suite in SSL/TLS usually includes:
Encryption algorithm
MAC algorithm
Key exchange algorithm
All of the above
What is the primary purpose of the Diffie-Hellman key exchange algorithm?
To encrypt data
To decrypt data
To securely establish a shared secret between two parties over an insecure channel
To authenticate users
In 802.11 technologies, WEP protocol stands for:
Wireless Encryption Protocol
Wired Equivalent Privacy
Wireless Equivalent Privacy
Wired Encryption Protocol
IDS stands for:
Internet Detection System
Intrusion Detection System
Internal Data System
Information Defense System
WPA-3 protocol uses the following encryption:
AES-GCMP (Galois Counter Mode Protocol)
TKIP (Temporal Key Integrity Protocol) with RC4
DES (Data Encryption Standard)
RSA (Rivest-Shamir-Adleman)
Which iptables command would allow incoming UDP traffic on port 123 (commonly used for NTP)?
iptables -A INPUT -p tcp --dport 123 -j ACCEPT
iptables -A OUTPUT -p udp --dport 123 -j ACCEPT
iptables -A INPUT -p udp --dport 123 -j ACCEPT
iptables -A FORWARD -p udp --dport 123 -j ACCEPT
One of the famous AAA server protocols:
RADIUS
TACACS+
LDAP
CRC-32
With respect to IPSec, which of the fields is used to decide what decryption to use?
SPI
ESP trl
ESP hdr
Seq #
How many keys are derived from the Master Key in SSL/TLS?
2: client encryption key/server encryption key
3: client MAC key/server MAC key/client encryption key
4: client MAC key/server MAC key/client encryption key/server encryption key
5: client MAC key/server MAC key/client encryption key/server encryption key/server MAC key
What is the standard format for public key certificates?
DER
PEM
X.509
PFX
One security protocol for the e-mail system is _________.
PGP
FTP
SMTP
HTTP
The following ACL table belongs to a firewall that is:
stateless packet filters
stateful packet filters
proxy firewall
application gateway
What is the generally recommended minimum key size for RSA to ensure reasonable security in most modern applications?
512 bits
1024 bits
2048 bits
4096 bits
In the ________ mode, IPSec protects the whole IP packet, including the original IP header.
Tunnel
Transport
Gateway
Session
Related to the IPsec diagrams below (with data flowing from left to right): the destination IP address in the new IP header is:
192.168.1.1
192.168.1.100
193.68.2.23
193.68.1.100
Which OpenSSL command can be used to convert a certificate from PEM format to DER format?
openssl x509 -in certificate.pem -outform DER -out certificate.der
openssl rsa -in certificate.pem -outform DER -out certificate.der
openssl convert -in certificate.pem -outform DER -out certificate.der
openssl cert -in certificate.pem -outform DER -out certificate.der
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?
Application layer
Transport layer
Network layer
Data link layer
A(n) ______ function creates a message digest out of a message.
Hash
Sort
Encrypt
Compress
With respect to IPSec, which of the above fields is used to maintain constant block size for encryption?
ESP hdr
ESP trl
Original IP datagram payload
ESP auth
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:
Packet-filtering firewall
Proxy firewall
Circuit-level gateway
Stateful firewall
WPA-3 protocol uses the following Integrity check:
MD5
SHA-1
SHA-2 (SHA-2 can generate hashes of various lengths, including 224, 256, 384, and 512 bits)
CRC32
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:
Timestamp
Sequence number
Nonce
Random number
Within the Extensible Authentication Protocol (EAP) framework, the Access Point typically offloads the authentication process to a dedicated server running which protocol?
RADIUS
TACACS+
LDAP
Kerberos
Comparing IPSec vs SSL VPNs (counting from the bottom):
SSL VPN is considered layer-3.
IPSec VPN is considered layer-4.
IPSec VPN is considered layer-3.
SSL VPN is considered layer-2.
The following is a valid MAC (in hex notation) address on a host or an end system.
AB-BC-CD-DE/24
AB.E3.CD.4C.BD.4C
01-23-45-67-89-AB
12:34:56:78:9A:BC
In 802.11 technologies, WPA protocol stands for:
Wireless Protected Access
Wi-Fi Protected Authentication
Wi-Fi Protected Access
Wireless Protocol Access
________ provides privacy, integrity, and authentication in e-mail.
PGP
SMTP
POP3
IMAP
Which of the following is NOT typically categorized as a distinct type of firewall architecture?
Packet filters
Stateful inspection
Application gateways
Protocol analyzers
In Network Security, AAA stands for:
Authentication, Access, Accounting
Authentication, Authorization, Accounting
Authorization, Access, Authentication
Access, Authorization, Accounting
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?
AP authentication
Use of a shared key for all users
Use of an authentication server separate from the access point
Simplified encryption protocols
WPA-2 protocol uses the following encryption:
AES-GCMP (Galois Counter Mode Protocol)
RSA
DES
AES-CCMP
It is said that public key certification mitigates but does not eliminate MITM attacks. This is because you can still attack:
The Server
The Network
The User Confirmation
All of the above
A security device that goes beyond examining packet headers and scrutinizes the data payload for malicious content or policy violations is known as an:
Firewall
Router
Intrusion Detection System (IDS)
Switch
The famous Radius protocol uses the following transport layer:
TCP
HTTP
FTP
UDP
In the 802.11i/EAP, the AS/Authenticator Server is given the following name:
Access Server
Authentication Point
Authentication Server
Access Point
The famous Radius protocol uses the following port numbers:
Port 80 is used for authentication and authorization.
Port 1812 is used for authentication and authorization.
Port 443 is used for authentication and authorization.
Port 1813 is used for authentication and authorization.
DTLS, which stands for Datagram Transport Layer Security Protocol, uses:
UDP
TCP
HTTP
FTP
The software used to create virtual networks and containers in our Iptables lab is called:
Openssl
VirtualBox
Docker
VMware
To create a LAN with exactly 62 host computers, you would choose the following subnet:
192.168.1.0/24 with subnet 255.255.255.0
192.168.1.0/25 with subnet 255.255.255.128
192.168.1.0/26 with subnet 255.255.255.192
192.168.1.0/27 with subnet 255.255.255.224
WEP protocol uses the following encryption:
AES
RC4 (Rivest Cipher)
DES
RSA
Comparing IPSec vs SSL VPNs (counting from the bottom):
SSL VPN is considered layer-1.
SSL VPN is considered layer-2.
SSL VPN is considered layer-3.
SSL VPN is considered layer-4-7.
Which Internet Protocol Security (IPsec) protocol offers a comprehensive security solution, encompassing source authentication, data integrity, and confidentiality?
ESP
AH
L2TP
PPTP
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?
TCP
UDP
ICMP
HTTP
WPA-2 protocol uses the following Integrity check:
MD5
CRC-32
SHA-1
CCMP with AES
SSL stage in which special messages are sent to securely close connections are exchanged.
Handshake
Session initiation
Data transfer
Session termination
WEB protocol uses the following Integrity check:
CCMP with AES
CRC-32
SHA-256
MD5
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:
WPA
WEP
WPA2
AES
Which iptables command would you use to block all incoming HTTP traffic on the standard port?
iptables -A INPUT -p tcp --dport 22 -j DROP
iptables -A INPUT -p tcp --dport 80 -j DROP
iptables -A INPUT -p udp --dport 80 -j DROP
iptables -A OUTPUT -p tcp --dport 80 -j DROP
A ______ provides privacy for LANs communicating through the global Internet.
VPN
Router
Switch
Firewall
Why is a /30 subnet commonly used for the link between two routers?
/30 indicates a maximum of two usable IP addresses.
/30 provides enhanced security features.
/30 allows for dynamic IP allocation.
/30 supports multicast traffic.
Firewall Access Control List (ACL) rules are typically evaluated in which order when processing incoming network packets?
From the first rule defined to the first rule
From the first rule defined to the last rule
From the last rule defined to the first rule
Randomly
Related to the IPsec diagrams below (with data flowing from left to right): The source IP address in the original IP datagram is:
172.16.2.1
172.16.1.2
172.16.2.2
172.16.1.3
Which of the following network segments acts as a buffer, allowing external access to specific services while preventing entry into the internal network?
Restricted zone
Demilitarized zone (DMZ)
