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)ExampleMultiple-Choice Options
1How 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.
  • SIEM centralizes log correlation; SOAR orchestrates automated playbooks; EDR secures endpoints; XDR unifies cross-domain detection
  • 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.
  • SOAR reduces Mean Time to Respond (MTTR) by executing automated containment actions triggered by SIEM/XDR alerts
2How 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.
  • HSRP (Cisco proprietary), VRRP (open standard), and GLBP (active load-balancing) provide a shared virtual default gateway IP/MAC
  • Clients point to a single Virtual IP (VIP) that automatically fails over between redundant Layer 3 routers
  • FHRPs share a virtual IP and virtual MAC across multiple routers so standby routers seamlessly assume default gateway forwarding if the active router fails.
3In 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.
  • MSA sets master contract terms, SLA defines uptime metrics, ISA governs technical interconnections, BPA defines partner roles, MOU states intent, and NDA protects secrecy.
  • SLA (uptime/metrics), MSA (umbrella contract), ISA (technical link security), MOU (non-binding intent), BPA (partnership), NDA (secrecy)
  • An ISA defines technical security rules between connected systems, whereas an SLA defines measurable performance and penalties
4How 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.
  • PtH reuses NTLM hashes; Kerberoasting cracks SPN TGS tickets offline; Golden Ticket compromises the domain KRBTGT hash
  • Enforcing Group Managed Service Accounts (gMSA) with 120-character passwords mitigates offline Kerberoasting attacks
  • 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.
5In 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.
  • Preparation -> Identification -> Containment -> Eradication -> Recovery -> Lessons Learned
  • CompTIA separates Containment, Eradication, and Recovery into distinct sequential milestones before Lessons Learned
  • Preparation, Identification, Containment, Eradication, Recovery, and Lessons Learned (often separating Reporting/Notification as an explicit operational requirement).
6How 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.
  • GDPR (EU personal data law, 72h breach notice), HIPAA (US healthcare ePHI law), PCI-DSS (payment card industry contractual standard)
  • 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.
  • PCI-DSS is enforced via merchant bank contracts rather than government legislation like GDPR or HIPAA
7How 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.
  • DNSSEC provides cryptographic authentication (not confidentiality) via RRSIG/DNSKEY/DS; DoH/DoT encrypt transport between client and resolver
  • DNSSEC stops DNS spoofing via digital signatures; DoT (port 853) and DoH (port 443) encrypt DNS traffic in transit
  • DNSSEC cryptographically signs DNS records to guarantee origin authenticity against cache poisoning, whereas DoH (TCP 443) and DoT (TCP 853) encrypt queries for privacy.
8In 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.
  • 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`.
  • 62 usable hosts (192.168.10.65–192.168.10.126), network ID 192.168.10.64, broadcast address 192.168.10.127
  • Subnet mask 255.255.255.192 (/26) provides 64 total addresses and 62 usable host IPs
9How 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.
  • 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.
  • Stored saves payloads server-side, Reflected echoes URL input, DOM alters client JS; CSP and output encoding prevent execution
  • CSP headers block unauthorized inline scripts and external domains even if XSS HTML encoding fails
10How 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.
  • 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.
  • TOCTOU exploits the timing gap between validation and use; ASLR, DEP/NX, and stack canaries stop memory corruption
  • Atomic file operations and mutex locks prevent TOCTOU; DEP marks stack memory non-executable and ASLR randomizes addresses
11How 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.
  • SPF validates sender IP, DKIM verifies cryptographic header signatures, and DMARC enforces domain alignment and rejection
  • SPF lists authorized sender IPs, DKIM cryptographically signs email headers with a domain key, and DMARC enforces domain alignment and disposition (`none`, `quarantine`, `reject`).
  • DMARC requires SPF and/or DKIM identifier alignment and specifies how receivers handle failed messages
12How 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.
  • 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.
  • SBOMs catalog all direct and transitive components so teams can immediately locate vulnerable third-party libraries
  • Standardized SPDX/CycloneDX SBOMs provide full dependency transparency and cryptographic hash verification across CI/CD pipelines
13How 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.
  • 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.
  • APTs have nation-state funding and long dwell times; hacktivists seek publicity; insiders already possess authorized access
  • State-sponsored APTs focus on covert espionage/sabotage, while insider threats bypass perimeter defenses using valid credentials
14How 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.
  • 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.
  • 802.1Q adds a 4-byte tag (12-bit VLAN ID); double-tagging abuses the untagged Native VLAN to jump across switches
  • Mitigate 802.1Q VLAN hopping by disabling DTP auto-trunking and assigning the Native VLAN to a dedicated dead VLAN
15What 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).
  • 1. Preparation, 2. Detection & Analysis, 3. Containment, Eradication & Recovery, 4. Post-Incident Activity
  • Preparation, Detection and Analysis, Containment/Eradication/Recovery, and Post-Incident Activity (Lessons Learned), with Containment/Eradication/Recovery cycling back to Detection and Analysis.
  • Four NIST 800-61 phases where Containment/Eradication/Recovery iteratively feeds back into Detection and Analysis
16Why 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.
  • Prepared statements pre-compile the SQL execution plan so user input is treated strictly as literal data
  • 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.
  • Parameter binding separates code from data, preventing attackers from altering the SQL abstract syntax tree
17How 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.
  • 2000::/3 (public internet), fd00::/8 (private internal), fe80::/10 (local link); SLAAC auto-configures IPs via ICMPv6 ND/RA
  • 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.
  • SLAAC lets IPv6 hosts configure their own global address using ICMPv6 Router Advertisements without a stateful DHCPv6 server
18How 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.
  • 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.
  • Write-blockers and SHA-256 hashes verify bit-for-bit integrity; Chain of Custody tracks possession; Legal Hold prevents spoliation
  • Chain of Custody accounts for every transfer of evidence, while cryptographic hashes prove zero modification during analysis
19On 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.
  • 90 questions max in 90 minutes, 720/900 pass score; Concepts 23%, Implementation 20%, Operations 19%, Security 14%, Troubleshooting 24%
  • Up to 90 items (MCQs + PBQs), 90 minutes, 720 out of 900 minimum score
  • Maximum 90 questions in 90 minutes, passing score 720/900: Networking Concepts (23%), Implementation (20%), Operations (19%), Security (14%), and Troubleshooting (24%).
20How 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.
  • 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.
  • 802.3ad LACP bundles physical links into one logical Port-Channel for load balancing and sub-second failover
  • STP treats an LACP LAG bundle as a single logical link, preventing redundant physical links from being blocked
21According 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`.
  • 1. CPU registers/cache -> 2. RAM/kernel tables -> 3. Swap/network connections -> 4. Disk drives -> 5. Remote logs/archival media
  • Collect CPU cache and RAM first before capturing non-volatile disk bit-stream images
  • 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.
22What 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.
  • CSRF abuses client browser trust (mitigated by anti-CSRF tokens/SameSite cookies); SSRF abuses server network trust
  • CSRF targets the authenticated user's session; SSRF targets internal backend networks or cloud metadata endpoints
  • 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.
23What 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.
  • Inherent Risk is raw pre-control risk; Residual Risk is risk remaining after mitigation, which leadership must formally accept
  • Mitigate applies controls, Transfer shifts loss via insurance, Avoid stops the activity, and Accept retains the Residual Risk left after reducing Inherent Risk.
  • Avoid (cancel activity), Transfer (cyber insurance), Mitigate (implement security controls), Accept (sign off on residual risk)
24Which 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).
  • 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).
  • 22 SSH, 53 DNS, 67/68 DHCP, 123 NTP, 161/162 SNMP, 389/636 LDAP/S, 445 SMB, 3389 RDP
  • DNS uses UDP 53 for queries and TCP 53 for zone transfers/large DNSSEC responses; DHCP uses UDP 67 (server) and 68 (client)
25How 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.
  • 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.
  • DHCP Snooping filters untrusted DHCP responses and populates a binding table used by DAI to validate ARP packets
  • DAI depends on the DHCP Snooping binding database to verify MAC-to-IP mappings and block gratuitous ARP spoofing
26In 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.
  • Domain 2 is 22%, Domain 4 (Security Operations) is the largest domain at 28%, and Domain 5 (Program Management and Oversight) is 20%.
  • Threats, Vulnerabilities & Mitigations: 22%; Security Operations: 28%; Security Program Management & Oversight: 20%
  • Domain 2 = 22%, Domain 4 = 28%, Domain 5 = 20% (totaling 70% of the SY0-701 blueprint)
27What 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.
  • NIST CSF 2.0 added 'Govern' (GV) as a sixth cross-cutting core function alongside Identify, Protect, Detect, Respond, and Recover.
  • Added Govern (GV) as the 6th core function governing Identify, Protect, Detect, Respond, and Recover
  • Six NIST CSF 2.0 functions: Govern, Identify, Protect, Detect, Respond, and Recover
28How 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.
  • 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).
  • OSPF: Link-State IGP using interface cost (AD 110); BGP: Path-Vector EGP using AS-Path and policies over TCP 179 (eBGP AD 20)
  • OSPF routes inside an Autonomous System using Dijkstra SPF; BGP routes between Autonomous Systems across the internet
29Across 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.
  • L1: Bits, L2: Frames (MAC), L3: Packets (IP), L4: Segments/Datagrams (TCP/UDP ports)
  • 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.
  • Physical = Bits, Data Link = Frames, Network = Packets, Transport = Segments (TCP) or Datagrams (UDP)
30What 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.
  • Identify problem -> Establish theory -> Test theory -> Plan action -> Implement/escalate -> Verify + preventive measures -> Document
  • Seven-step CompTIA methodology ending with verifying full system functionality and documenting findings, actions, and outcomes
  • 1. Identify problem, 2. Establish theory of probable cause, 3. Test theory, 4. Plan action, 5. Implement or escalate, 6. Verify functionality, 7. Document.
31How 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.
  • RSTP prevents Layer 2 switching loops with sub-second convergence; BPDU Guard shuts down access ports receiving BPDUs
  • BPDU Guard protects the RSTP Root Bridge topology by disabling edge PortFast ports if a switch is connected
  • RSTP elects a Root Bridge and blocks redundant switch loops; BPDU Guard immediately err-disables any user access port that receives a rogue BPDU.
32How 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.
  • SLE = Asset Value (AV) × Exposure Factor (EF), and ALE = SLE × Annualized Rate of Occurrence (ARO).
  • SLE = AV * EF; ALE = SLE * ARO (or AV * EF * ARO)
  • Multiply Asset Value by Exposure Factor for SLE, then multiply SLE by Annualized Rate of Occurrence for ALE