1/108
A study guide for the second Cybersecurity Exam.
What is the OSI model?
The OSI (Open Systems Interconnection) Model is framework that describes how data is transmitted across a network using a structured seven-layer architecture.
Layer 1 (OSI Model)
This is the Physical Layer, acting as the bridge for actual physical connections between devices. Its goal is to manage the hardware-level transmission of individual bits, translating incoming physical signals back into digital 0s and 1s to be processed by the Data Link Layer. Its protocol data unit (UDP) are bits.
Layer 2 (OSI Model)
This is the Data Link Layer, serving as the bridge between the Physical hardware and the logical network, ensuring reliable node-to-node delivery of data. It primarily ensures that data transfer is error-free across the physical medium. Its protocol data unit (UDP) are frames
Layer 3 (OSI Model)
This is the Network Layer, managing data transmission between hosts across different networks by handling logical addressing and path finding. Data segments get encapsulated into packets. Its protocol data unit (UDP) are Packets
Layer 4 (OSI Model)
This is the Transport Layer. It ensures end-to-end delivery of entire messages, acting as a liaison between the Application layer and the Network layer. This ensures that data reaches the correct application on the destination host. Its protocol data unit (UDP) is Segments/Datagrams
Layer 5 (OSI Model)
This is the Session Layer. It controls the opening, closing, and security of communication channels between two devices. Its protocol data unit (UDP) is Data
Layer 6 (OSI Model)
This is the Presentation/Translation Layer. It ensures data is formatted, secured, and compressed so the receiving application can correctly interpret it. Its protocol data unit (UDP) is Data
Layer 7 (OSI Model)
This is the Application Layer. It sits at the top of the OSI stack, acting as the direct interface between the software user and the network. It produces the data to be sent and displays data received from other layers. Its protocol data unit (UDP) is Data
Data Flows in the OSI Model
Application Layer: Creates the data
Presentation Layer: Formats and encrypts the data
Session Layer: Establishes and manages the connection
Transport Layer: Breaks data into segments for reliable delivery
Network Layer: Packages segments into packets and reroutes them
Data Link Layer: Frames the packets and sends them to the next device
Physical Layer: Converts frames into bits and transmits them
What is an Internet Protocol (IP)?
A set of rules that allows computers and other devices to communicate over the internet, ensuring information sent from one to device reaches the correct destination by using a unique set of numbers known as IP addresses.
What is Transport Layer Security (TLS)?
A security protocol designed to facilitate privacy and data security for communications over the Internet. It is primarily used to encrypt the communication between web applications and servers, such as web browsers loading a website.
What is a port?
A logical identifier used to distinguish different applications or services on a device, allowing network traffic to reach the correct program. Works at the Transport Layer
What is a Media Access Control (MAC) address?
A physical address that works at the Data Link Layer. They are unique 48-bit hardware numbers of a computer that are embedded into a network card (known as a Network Interface Card).
What is Address Resolution protocol (ARP)?
A networking protocol used to map an IPv4 address to a MAC address within a Local Area Network (LAN). Operates between the Network Layer (IP addressing) and the Data Link Layer (MAC addressing).
What is an IP Address?
A logical address used by applications and routing.
What is a Network Address Translation (NAT)
allows multiple devices in a private network to access the internet using a single public IP address, helping conserve IPv4 addresses and hiding internal systems.
What is a Domain Name System (DNS)?
The translation of human-readable domain names into IP addresses, enabling computers to communicate over the internet. Uses caching mechanisms, reducing the time for repeated requests. Uses both port 53 for both UDP (standard look ups) and TCP (zone transfers).
What is Internet Control Message Protocol (ICMP)?
A network layer protocol widely used by network devices to send error messages and operational information. In the IP suite that sends diagnostic messages. Does not use any port number, operating directly over IP using protocol 1.
What is Border Gateway Protocol (BGP)?
An Exterior Gateway Protocol (EGP) used to connect autonomous systems in any topology. It exchanges network reachability information between BGP systems.
What is Dynamic Host Configuration Protocol (DHCP)?
Automatically assigns IP addresses and configuration settings to devices, granting seamless network connectivity. Uses both UDP port 67 and 68.
What is Secure Shell (SSH)?
A secure communication protocol that allows a user to access and control a remote computer over a network. Typically uses TCP port 22.
What is HyperText Transfer Protocol (HTTP)?
A protocol that enables communication between web browsers and web servers. Communicates over port 80 and uses TCP.
What is HyperText Transfer Protocol Secure (HTTPS)?
A secure variant for HTTP, ensuring that data transfer is encrypted for added security. Used to communicate between the user’s browser and the website. Typically uses TCP and operates on port 443.
What is File Transfer Protocol over SSL (FTPS)?
An extension of another protocol, adding support for protecting information through SSL/TLS authentication. Uses TCP port 990 implicitly and TCP port 21 explicitly.
What is IP Security (IPsec)?
A set of network security protocols used to protect data transmitted over an IP network, authenticating, encrypting, and ensuring the integrity of IP packets during communication between devices.
What is the difference between TLS and IPsec?
What is a Type II Hypervisor?
“Hosted…” Runs as an application on top of an existing host OS to manage VMs. High overhead, but great for testing or development.
What is a Type I Hypervisor?
“Bare Metal…“ Runs directly on hardware host to run VMs. High efficiency enterprise data center standard.
What is a Kernel?
The core part of an operating system, acting as a bridge between software applications an the hardware of a computer. It manages the CPU, memory, and devices, and handles tasks such as running programs, accessing files, and connecting to output devices.
What is SSH File Transfer Protocol (SFTP)?
A secure network protocol use to transfer files between computers, encrypting all data and commands. Uses TCP port 22.
What is Post Office Protocol Version 3 (POP3)?
An application-layer protocol used to retrieve emails from a mail server, allowing users to download messages to their local system and access them offline. Uses TCP port 110
What is Internet Message Access Control (IMAP)?
An application-layer protocol that allows users to manage emails across multiple devices as it synchronizes emails between the email client and the server. Uses TCP port 143.
What is Lightweight Directory Access Protocol (LDAP)?
An internet protocol that accesses information from directories. Defines operations for accessing and modifying directory entries. Uses TCP port 389.
What is a directory?
A set of objects with similar attributes, organized in a logical and hierarchical way.
What is LDAP over SSL/TLS (LDAPS)?
The encrypted version of LDAP, using TLS to secure directory queries and authentication over TCP port 636.
What is Simple Network Management Protocol (SNMP)?
A protocol for network management that provides a standardized framework for monitoring and managing network devices such as routers, switches, servers, firewalls, etc. Uses UDP port 161 and 162.
What is Network Time Protocol (NTP)?
An application-layer protocol that synchronizes the clocks of computers and network devices over a TCP/IP network. Uses UDP port 123.
What is a cookie?
A small message from a web server passed to the user’s browser when visiting a website. Used for information about user preferences, and other data.
What is an Intrusion Detection System (IDS)?
Monitors network traffic, alerting systems on suspicious activity. Doesn’t affect network latency; passive.
What is an Intrusion Prevention System (IPS)?
Actively monitors network traffic to detect and block malicious activity before it reaches critical systems. Increases network latency.
What is a false-positive and what are its effects?
Incorrectly classifying a negative sample as positive. i.e. email is not a spam but gets marked as spam. These can cause entire system shutdowns in the case of IPS.
What is a false-negative and what are its effects?
Incorrectly classifies a positive sample as negative. i.e.. email is a spam, but does not get marked as spam. This can cause systems to get attacked as they fail to report malicious activity.
What are inline devices?
Sit directly in the path of traffic, inspecting and filtering data in real time, providing strong enforcement. Can introduce bottlenecks if improperly managed. Firewalls and IPS systems are set this way.
What is a proxy server?
An intermediary between users and external resources, improving security and privacy by filtering web traffic and enforcing content restrictions.
What are load balancers?
Distributes network traffic across multiple servers to optimize performance, improve availability, and prevent overloading any single resource. Mitigates DDoS attacks.
What Layers in the OSI model do firewalls operate?
Firewalls operate at Layer 3 (network), Layer 4 (transport), and Layer 7 (application).
What is a token?
An additional layer of authentication used when accessing the user identity other than a login ID and password.
What’s the difference between TLS and IPsec?
TLS secures application-layer connections such as HTTPS using transport-Layer encryption, while IPsec secures all IP packets at the network layer and is commonly used for VPNs.
What does a Host Intrusion Detection System (HIDS) do?
Monitors traffic and file integrity on that specific host, comparing current system files with previous snapshots to detect unauthorized changes.
What does a Network Intrusion Detection System (NIDS) do?
Examines passing traffic across subnets and compares it against known attack signatures, alerting the administrator when an attack is detected.
What is the difference between HIDS and NIDS?
NIDS: Primarily Signature based or anomaly-based. High risk of false positives in high-volume/complex networks due to noisy traffic. in False negatives, it can miss attacks that do not generate detectable network traffic
HIDS: Uses file integrity monitoring, log analysis, and configuration checks. False positives arise from legitimate local changes (software updates). In false negatives, it cannot detect threats that bypass the host entirely.
What is a payload?
The portion of a network packet that contains the actual information intended for the recipient, such as messages, files, or application data.
What is a packet header?
In the initial section of a network packet, containing control information needed for the packet’s transmission, routing, and processing.
How is state maintained across stateless HTTP connections?
Session-based (stateful) and token-based (stateless) authentication. In session-based authentication, the server stores the user’s state, with the client holding the identifier. In token-based authentication, the server stores no session data, with the client carrying a self-contained token.
What is ARP spoofing?
A type of cyberattack where an attacker sends a fake response to a specific host on the network, linking the attackers MAC address to the IP address of another host, allowing them to intercept, modify or block network traffic. Occurs at the Data Link Layer (Layer 2) in the OSI model.
What is IP spoofing?
A type of cyberattack where an attacker sends a message to a computer system with the address indicating that the message is coming from a different address than its actually coming from, commonly used in DDoS attacks. Occurs at the Network Layer (Layer 3) in the OSI model.
What is DNS spoofing?
A cyberattack where an attacker injects forged or falsified data, often through cache poisoning, redirecting users from a legitimate domain to a malicious IP address. Occurs at the Application Layer (Layer 7) in the OSI model.
What is MAC spoofing?
A cyberattack where an attacker changes the device’s original MAC address to impersonate another device on a network. Occurs at the Data Link Layer (Layer 2) in the OSI model.
What is DHCP spoofing?
A cyberattack where an attacker sets up a rogue server to send fake IP configuration, such as gateway or DNS settings to clients, allowing traffic interception, redirection, or DoS. Occurs at the Data Link Layer (Layer 2) in the OSI model.
What is Cross Site Scripting (XSS)?
A web security vulnerability that allows an attacker to inject malicious client-side scripts into a trusted website.
What is a Structured Query Language injection (SQLi)?
A web security vulnerability where attackers inject malicious queries into input fields to manipulate backend databases.
How does SQLi breach the backend database and how do parameterized queries prevent unauthorized access?
SQLi injections exploit flaws in how applications handle user input, allowing attackers to alter database queries. Parameterized queries prevent this by separating SQL logic from user data, ensuring inputs are treated as data and not executable code.
What is a Type 1 Hypervisor?
An architecture that runs directly on the host’s hardware, not relying on an operating system. Offers better performance due to no intermediary Operating System (OS).
What is a Type 2 Hypervisor?
An architecture that runs on top of a conventional OS. Generally used for desktop virtualization, development, and testing environments. Performance is slightly slower due to overhead of the host OS.
What is containerization?
a method of packaging an application with all its dependencies (libraries, configuration files, runtime) into a single, portable unit.
What is Infrastructure as Code (IaC)?
A modern DevOps practice where servers, networks, and cloud resources are automatically provisioned and managed using code instead of manual configuration, helping maintain accuracy, speed, and reliability across deployments.
What does a Full Backup do?
Copies all selected files, having a slow backup time and taking up large amounts of space, but having a fast time to restore.
What does a Differential Backup do?
Copies all data changed since the full backup. Has a quick backup time, takes up a medium amount of storage, and has a medium restore time speed.
What does a Incremental Backup do?
Copies all data changed since any backup. Has a fast backup time, takes a small amount of storage space, and takes a long time to restore.
What are the attributes of a Hot Disaster Recovery Site?
Full redundant, real-time mirror (Fast RTO speed, expensive)
What are the attributes of a Warm Disaster Recovery Site?
Available hardware/network but must restore backup (medium RTO speed, medium cost)
What are the attributes of a Cold Disaster Recovery Site?
Physical facility requiring data and application deployments (slow RTO speed, very cheap)
What is the purpose of a high availability system?
Minimizes downtime through redundancy and automatic failovers.
What is a Recovery Time Objective (RTO)?
the maximum acceptable time a system or service can remain unavailable after a failure or disaster, ensuring quick restore rates.
What is a Recovery Point Objective (RPO)?
The maximum acceptable amount of data loss measured in time after a system failure or disaster, defining how frequently data backups or replication should occur to minimize data loss.
What is an inbound rule?
The protection of a computer or network from threats and harmful traffic coming in from outside.
What is an outbound rule?
The protection of information and network traffic leaving a computer or organization.
What is a stateful firewall?
Situated at Layers 3 and 4 of the OSI model, a system that keeps track of the state of network connections. They are great for detecting forged messaged or unauthorized access, retaining key aspects of network connections, filtering based on past and present results. Requires frequent updating. Should also be placed at the network perimeter between ISP and LAN.
What is a stateless firewall?
Also situated at Layers 3 and 4 of the OSI model. A system that does not store information on the connection state. Checks for matches to any of the ACL rules that are configured, dropping or rejecting the packet accordingly. Very fast but struggles to identify the type of traffic, making it less secure. Typically placed at network ingress points.
What is Function as a Service (FaaS)?
A serverless cloud computing model where developers write and deploy small, single-purpose pieces of code in which the cloud provider executes them in response to specific events.
What is Software as a Service (SaaS)?
A cloud computing model in which a cloud provider hosts a complete, fully functional application, delivering it to end-users over the internet.
What is Platform as a Service (PaaS)?
A cloud computing model designed to provide a complete, pre-configured, and managed cloud environment that allows developers to build, test, deploy, and scale applications without the burden of managing the underlying infrastructure.
What is Infrastructure as a Service (IaaS)?
A foundational cloud computing model that delivers fundamental compute, network, and storage resources to consumers on-demand, over the internet.
What is data at rest?
Information stored on a device or storage system that is not currently being transferred or actively processed. Cryptography protects this by converting plaintext into cyphertext. Access controls include: Password authentication, MFA, RBAC, etc.
What is data in transit?
Information moving from one device, system, or network location to another. Cryptography protects this through TLS, HTTPS, VPN encryption, etc. Access controls include: Authentication before accessing network services, MFA, NAC, etc.
What is data in use?
Information that is actively being accessed, processed, modified, or manipulated by a computer, application, or user. Cryptography protects this through Trusted Execution Environments (TEEs), confidential computing, homomorphic encryption, etc. Access controls include: RBAC, ABAC, MFA, etc.
What is Data Loss Prevention (DLP)?
A set of technologies and practices that identity, monitor, and protect sensitive data to prevent unauthorized access, sharing, or leakage across endpoints, networks, and cloud environments.
What does a network DLP monitor?
Data moving across an organization’s network, including email, web traffic, and file transfers.
What does a host DLP monitor?
Individual devices such as laptops, desktops, and workstations.
What does cloud DLP do?
Protects sensitive information stored or processed in cloud platforms and SaaS applications.
What does Data Masking do?
Replaces sensitive information with hidden or substituted characters while preserving some of its original format.
What does Data Obfuscation do?
Transforms data so that its original meaning or identity is difficult to understand.
What does Data Classification do?
Identifies and categorizes information according to its sensitivity, importance, and regulatory requirements.
What is Levels of Assurance
Describes how confidently a user or system can establish the identity of a website and trust its connection.
What is a Homograph attack?
A fake website, domain name, email address, or URL that looks almost identical to a legitimate one to trick users into believing they are interacting with a trusted source.
What is a rogue Certificate Authority (CA)
An unauthorized, compromised, or malicious certificate authority that issues fraudulent digital certificates to impersonate legitimate websites, organizations, or individuals.
What is a protocol downgrade?
An attacker forces two communicating systems to use an older, weaker, or less secure communication protocol instead of a newer, more secure one.
What is a Standard Operating Procedure (SOP)?
A documented set of step-by-step instructions that explains how to perform a specific task or process correctly, consistently, and securely, helping organizations maintain security, reduce human errors, and respond to security incidents effectively.
What is Cross-Site Request Forgery (CSRF)?
A web security vulnerability that tricks an authenticated user into performing unintended actions on a web application without their knowledge. Can cause a change in account passwords or email addresses, transferring funds and updating account settings, etc.
What does dig do?
Looks up DNS information about a domain.