CompTIA Security+ (SY0-701) & Network+ (N10-009) — Threats, Vulnerabilities, SecOps & Program Oversight (Domains 2, 4 & 5)
Comprehensive flashcards for CompTIA Security+ SY0-701 (Domains 2, 4 & 5) and Network+ N10-009 covering application/network attacks, SIEM/SOAR/EDR/XDR, NIST SP 800-61r2/r3 Incident Response, RFC 3227 Order of Volatility, quantitative risk (ALE/SLE/ARO), NIST CSF 2.0, OSI layers, 802.1Q VLANs, OSPF/BGP, DNSSEC, and DHCP Snooping/DAI.
- Category
- Global Cybersecurity & InfoSec Certifications — CompTIA Security+ (SY0-701), Network+ (N10-009) & CySA+ (CS0-003), ISC2 CISSP (CAT) & ISACA CISM / CISA
- Level
- basic
- Languages
- en → en
- Cards
- 32
- Markdown
- CompTIA Security+ (SY0-701) & Network+ (N10-009) — Threats, Vulnerabilities, SecOps & Program Oversight (Domains 2, 4 & 5) (.md)
Flashcards (32)
| # | Front (Term / Question) | Back (Definition / Answer) | Example | Multiple-Choice Options |
|---|---|---|---|---|
| 1 | How do SIEM, SOAR, EDR, and XDR platforms complement each other in a modern Security Operations Center (SOC)? | SIEM aggregates logs for correlation and compliance, SOAR automates response playbooks, EDR monitors and isolates endpoints, and XDR correlates telemetry across endpoints, network, and cloud. | When EDR detects credential dumping via `lsass.exe` memory access, XDR correlates the lateral SMB connection and triggers a SOAR playbook to disable the user in AD. |
|
| 2 | How do First Hop Redundancy Protocols (FHRPs)—specifically HSRP, VRRP, and GLBP—prevent a single default gateway router from becoming a single point of failure? | FHRPs share a virtual IP and virtual MAC across multiple routers so standby routers seamlessly assume default gateway forwarding if the active router fails. | Two distribution routers run VRRP with virtual IP `10.10.1.1`; when the Master router loses power, the Backup router takes over forwarding within three hello intervals. |
|
| 3 | In third-party vendor governance, how do an SLA, MSA, MOU, BPA, ISA, and NDA differ in legal scope and operational purpose? | MSA sets master contract terms, SLA defines uptime metrics, ISA governs technical interconnections, BPA defines partner roles, MOU states intent, and NDA protects secrecy. | Before integrating a payroll SaaS API, legal executes an NDA and MSA while SecOps establishes an ISA specifying mutual TLS 1.3 and an SLA requiring 99.99% uptime. |
|
| 4 | How do Pass-the-Hash (PtH), Kerberoasting, and Golden Ticket attacks abuse Active Directory authentication mechanisms? | PtH authenticates directly using stolen NTLM hashes, Kerberoasting cracks offline TGS service tickets encrypted with RC4/AES, and Golden Tickets forge KRBTGT TGTs for domain persistence. | An attacker runs `Invoke-Kerberoast` to request SPN service tickets and cracks weak service account passwords offline using Hashcat mode 13100 without triggering domain lockouts. |
|
| 5 | In CompTIA's 7-step Incident Response process, how are the NIST SP 800-61 phases expanded into discrete operational steps? | Preparation, Identification, Containment, Eradication, Recovery, and Lessons Learned (often separating Reporting/Notification as an explicit operational requirement). | Before wiping a compromised web server during Eradication, the analyst completes Containment by snapshotting the EBS volume and placing the instance in an isolated forensic security group. |
|
| 6 | How do GDPR, HIPAA, and PCI-DSS v4.0 differ in regulatory authority and protected data classification? | GDPR is an EU personal data privacy statute, HIPAA is a US healthcare ePHI statute, and PCI-DSS v4.0 is a payment card industry contractual standard. | Under GDPR Article 33, a controller must notify the supervisory authority within 72 hours of a personal data breach, whereas PCI-DSS v4.0 mandates MFA into the CDE. |
|
| 7 | How do DNSSEC (RRSIG, DNSKEY, DS records) and encrypted DNS transports (DoH and DoT) solve different DNS security threats? | DNSSEC cryptographically signs DNS records to guarantee origin authenticity against cache poisoning, whereas DoH (TCP 443) and DoT (TCP 853) encrypt queries for privacy. | A recursive resolver validates the DS record in `.com` and the RRSIG signature on `bank.com`'s A record, while client browsers use DNS-over-HTTPS (DoH) to prevent ISP eavesdropping. |
|
| 8 | In IPv4 CIDR subnetting, how many usable host IP addresses, network address, and broadcast address exist in the subnet `192.168.10.64/26`? | A `/26` subnet (`255.255.255.192`) has 6 host bits yielding 62 usable hosts (`192.168.10.65` to `.126`), network `.64`, and broadcast `.127`. | Segmenting a `/24` block into four `/26` VLAN subnets gives each department 62 assignable host addresses while isolating broadcast traffic across separate router subinterfaces. |
|
| 9 | How do Stored, Reflected, and DOM-based Cross-Site Scripting (XSS) differ, and how does a Content Security Policy (CSP) mitigate them? | Stored XSS persists in the database, Reflected XSS bounces off a server response, and DOM XSS executes entirely client-side; CSP restricts allowed script sources. | Adding `Content-Security-Policy: default-src 'self'; script-src 'nonce-rAnd0m'` and setting `HttpOnly` on session cookies blocks injected inline `<script>` tags from stealing JWT tokens. |
|
| 10 | How does a Time-of-Check to Time-of-Use (TOCTOU) race condition occur, and what operating system controls prevent stack buffer overflows? | TOCTOU occurs when an attacker modifies a resource between a program's security check and its execution; ASLR, DEP/NX bits, and stack canaries mitigate buffer overflows. | A privileged binary checks permissions on `/tmp/config` before opening it, allowing a local attacker to swap in a symlink to `/etc/shadow` during the microsecond window. |
|
| 11 | How do DMARC, SPF, and DKIM work together in DNS to prevent domain email spoofing and business email compromise (BEC)? | SPF lists authorized sender IPs, DKIM cryptographically signs email headers with a domain key, and DMARC enforces domain alignment and disposition (`none`, `quarantine`, `reject`). | Publishing `_dmarc.corp.com TXT "v=DMARC1; p=reject; rua=mailto:soc@corp.com"` instructs receiving mail servers to drop spoofed messages that fail SPF and DKIM domain alignment. |
|
| 12 | How does a Software Bill of Materials (SBOM) in CycloneDX or SPDX format defend against software supply-chain vulnerabilities? | An SBOM provides a machine-readable inventory of all direct and transitive open-source dependencies, enabling rapid vulnerability identification when a zero-day CVE is disclosed. | When a critical vulnerability in a logging library is announced, the SecOps team queries their CycloneDX SBOM repository to pinpoint every affected microservice within minutes. |
|
| 13 | How do Advanced Persistent Threats (APTs), hacktivists, and malicious vs. negligent insider threats differ in motivation, resources, and dwell time? | APTs are state-sponsored actors conducting long-term stealth espionage; hacktivists pursue ideological disruption; insiders exploit legitimate access either maliciously for gain/revenge or negligently through error. | An APT group quietly maintains persistence via signed kernel drivers for 200 days to exfiltrate R&D blueprints, whereas a negligent insider accidentally exposes an S3 bucket. |
|
| 14 | How does IEEE 802.1Q VLAN tagging operate on switch trunk links, and what security vulnerability causes a double-tagging VLAN hopping attack? | IEEE 802.1Q inserts a 4-byte VLAN tag on trunk frames; double-tagging exploits an untagged Native VLAN matching the attacker's access port VLAN. | To remediate VLAN hopping on Cisco Catalyst switches, the engineer disables DTP (`switchport nonegotiate`), changes the Native VLAN to an unused ID, and tags all native traffic. |
|
| 15 | What are the four core lifecycle phases of the NIST SP 800-61r2 Incident Response model, and how does the diamond loop operate? | Preparation, Detection and Analysis, Containment/Eradication/Recovery, and Post-Incident Activity (Lessons Learned), with Containment/Eradication/Recovery cycling back to Detection and Analysis. | During a ransomware outbreak, the CSIRT isolates infected subnets (Containment), discovers additional web shells (cycling back to Analysis), removes persistence (Eradication), and restores clean backups (Recovery). |
|
| 16 | Why do parameterized queries (prepared statements) completely neutralize SQL Injection (SQLi) whereas input blacklisting frequently fails? | Parameterized queries separate the compiled SQL command structure from user-supplied parameters at the database driver level, ensuring input is never executed as SQL syntax. | When a login form binds `?` placeholders via PDO `prepare()`, an input of `' OR 1=1--` is evaluated strictly as a literal string rather than a boolean tautology. |
|
| 17 | How do IPv6 Global Unicast (`2000::/3`), Unique Local (`fc00::/7` / `fd00::/8`), and Link-Local (`fe80::/10`) addresses differ, and how does SLAAC replace DHCP? | Global Unicast is internet-routable, Unique Local is private, and Link-Local is single-segment; SLAAC uses ICMPv6 Router Advertisements so hosts self-assign `/64` addresses. | An IPv6 host boots with an automatic `fe80::` link-local address, sends an ICMPv6 Router Solicitation, and uses the `/64` prefix in the Router Advertisement for SLAAC. |
|
| 18 | How do Chain of Custody documentation, Legal Hold orders, and cryptographic hashing (`sha256sum`) protect the admissibility of digital forensic evidence? | Legal Hold mandates preserving relevant data, Chain of Custody logs every person handling evidence, and matching SHA-256 hashes prove the forensic image is unaltered. | A forensic examiner attaches a hardware write-blocker to a suspect NVMe drive, acquires a raw `dd` bit-stream image, and records matching SHA-256 digests on the custody form. |
|
| 19 | On the CompTIA Network+ (N10-009) examination, what are the maximum question count, time limit, passing score, and five official domain weights? | Maximum 90 questions in 90 minutes, passing score 720/900: Networking Concepts (23%), Implementation (20%), Operations (19%), Security (14%), and Troubleshooting (24%). | Because Network Troubleshooting (24%) and Networking Concepts (23%) represent nearly half of the N10-009 exam, candidates practice CLI diagnostics (`traceroute`, `dig`, `tcpdump`) and subnetting. |
|
| 20 | How does LACP (IEEE 802.3ad / 802.1AX) Link Aggregation combine physical switch interfaces, and how does it interact with Spanning Tree Protocol? | LACP bundles multiple physical Ethernet links into one logical Port-Channel (LAG) that increases bandwidth, provides redundancy, and appears as one logical link to STP. | Configuring an 8-port 10GBASE-SR LACP EtherChannel in `active` mode between core and distribution switches delivers an 80 Gbps trunk without STP blocking parallel links. |
|
| 21 | According to IETF RFC 3227, in what exact Order of Volatility must a digital forensics responder collect evidence from a live system? | From most volatile to least volatile: CPU registers and L1/L2/L3 cache, system RAM, swap/paging file and network state, persistent disk storage, then offline archival media. | Before pulling the power cord on a compromised Linux server, the forensic responder captures live RAM using LiME and records active TCP sockets via `ss -tulpan`. |
|
| 22 | What is the fundamental difference between Cross-Site Request Forgery (CSRF) and Server-Side Request Forgery (SSRF) in attack target and mitigation? | CSRF tricks an authenticated user's browser into sending unauthorized state-changing requests, while SSRF tricks a backend server into fetching internal resources like cloud metadata. | An attacker exploits an unvalidated PDF webhook URL via SSRF to query `http://169.254.169.254/latest/meta-data/iam/`, prompting engineers to enforce AWS EC2 IMDSv2 hop-limit tokens. |
|
| 23 | What are the four strategic risk response options (Accept, Mitigate, Transfer, Avoid), and how do Inherent Risk and Residual Risk differ? | Mitigate applies controls, Transfer shifts loss via insurance, Avoid stops the activity, and Accept retains the Residual Risk left after reducing Inherent Risk. | After deploying WAF rules to mitigate Inherent Risk from $100,000 to $15,000 Residual Risk, executive management signs a Risk Exception formally accepting the remaining $15,000 exposure. |
|
| 24 | Which exact default port numbers and transport protocols must a network engineer know for SSH, DNS, DHCP, NTP, SNMP, LDAP/LDAPS, SMB, and RDP? | SSH (TCP 22), DNS (UDP/TCP 53), DHCP (UDP 67/68), NTP (UDP 123), SNMP (UDP 161/162), LDAP/LDAPS (TCP 389/636), SMB (TCP 445), and RDP (TCP 3389). | When hardening a perimeter ACL, the administrator blocks inbound TCP 445 (SMB) and TCP 3389 (RDP) while permitting internal switches to sync clocks via UDP 123 (NTP). |
|
| 25 | How do DHCP Snooping and Dynamic ARP Inspection (DAI) work together on Layer 2 switches to defeat rogue DHCP servers and ARP poisoning MITM attacks? | DHCP Snooping blocks untrusted DHCP offers and builds a MAC-to-IP binding table, which DAI references to drop forged ARP replies on untrusted ports. | When an attacker runs `arpspoof` on an access port, Dynamic ARP Inspection checks the DHCP Snooping binding table, drops the spoofed frame, and logs a violation. |
|
| 26 | In CompTIA Security+ (SY0-701), what are the official domain weights for Domain 2 (Threats, Vulnerabilities & Mitigations), Domain 4 (Security Operations), and Domain 5 (Program Management)? | Domain 2 is 22%, Domain 4 (Security Operations) is the largest domain at 28%, and Domain 5 (Program Management and Oversight) is 20%. | Because Security Operations (28%) and Threats/Mitigations (22%) together represent half of the SY0-701 exam, candidates prioritize log analysis, vulnerability remediation, and incident response. |
|
| 27 | What major structural addition was introduced in the NIST Cybersecurity Framework (CSF) 2.0 compared to NIST CSF 1.1? | NIST CSF 2.0 added 'Govern' (GV) as a sixth cross-cutting core function alongside Identify, Protect, Detect, Respond, and Recover. | Under NIST CSF 2.0, the CISO maps board-level risk appetite, supply-chain cybersecurity oversight, and C-suite accountability directly to the central Govern (GV) function. |
|
| 28 | How do OSPF and BGP differ in routing classification, metric/path selection, and standard Administrative Distance (AD)? | OSPF is an Interior Gateway Protocol (Link-State, Dijkstra SPF bandwidth cost, AD 110); BGP is the Exterior Gateway Protocol (Path-Vector, AS-Path attributes, eBGP AD 20). | Inside the enterprise campus, routers exchange LSA packets in OSPF Area 0, while dual edge routers peer with upstream ISPs via eBGP over TCP port 179. |
|
| 29 | Across the 7-layer OSI Reference Model, what is the exact Protocol Data Unit (PDU) and primary addressing or encapsulation mechanism at Layers 1 through 4? | Layer 1 (Physical) transmits Bits, Layer 2 (Data Link) switches MAC Frames, Layer 3 (Network) routes IP Packets, and Layer 4 (Transport) segments TCP/UDP Ports. | When inspecting a Wireshark capture, an engineer verifies the Layer 2 Ethernet MAC header, Layer 3 IPv4 source/destination addresses, and Layer 4 TCP SYN port numbers. |
|
| 30 | What are the 7 sequential steps of the official CompTIA Network+ (N10-009) troubleshooting methodology? | 1. Identify problem, 2. Establish theory of probable cause, 3. Test theory, 4. Plan action, 5. Implement or escalate, 6. Verify functionality, 7. Document. | After a branch loses internet connectivity, the technician checks physical optical transceiver link lights (bottom-up OSI approach), confirms a cut fiber patch cord, replaces it, and documents the ticket. |
|
| 31 | How does Rapid Spanning Tree Protocol (802.1w RSTP) prevent Layer 2 broadcast storms, and why must BPDU Guard be enabled on access ports? | RSTP elects a Root Bridge and blocks redundant switch loops; BPDU Guard immediately err-disables any user access port that receives a rogue BPDU. | Enabling `spanning-tree portfast` and `spanning-tree bpduguard enable` on cubicle wall jacks prevents an employee's plugged-in switch from seizing Root Bridge election and disrupting topology. |
|
| 32 | How are Single Loss Expectancy (SLE) and Annualized Loss Expectancy (ALE) calculated in quantitative risk analysis, and what is a worked example? | SLE = Asset Value (AV) × Exposure Factor (EF), and ALE = SLE × Annualized Rate of Occurrence (ARO). | If a $500,000 data center (AV) faces a 40% damage loss from a cooling failure (EF = 0.40) occurring once every 4 years (ARO = 0.25), SLE = $200,000 and ALE = $50,000. |
|