Two required exams · Core 1 (220-1201) and Core 2 (220-1202) · Both must pass to earn A+
Core 1 domain weights
Mobile hardware & connections
Display types
LCD (IPS best viewing angles, TN fastest, VA best contrast) vs OLED (true blacks, AMOLED on phones). Digitizer = touch layer. Gorilla Glass = scratch protection.
Internal components
Batteries (Li-Ion, non-removable on most modern devices). Cameras (front/rear). Wi-Fi antennas in bezel. SIM card or eSIM.
| Connection | Use case | Notes |
|---|---|---|
| USB-C | Charging, data, video | Universal modern standard, reversible |
| Lightning | Apple legacy | Replaced by USB-C on iPhone 15+ |
| Bluetooth | Wireless peripherals | Short range ~10m, pairing required |
| NFC | Tap-to-pay, file share | Very short range (~4cm) |
| Docking station | Desktop expansion | Adds ports, display, power |
Mobile troubleshooting
| Symptom | Likely cause / fix |
|---|---|
| No display | Check power, battery, display connector |
| Overheating | Background apps, charging + heavy use, direct sunlight |
| No wireless | Airplane mode on? Wrong APN? Carrier settings outdated? |
| Short battery life | Background refresh, location services, aging battery |
| Touchscreen unresponsive | Digitizer damage, moisture, screen protector issue |
Key ports & protocols
| Protocol | Port | Transport | Use |
|---|---|---|---|
| FTP | 20/21 | TCP | File transfer (unencrypted) |
| SSH / SFTP | 22 | TCP | Encrypted CLI + secure file transfer |
| Telnet | 23 | TCP | Unencrypted — never use |
| SMTP | 25 | TCP | Send outbound email |
| DNS | 53 | UDP/TCP | Hostname → IP |
| DHCP | 67/68 | UDP | Auto IP assignment |
| HTTP | 80 | TCP | Unencrypted web |
| POP3 | 110 | TCP | Receive email (downloads, deletes from server) |
| IMAP | 143 | TCP | Receive email (syncs, stays on server) |
| SNMP | 161/162 | UDP | Network device monitoring |
| HTTPS | 443 | TCP | Encrypted web |
| SMB | 445 | TCP | Windows file/printer sharing |
| RDP | 3389 | TCP | Windows remote desktop |
Wireless encryption
| Protocol | Encryption | Status |
|---|---|---|
| WEP | RC4 | Broken — never use |
| WPA | TKIP/RC4 | Weak — avoid |
| WPA2 | AES/CCMP | Current minimum standard |
| WPA3 | AES/GCMP + SAE | Best — use when available |
Networking tools
| Tool | Purpose |
|---|---|
| Cable tester | Tests copper cable continuity, pinout, shorts/opens |
| Crimper | Attaches RJ45/RJ11 connectors to cable ends |
| Punch-down tool | Seats wires into keystone jacks and patch panels |
| Toner probe | Traces cables through walls and ceilings |
| Wi-Fi analyzer | Shows SSIDs, channels, signal strength (RSSI), interference |
| Loopback plug | Tests NIC and port send/receive capability |
| OTDR | Tests fiber for breaks, bends, and connector loss |
Storage types
| Type | Interface | Speed | Notes |
|---|---|---|---|
| HDD | SATA | ~150 MB/s | Spinning disk, cheapest per GB, slowest |
| SSD (2.5") | SATA | ~550 MB/s | No moving parts, faster than HDD |
| NVMe M.2 | PCIe | 3,000–7,000 MB/s | Fastest consumer storage |
| eMMC | Embedded | ~150 MB/s | Soldered, budget laptops/tablets |
Connectors & cables
| Cable/Connector | Use case |
|---|---|
| HDMI | Digital video + audio (TVs, monitors). 4K, 8K support. |
| DisplayPort | Higher-end monitors. Supports high refresh rates and daisy-chaining. |
| USB-C | Universal. Supports USB 3.2, Thunderbolt, Power Delivery, video. |
| Thunderbolt 3/4 | Up to 40 Gbps, looks identical to USB-C. Intel proprietary. |
| VGA | Legacy analog video — blue 15-pin D-sub connector. |
| DVI | Digital/analog video — older monitors. |
| SATA | Internal drives — L-shaped power + data connectors. |
Printer types
| Type | How it works | Best for |
|---|---|---|
| Laser | Toner powder + charged drum + fuser (heat). Electrostatically attracts toner. | High-volume office |
| Inkjet | Liquid ink sprayed through tiny nozzles. | Photos, low-volume color |
| Thermal | Heat activates special paper coating — no ink required. | Receipts, labels |
| Impact/dot matrix | Pins strike ribbon on paper — creates characters. | Multi-part forms, noisy |
Hypervisor Type 1 (bare metal)
Runs directly on hardware. No host OS. VMware ESXi, Microsoft Hyper-V, KVM. Most efficient — used in production data centers.
Hypervisor Type 2 (hosted)
Runs inside an existing OS. VirtualBox, VMware Workstation. Easier to set up but less efficient. Used for development/testing.
Containers
Share host OS kernel — much lighter than VMs. Docker. Fast to start, consistent across environments. No full OS needed per container.
VDI — Virtual Desktop Infrastructure
OS hosted on server, user accesses via thin client or RDP. Centralized management, no data on endpoint.
| Service model | Customer manages | Examples |
|---|---|---|
| IaaS | OS, apps, data | AWS EC2, Azure VMs, Google Compute |
| PaaS | Apps and data only | Elastic Beanstalk, App Engine |
| SaaS | Just uses the application | Gmail, Microsoft 365, Dropbox, Salesforce |
Troubleshooting methodology
Identify the problem
Gather info, question users, identify symptoms, review recent changes, duplicate if possible
Establish a theory
Question the obvious first. Start simple — Layer 1 before Layer 7.
Test the theory
Confirm or disprove. Establish new theory if needed. Escalate if necessary.
Establish an action plan
Plan the fix. Consider impact. Schedule maintenance window if needed.
Implement the solution
Apply fix or workaround. Escalate if unable to resolve.
Verify full functionality
Confirm problem resolved and no new issues introduced.
Document findings
Record cause, steps taken, resolution. Update documentation.
| Symptom | Likely cause |
|---|---|
| No POST / no beeps | Dead CPU, RAM not seated, bad PSU |
| BSOD | Driver issue, RAM failure, overheating, bad storage |
| Clicking/grinding noise | HDD failing — back up immediately |
| Overheating/shutdown | Dried thermal paste, failed fan, blocked vents |
| 169.254.x.x IP address | APIPA — device can't reach DHCP server |
| Can ping IP, not hostname | DNS failure — check DNS server settings |
| Slow network speeds | Duplex mismatch, interference, congestion |
CLI network tools
| Command | OS | Purpose |
|---|---|---|
ipconfig /all | Windows | Full IP config including MAC, DNS, DHCP |
ping | All | Tests reachability, measures RTT |
tracert / traceroute | Win/Lin | Shows hop-by-hop path to destination |
nslookup | All | DNS queries — resolves hostnames |
netstat | All | Active connections and listening ports |
arp -a | All | Shows ARP cache (IP → MAC) |
Core 2 domain weights
Windows tools
| Tool | Purpose |
|---|---|
| Task Manager | Processes, CPU/RAM usage, startup apps, services |
| Device Manager | Hardware drivers, status, conflicts, update/rollback |
| Disk Management | Partitions, format, assign drive letters, shrink/extend |
| Registry Editor (regedit) | Edit Windows registry. HKLM (machine), HKCU (user). |
| Event Viewer | System, application, and security logs — diagnose issues |
| System Config (msconfig) | Boot options, startup items, services — safe boot |
| Group Policy (gpedit) | Local policies for Pro/Enterprise only |
| sfc /scannow | System File Checker — scans and repairs corrupt Windows files |
| DISM | Deployment Image Servicing — repairs Windows component store |
| chkdsk | Check and repair disk/filesystem errors |
Windows file systems
| File system | Max file size | Use case |
|---|---|---|
| NTFS | 16 TB | Default Windows. Permissions, encryption (EFS), journaling. |
| FAT32 | 4 GB | USB drives — maximum compatibility across OS platforms. |
| exFAT | 16 EB | Flash/SD storage. No file size limit. Cross-platform. |
| REFS | 16 EB | Resilient File System. Windows Server. Self-healing. |
macOS & Linux basics
macOS key tools
Finder (files), Spotlight (search), Time Machine (backup), FileVault (encryption), Gatekeeper (app security), Terminal (Unix CLI), Disk Utility (partitions/repair), Homebrew (package manager)
Linux commands
ls list · cd change dir · chmod permissions · chown ownership · grep search · ps/top processes · sudo elevate · apt install packages · systemctl services
Malware types
| Malware | How it spreads | Key trait |
|---|---|---|
| Virus | Attaches to files | Needs a host file, self-replicates |
| Worm | Network (self-propagating) | No host needed, spreads automatically |
| Trojan | Appears as legitimate software | Hidden malicious payload |
| Ransomware | Email, exploits | Encrypts files, demands payment |
| Rootkit | Exploits, installers | Hides deep in OS, hardest to remove |
| Spyware | Bundled software | Silently collects user data |
| Keylogger | Malware, physical device | Records all keystrokes |
| Botnet | Malware infection | Remotely controlled network of infected machines |
Malware removal steps
Identify and research symptoms
Look up symptoms — identify malware type
Quarantine the system
Disconnect from network to prevent spread
Disable System Restore
Prevent malware from hiding in restore points
Remediate
Run anti-malware in Safe Mode. Multiple scans from multiple tools.
Schedule scans and update
Patch OS and all software after cleaning
Enable System Restore
Re-enable and create a clean restore point
Educate end user
Explain how infection happened and how to avoid it
Authentication methods
Password
Something you know. Weakest alone. Must be complex and unique per service.
Biometrics
Something you are. Fingerprint, face, iris, voice. Convenient but not revocable if compromised.
MFA
Two or more factors combined. Dramatically reduces credential theft success rate.
Smart card
Something you have. Physical card with embedded chip. Common in government/enterprise.
TOTP
Time-based One-Time Password. 6-digit code via authenticator app, changes every 30 seconds.
SSO
Single Sign-On. One credential for multiple systems. Reduces password fatigue but single point of failure.
| Symptom | Likely cause / fix |
|---|---|
| BSOD (Blue Screen) | Bad driver, RAM, storage. Check Event Viewer. Run sfc /scannow and DISM. |
| Won't boot / boot loop | Corrupt boot record. Use WinRE → Startup Repair or bootrec /fixmbr. |
| Slow performance | Malware, too many startup apps, failing HDD, low RAM. |
| Application crashes | Corrupt install, missing DLL, compatibility issue. Reinstall or update. |
| Missing DLL error | Reinstall the application that should provide that DLL. |
| Profile won't load | Corrupt user profile. Create new profile in User Accounts. |
Windows recovery tools
WinRE (Windows Recovery Environment)
Boot with F8 or installation media. Gives access to Startup Repair, System Restore, Reset, Command Prompt.
System Restore
Rolls back Windows to a previous checkpoint. Doesn't affect personal files.
Reset this PC
Reinstalls Windows. Choose "Keep my files" or "Remove everything." Nuclear option.
bootrec commands
bootrec /fixmbr · bootrec /fixboot · bootrec /rebuildbcd — fix boot sector issues from WinRE CMD.
Backup types
| Type | What it backs up | Restore speed | Storage use |
|---|---|---|---|
| Full | Everything | Fastest | Most |
| Incremental | Changes since last backup (any type) | Slowest (need all incrementals) | Least |
| Differential | Changes since last full backup | Medium (full + latest diff) | Medium |
| Synthetic full | Built from full + incrementals | Fast | Less than full |
Safety & environmental
ESD — Electrostatic Discharge
Use anti-static wrist strap connected to chassis ground. Anti-static mat. Anti-static bags for components. Never touch PCB traces or chip contacts.
Fire extinguisher types
A = ordinary combustibles · B = liquids · C = electrical · D = metals · K = kitchen. Use ABC extinguisher for electronics rooms.
Disposal
Li-Ion batteries — recycle, don't trash. CRT monitors — hazardous (lead glass). Hard drives with sensitive data — degauss or shred. e-Waste programs.
Every bullet point from the official CompTIA objectives, organized by domain
Exam domain weights
OSI model layers
| # | Layer | PDU | Devices | Protocols / technologies |
|---|---|---|---|---|
| 7 | Application | Data | — | HTTP, HTTPS, FTP, DNS, DHCP, SMTP, SNMP, RDP, SIP |
| 6 | Presentation | Data | — | SSL/TLS, JPEG, encryption, compression, encoding |
| 5 | Session | Data | — | SIP, NetBIOS, RPC, NFS |
| 4 | Transport | Segment | — | TCP (reliable), UDP (fast), ICMP |
| 3 | Network | Packet | Router, L3 switch | IP, OSPF, BGP, EIGRP, ICMP |
| 2 | Data Link | Frame | Switch, bridge, NIC | Ethernet, MAC, STP, 802.1Q, ARP |
| 1 | Physical | Bits | Hub, cables, WAP, repeater | 802.3, 802.11, DSL, fiber, coax |
Networking appliances
Router (L3)
Routes packets between networks using IP. Maintains routing table. Separates broadcast domains. Can be physical or virtualized.
Switch (L2)
Forwards frames by MAC address. Learns MAC table. Each port = its own collision domain. All ports = same broadcast domain (unless VLANs).
Firewall
Filters traffic by rules. Stateful = tracks active connections (allows return traffic). Stateless = evaluates each packet independently.
IDS vs IPS
IDS = passive, detects and alerts. Copy of traffic — first packet reaches destination. IPS = inline, actively blocks. Both use signature, policy, and anomaly detection.
Load balancer (L4/L7)
Distributes traffic across multiple servers. Algorithms: round-robin, least connections, weighted distribution. Provides high availability.
Proxy server
Forward proxy = represents clients, hides client IPs. Reverse proxy = represents servers, hides server IPs. Both cache content and enforce policy.
NAS
Network-Attached Storage. File-level storage over the network (NFS, SMB). Has its own IP address. Accessible by any network client.
SAN
Storage Area Network. Block-level, high-speed dedicated storage network. Appears as locally attached disk to servers. Used for databases and VMs.
Cloud concepts
NFV — Network Functions Virtualization
Replaces physical appliances (firewalls, routers, load balancers) with software VMs running on commodity hardware.
VPC — Virtual Private Cloud
Logically isolated section of a public cloud. You launch your own resources in a private virtual network within the provider's infrastructure.
Network security groups
Virtual firewalls at the VM level. Control inbound/outbound traffic per virtual machine instance.
Cloud gateways
Internet gateway (public internet access), NAT gateway (private subnet outbound), VPN gateway (encrypted tunnel into cloud).
| Deployment model | Best for |
|---|---|
| Public | Scalability, lower cost |
| Private | Regulated industries, strict data control |
| Hybrid | Migration, mixed workloads |
| Community | Shared orgs with common interests |
| Service model | Customer manages | Examples |
|---|---|---|
| IaaS | OS, apps, data | EC2, Azure VMs |
| PaaS | Apps and data only | Elastic Beanstalk |
| SaaS | Nothing — just uses app | Gmail, M365 |
Ports & protocols
| Protocol | Port(s) | Transport | Key fact |
|---|---|---|---|
| FTP | 20/21 | TCP | 20=data, 21=control · unencrypted |
| SSH / SFTP | 22 | TCP | Encrypted remote CLI + secure file transfer |
| Telnet | 23 | TCP | Unencrypted CLI — never use in production |
| SMTP | 25 | TCP | Sends outbound email · SMTPS = 465 |
| DNS | 53 | UDP (TCP zone xfer) | Hostname → IP · A, AAAA, MX, CNAME, PTR, NS, TXT |
| DHCP | 67/68 | UDP | 67=server, 68=client · DORA process |
| TFTP | 69 | UDP | No auth · used for device config transfer |
| HTTP | 80 | TCP | Unencrypted web traffic |
| NTP | 123 | UDP | Clock sync (millisecond accuracy) |
| SNMP | 161/162 | UDP | 161=polls, 162=traps · v3=encrypted |
| LDAP | 389 | TCP | Directory queries · LDAPS=636 |
| HTTPS | 443 | TCP | HTTP over TLS/SSL |
| SQL Server | 1433 | TCP | Microsoft SQL database |
| RDP | 3389 | TCP | Windows GUI remote access |
| SIP | 5060/5061 | TCP/UDP | VoIP call setup · 5061=TLS |
Traffic types
Unicast
One-to-one. Most common. Standard IP address.
Multicast
One-to-many (group). Class D (224.x.x.x). Devices join group to receive.
Broadcast
One-to-all on subnet. 255.255.255.255. Does NOT exist in IPv6.
Anycast
One-to-nearest. Same IP on multiple devices. DNS roots, CDNs.
Transmission media — wired
| Type | Speed | Max distance | Connector | Notes |
|---|---|---|---|---|
| Coax RG-6 (75Ω) | — | — | F-type (screw) | Cable TV and modems |
| Coax RG-58 (50Ω) | 10 Mbps | 185m | BNC | Legacy 10BASE2 Ethernet |
| DAC (twinax) | 10–100 Gbps | 1–7m | SFP/QSFP | Data center top-of-rack |
| UTP Cat 5e | 1 Gbps | 100m | RJ45 | Most common legacy LAN |
| UTP Cat 6 | 1 Gbps | 100m | RJ45 | Reduced crosstalk vs 5e |
| UTP Cat 6a | 10 Gbps | 100m | RJ45 | 10G over copper |
| UTP Cat 8 | 40 Gbps | 30–36m | RJ45 | Data centers only |
| MMF (multimode fiber) | 1–10+ Gbps | Up to 550m | LC, SC, ST, MPO | LED source, cheaper, shorter |
| SMF (single-mode fiber) | 10+ Gbps | km–100+ km | LC, SC, MPO | Laser source, WAN/long-haul |
Transmission media — wireless (802.11, cellular, satellite)
| Standard | Wi-Fi name | Band | Max speed | Key technology |
|---|---|---|---|---|
| 802.11a | — | 5 GHz | 54 Mbps | OFDM |
| 802.11b | — | 2.4 GHz | 11 Mbps | DSSS |
| 802.11g | — | 2.4 GHz | 54 Mbps | OFDM / DSSS |
| 802.11n | Wi-Fi 4 | 2.4 / 5 GHz | 300+ Mbps | MIMO, channel bonding |
| 802.11ac | Wi-Fi 5 | 5 GHz | 3+ Gbps | MU-MIMO, beamforming |
| 802.11ax | Wi-Fi 6 | 2.4 / 5 / 6 GHz | 9.6 Gbps | OFDMA — best efficiency |
| Cellular (LTE/5G) | — | Various | 100 Mbps–Gbps | Mobile/hotspot/tethering |
| Satellite | — | — | Varies | High latency (~250ms), weather-sensitive |
Transceivers & connectors
| Connector | Type | Use case |
|---|---|---|
| RJ45 | Copper | Ethernet (8-pin) |
| RJ11 | Copper | Telephone (4/6-pin) |
| BNC | Coax | Legacy 10BASE2, video |
| F-type | Coax | Cable TV/modems (screw-type) |
| LC | Fiber | Most common modern fiber — small, push-pull |
| SC | Fiber | Square, push-pull — older installs |
| ST | Fiber | Bayonet twist-lock — legacy MMF |
| MPO/MTP | Fiber | Multi-fiber, high-density data centers |
| Transceiver | Speed |
|---|---|
| SFP | 1 Gbps |
| SFP+ | 10 Gbps |
| QSFP | 40 Gbps |
| QSFP28 | 100 Gbps |
Network topologies
| Topology | Description | Pros | Cons |
|---|---|---|---|
| Star | All devices → central switch | Easy to manage, one cable = one device | Central device = SPOF |
| Hub-and-spoke | WAN: spokes → central hub site | Low cost, easy to add sites | Suboptimal routes, hub = SPOF |
| Full mesh | Every site directly → every other | Most redundant, optimal paths | Very expensive — n(n-1)/2 links |
| Partial mesh / hybrid | Some direct connections | Balance of cost and redundancy | More complex to design |
| Point-to-point | Direct link between exactly 2 devices | Fastest, most secure, lowest latency | Not scalable |
| Three-tier | Access → Distribution → Core | Scalable enterprise design | More hardware cost |
| Collapsed core | Distribution + core merged into one | Cheaper, simpler for small networks | Less scalable |
| Spine and leaf | Data center: every leaf → every spine | Predictable latency, easy to expand | Complex, often Cisco-specific |
IPv4 addressing
| Class | First octet | Prefix | RFC1918 private range |
|---|---|---|---|
| A | 1–126 | /8 | 10.0.0.0 – 10.255.255.255 |
| B | 128–191 | /16 | 172.16.0.0 – 172.31.255.255 |
| C | 192–223 | /24 | 192.168.0.0 – 192.168.255.255 |
| D | 224–239 | — | Multicast — not assignable |
| E | 240–255 | — | Experimental |
| Prefix | Mask | Block | Usable hosts |
|---|---|---|---|
| /30 | 255.255.255.252 | 4 | 2 |
| /29 | 255.255.255.248 | 8 | 6 |
| /28 | 255.255.255.240 | 16 | 14 |
| /27 | 255.255.255.224 | 32 | 30 |
| /26 | 255.255.255.192 | 64 | 62 |
| /25 | 255.255.255.128 | 128 | 126 |
| /24 | 255.255.255.0 | 256 | 254 |
Routing technologies
| Protocol | Type | Metric | AD | Scope |
|---|---|---|---|---|
| Static | Manual | — | 1 | Small/simple networks |
| RIP | Distance vector | Hop count (max 15) | 120 | IGP — legacy |
| OSPF | Link state | Cost (bandwidth) | 110 | IGP — most common enterprise |
| EIGRP | Hybrid | Bandwidth + delay | 90 | IGP — Cisco proprietary |
| BGP | Path vector | Attributes | 20/200 | EGP — the internet's routing protocol |
NAT
Translates private IPs → public. Conserves IPv4 address space. One-to-one or many-to-one.
PAT (NAT overload)
Many private IPs → one public IP using unique port numbers. Standard home/office setup.
Subinterfaces
One physical interface → multiple logical (one per VLAN). Enables router-on-a-stick inter-VLAN routing.
FHRP
First Hop Redundancy — multiple routers share a VIP. If active fails, standby takes over. HSRP (Cisco), VRRP (open), GLBP.
VIP — Virtual IP
Shared IP used by FHRP or load balancers. Clients always point to VIP, not a specific device. Enables seamless failover.
Switching technologies
VLANs (802.1Q)
Logical broadcast domain segmentation. Traffic between VLANs must be routed. Trunks carry multiple VLANs. Native VLAN = untagged.
STP — Spanning Tree
Prevents L2 loops by blocking redundant paths. Elects root bridge (lowest Bridge ID wins). RSTP = faster convergence. PVST = per-VLAN STP.
Interface configuration
Access port = one VLAN. Trunk port = multiple VLANs. Speed/duplex settings. Auto-MDI/MDIX corrects cable type mismatches.
MTU & jumbo frames
Default MTU = 1500 bytes. Jumbo frames = up to 9000 bytes. Used in data centers to reduce overhead. Must be enabled end-to-end.
Wireless devices
| Topic | Key facts |
|---|---|
| Channels | 2.4 GHz: use channels 1, 6, 11 only (non-overlapping). 5 GHz: many non-overlapping channels. 6 GHz (Wi-Fi 6E): least congested. |
| Frequency options | 2.4 GHz = longer range, more interference. 5 GHz = faster, shorter range. 6 GHz = fastest, newest band. |
| SSID | Network name. Can be hidden (won't broadcast) but still discoverable via sniffing. Hidden SSID ≠ secure. |
| Network types | Infrastructure (BSS) = devices through AP. Ad hoc (IBSS) = device-to-device, no AP. ESS = multiple APs, same SSID. |
| Encryption | WEP = broken. WPA = weak. WPA2 (AES/CCMP) = current minimum. WPA3 = best (SAE handshake replaces PSK). |
| Guest networks | Separate SSID/VLAN for untrusted devices. Isolates guest traffic from corporate network completely. |
| Authentication | Open = no password. PSK = shared password. 802.1X/EAP = enterprise, per-user credentials via RADIUS server. |
| Antennas | Omnidirectional = radiates all directions (general APs). Directional/Yagi = focused beam (point-to-point links). Higher dBi = more gain. |
| Access points | Fat AP = standalone, self-configured. Thin AP = centrally managed by WLC (Wireless LAN Controller). WLC manages SSIDs, channels, roaming. |
Physical installations
Installation implications
Cable routing, plenum vs riser vs non-plenum (fire code), bend radius limits, patch panels, cable management, label everything.
Power considerations
UPS for critical gear. PoE 802.3af=15W, PoE+ 802.3at=30W. PDU = Power Distribution Unit in racks. Generator for extended outages.
Environmental factors
Temperature: 64–80°F (18–27°C). Humidity: 45–55%. Hot/cold aisle containment. Clean-agent fire suppression. Keep away from EMI sources (motors, fluorescent lights).
Documentation
Physical vs logical diagrams
Physical = actual hardware placement and cable runs. Logical = IP addresses, VLANs, routing paths. Both are required.
Rack diagram
Shows equipment in each rack unit (U) of a server rack. Documents gear placement and cabling within the rack.
Cable map
Documents every cable: source port, destination port, cable type, length, and label. Essential for troubleshooting.
Asset inventory
Tracks all hardware: serial numbers, models, locations, warranty status, assigned users.
IPAM
IP Address Management — database of all IP allocations, available ranges, DNS/DHCP records, reservations.
SLA
Service Level Agreement — defines guaranteed uptime, response times, and penalties. E.g. 99.9% = ~8.7 hrs downtime/year.
Wireless survey
Maps wireless signal coverage, identifies dead zones and interference sources. Done before and after AP deployment.
Life-cycle management
EOL — End of Life
Vendor stops selling the product. Still receives support. Plan replacement before it reaches EOS.
EOS — End of Support
Vendor stops patches, updates, and tech support. Running EOS devices = major security risk. Replace immediately.
Software management
Patch management, firmware updates, version control tracking. Never run unpatched firmware on network devices.
Decommissioning
Securely wipe configs and data. Remove from documentation, IPAM, and monitoring. Physically destroy sensitive hardware.
Change & configuration management
Change management
Request → review → approval → implementation → verification → documentation. Prevents unauthorized changes that cause outages.
Production config
The live running configuration on a device. Never edit directly without going through the change management process.
Backup & baseline configs
Backup = saved copy for recovery. Baseline = known-good reference state used to detect configuration drift.
Network monitoring
| Tool/method | Port | Purpose |
|---|---|---|
| SNMP | 161/162 | Polls devices for stats (CPU, bandwidth, errors). Traps = device-initiated alerts. v3 = encrypted + authenticated. |
| Flow data (NetFlow/sFlow) | — | Who talked to whom, how much traffic, for how long. Bandwidth analysis and anomaly detection. |
| Packet capture | — | Full packet inspection (Wireshark, tcpdump). Shows exact bytes. Best for deep protocol troubleshooting. |
| Log aggregation (Syslog) | 514 UDP | Centralized logging. Severity 0 (Emergency) → 7 (Debug). SIEM collects and correlates across sources. |
| Baseline metrics | — | Normal traffic patterns. Deviations from baseline indicate problems or attacks. |
| API integration | — | Programmatic access to monitoring data. Used in automation and orchestration tools. |
| Port mirroring (SPAN) | — | Copies switch port traffic to another port for IDS/capture. Non-disruptive — doesn't interrupt the copied traffic. |
Disaster recovery
RPO
Recovery Point Objective. Max acceptable data loss — how old can the backup be?
RTO
Recovery Time Objective. Max acceptable downtime — how fast must we recover?
MTTR
Mean Time to Repair. Average time to fix a failure.
MTBF
Mean Time Between Failures. Average uptime between failures.
| Site type | Recovery speed | Cost | Description |
|---|---|---|---|
| Cold site | Days–weeks | Lowest | Space and power only — no pre-installed equipment |
| Warm site | Hours–days | Medium | Equipment present but not fully configured or loaded |
| Hot site | Minutes | Highest | Fully operational mirror — instant failover |
| Active-active | Instant | Highest | Both sites run simultaneously and share the load |
| Active-passive | Minutes | High | Primary active, secondary on standby — takes over on failure |
Network services
DHCP — DORA
Discover → Offer → Request → Acknowledge. Assigns IP, mask, gateway, DNS. Lease duration controls how long the IP is valid.
SLAAC (IPv6)
Stateless Address Autoconfiguration. IPv6 devices auto-generate their own address using the router's prefix + EUI-64 (derived from MAC). No DHCP server needed.
DNS record types
A (IPv4) · AAAA (IPv6) · CNAME (alias) · MX (mail) · PTR (reverse) · NS (name server) · TXT (verification/SPF)
NTP
Network Time Protocol. Millisecond accuracy. Hierarchical stratum levels (0=atomic clock). Port 123 UDP.
PTP
Precision Time Protocol. Sub-microsecond accuracy. Used in financial systems, telecommunications, and industrial control.
NTS
Network Time Security. Adds authentication and encryption to NTP to prevent time-spoofing attacks.
Access & management methods
VPN
Site-to-site = connects offices. Remote access = individual users. Split tunnel = only VPN-destined traffic goes through. IPsec or SSL/TLS.
SSH (port 22)
Encrypted CLI access. Replaces Telnet. Key-based auth is more secure than passwords. Used for all managed device access.
GUI
Web-based management via HTTPS. Easier for configuration but slower than CLI. Examples: router web UI, Unifi dashboard.
API
Programmatic access (REST/NETCONF/RESTCONF). Used in SDN and automation tools like Ansible, Terraform.
Console
Direct out-of-band access via serial/RJ45 cable. Used when network is unreachable — initial setup or broken configs.
CIA triad & security terminology
Confidentiality
Only authorized users can access data. Encryption, ACLs, access controls.
Integrity
Data not altered in transit or at rest. Hashing (SHA-256), digital signatures, checksums.
Availability
Systems accessible when needed. Redundancy, backups, DR planning, failover.
Vulnerability
A weakness that could be exploited — unpatched software, misconfiguration, weak passwords.
Exploit
Code or technique that takes advantage of a vulnerability to cause harm.
Threat / Risk
Threat = any potential danger. Risk = probability × impact. Risk is what you manage to acceptable levels.
Logical security
| Technology | What it does |
|---|---|
| Encryption in transit | TLS/SSL, IPsec, SSH — protects data moving across the network from interception |
| Encryption at rest | AES, BitLocker — protects stored data if physical media is stolen |
| PKI | Public Key Infrastructure — framework of CAs, certificates, and key pairs for encryption and identity verification |
| IAM | Identity & Access Management — centrally manages who can access what resources |
| MFA | Something you know + have + are. Prevents credential theft from being sufficient alone. |
| SSO | Single Sign-On — one login credential for multiple systems (SAML, OAuth, OIDC) |
| RADIUS | AAA server for network access (Wi-Fi 802.1X, VPN). Centralized authentication. Port 1812/1813. |
| LDAP | Directory protocol — queries Active Directory for user/group info. Port 389 (LDAPS=636). |
| SAML | XML-based SSO standard. Passes authentication assertions between Identity Provider (IdP) and Service Provider (SP). |
| TACACS+ | AAA for device administration (routers, switches). Separates authentication/authorization/accounting. Cisco-preferred. |
| Time-based auth (TOTP) | 6-digit code that changes every 30 seconds. Generated by apps like Google Authenticator or Authy. |
| Least privilege | Grant minimum permissions required for the job. Reduces blast radius of compromised accounts. |
| RBAC | Role-Based Access Control — permissions tied to job role, not individual users |
| Geofencing | Location-based access control — block or allow access based on geographic location or IP range |
Physical security, deception & compliance
Cameras (CCTV)
Deter and document unauthorized access. IP cameras feed to NVR. Key locations: entrances, server rooms, loading docks.
Locks & mantraps
Keyed, keypad, badge/proximity, biometric. Mantrap = two-door airlock requiring auth between doors. Racks have keyed locks.
Honeypot / honeynet
Honeypot = fake decoy system to detect attackers. Honeynet = network of honeypots. Logs all attacker activity.
PCI DSS
Required for orgs handling credit card data. Mandates encryption, strict access control, logging, network segmentation.
GDPR
EU law for personal data of EU citizens. Requires consent, breach notification within 72hrs, right to erasure.
Data locality
Laws requiring data to be stored within specific geographic borders. Common in EU and financial regulations.
Network segmentation
Types of attacks
| Attack | How it works | Defense |
|---|---|---|
| DoS / DDoS | Overwhelm a service with traffic. DDoS = distributed botnet. Amplification uses UDP protocols. | Rate limiting, scrubbing centers, ISP filtering |
| VLAN hopping | Double-tagged frames or DTP negotiation to jump between VLANs | Disable DTP, set native VLAN to unused VLAN |
| MAC flooding | Overflow switch CAM table → switch becomes a hub → attacker sniffs all traffic | Port security (limit MACs per port) |
| ARP poisoning/spoofing | Fake ARP replies associate attacker MAC with legitimate IP → MITM position | Dynamic ARP inspection (DAI) |
| DNS poisoning/spoofing | Corrupt DNS cache to redirect traffic to attacker-controlled IP | DNSSEC, trusted DNS resolvers |
| Rogue devices/services | Unauthorized AP, DHCP server, or switch placed on the network | 802.1X NAC, DHCP snooping, rogue AP detection |
| Evil twin | Rogue AP with same SSID as legitimate network — clients connect and traffic is intercepted | Certificate-based auth (802.1X), always use VPN |
| On-path (MITM) | Attacker intercepts and possibly modifies traffic between two communicating parties | TLS/HTTPS, certificate pinning |
| Phishing | Deceptive emails to steal credentials. Spear = targeted. Whaling = executives. Vishing = voice. | Email filtering, MFA, user awareness training |
| Dumpster diving | Searching physical trash for sensitive documents, drives, or hardware | Shred documents, degauss/destroy storage media |
| Shoulder surfing | Physically observing someone enter credentials or view sensitive screen data | Privacy screens, position awareness training |
| Tailgating | Unauthorized person follows authorized person through a secured door without authenticating | Mantraps, badge readers, security awareness |
Security features & defense
| Feature | What it does |
|---|---|
| Device hardening | Disable unused ports/services, change default credentials, enable encryption, update firmware, remove unused accounts |
| NAC | Network Access Control — validates device compliance (patch level, AV status) before granting network access |
| Key management | Secure generation, storage, rotation, and destruction of cryptographic keys. HSM = dedicated hardware key storage. |
| ACL | Access Control List — permit/deny rules on routers/firewalls. Evaluated top-down, first match wins. Implicit deny at end. |
| URL/content filtering | Blocks access to malicious or policy-violating websites. Implemented via proxy server or next-gen firewall. |
| Trusted vs untrusted zones | Trusted = internal network. Untrusted = internet. DMZ = semi-trusted between the two. Firewall enforces all zone boundaries. |
| Screened subnet (DMZ) | Semi-trusted zone for public-facing servers (web, email, DNS). Two firewalls sandwich the DMZ — one facing internet, one facing internal. |
Troubleshooting methodology — 7 steps
Identify the problem
Gather info, question users, identify symptoms, review change history, duplicate the problem if possible
Establish a theory
Question the obvious first. Consider multiple causes. Start simple — work up OSI layers from Physical to Application.
Test the theory
Confirm or disprove the theory. If disproved, establish a new one. Escalate if needed to determine cause.
Establish an action plan
Plan the fix. Consider impact on other systems. Schedule maintenance window if needed. Identify rollback steps.
Implement the solution
Apply the fix or workaround. Escalate to higher tier if unable to resolve within scope.
Verify full functionality
Confirm the issue is resolved. Ensure no new problems were introduced. Get user confirmation.
Document findings
Record root cause, steps taken, resolution, and preventive measures. Update diagrams and documentation if needed.
Cabling & physical interface issues
| Issue | Cause | How to identify |
|---|---|---|
| Incorrect cable type | Cat5 for 10G, wrong fiber type (MMF vs SMF), wrong connector | Cable tester, check spec labels on cable |
| Signal degradation | Cable too long, damaged, excessive bends, EMI from nearby equipment | Cable tester/OTDR, verify against distance specs |
| Improper termination | Bad crimp, wrong wiring standard (568A vs 568B mixed) | Cable tester shows continuity/pinout errors |
| TX/RX transposed | Transmit and receive pairs are crossed | No link light; modern devices auto-correct via auto-MDI/MDIX |
| Increasing error counters | CRC errors, runts, giants — bad cable, duplex mismatch, failing NIC | show interface on switch/router |
| Port status issues | Administratively down, err-disabled (security violation), or wrong VLAN | show interface status |
| PoE issues | Switch can't provide enough power, PoE budget exceeded | Device won't power on; check switch PoE budget |
| Transceiver mismatch | Wrong SFP module, mismatched wavelength or speed between fiber ends | No link light; check SFP part numbers and compatibility |
| Signal strength (wireless) | Too far from AP, physical obstacles, RF interference | Wi-Fi analyzer shows low RSSI or high noise floor |
Network services issues
| Issue | Cause | Fix |
|---|---|---|
| STP issues | Root bridge election problems, ports stuck blocking, topology change loops | Verify root bridge, check port states, enable RSTP/PortFast on access ports |
| VLAN assignment | Device in wrong VLAN, trunk not carrying needed VLAN, native VLAN mismatch | Check access/trunk port config, verify VLAN allowed list on trunk |
| ACL issues | Wrong rule order, ACL applied to wrong interface or direction | Review ACL top-down (first match wins), check interface and direction |
| Routing table issues | Missing route, wrong next-hop, AD/metric conflicts | show ip route — check for missing networks or wrong paths |
| Default route missing | No route to 0.0.0.0/0 — unknown destination traffic is dropped | Add static default route or verify dynamic routing default propagation |
| Address pool exhaustion | DHCP pool full — new devices get APIPA (169.254.x.x) | Expand DHCP pool, reduce lease time, check for rogue DHCP clients |
| Incorrect gateway | Wrong default gateway — device can reach local subnet but not others | Verify gateway IP matches router interface IP on that subnet |
| Incorrect IP/subnet mask | Device thinks it's on a different subnet — can't communicate with peers | Verify IP and mask place the device in the correct subnet range |
Performance issues
Congestion
Too much traffic for available bandwidth. Symptoms: high utilization, packet loss, queue drops. Fix: QoS prioritization, upgrade bandwidth, traffic shaping/policing.
Latency
Delay in packet delivery. Causes: long path, congestion, processing delay, misconfigured QoS. VoIP and video are extremely latency-sensitive. Measure with ping RTT.
Packet loss
Packets dropped in transit. Causes: congestion, bad hardware, duplex mismatch, faulty cables. TCP retransmits (slows throughput). UDP loses the data entirely.
Wireless interference
2.4 GHz: overlapping channels, microwaves, Bluetooth, baby monitors. Fix: use channels 1, 6, 11 only; switch to 5 GHz band; adjust AP placement and power levels.
Tools & protocols
| Tool | Type | Purpose |
|---|---|---|
| Wireshark | Protocol analyzer | Full packet capture and inspection. Decodes all protocols. Powerful display filters. Best deep troubleshooting tool. |
tcpdump | Protocol analyzer (CLI) | Lightweight command-line packet capture. Runs on Linux/Mac. Used when GUI isn't available. |
ping | CLI | Tests reachability using ICMP echo. Measures round-trip time (RTT) and packet loss percentage. |
traceroute / tracert | CLI | Shows hop-by-hop path to destination. Identifies where packets are dropped or experiencing high latency. |
nslookup / dig | CLI | DNS queries. Resolves hostnames to IPs. Checks specific record types. Tests DNS server responses. |
netstat | CLI | Shows active TCP/UDP connections, listening ports, and routing table. |
ipconfig / ifconfig | CLI | Shows IP configuration of local interfaces — IP, subnet mask, default gateway, DNS servers. |
arp -a | CLI | Shows ARP cache (IP → MAC address mappings). Used to spot ARP poisoning attacks. |
nmap | CLI | Port and host scanner. Network discovery, service detection, OS fingerprinting, security auditing. |
| Cable tester | Physical tool | Verifies copper cable continuity, correct pinout (568A/568B), tests for shorts, opens, and crosses. |
| OTDR | Fiber tool | Optical Time-Domain Reflectometer. Tests fiber for breaks, excessive bends, connector loss, and splice quality. |
| Wi-Fi analyzer | Wireless tool | Shows nearby SSIDs, channel usage, signal strength (RSSI), noise floor, and channel overlap. Helps optimize AP placement. |
| Spectrum analyzer | Wireless tool | Shows all RF energy across a frequency band. Identifies non-WiFi interference sources like microwaves or Bluetooth devices. |
Every objective from the official CompTIA Linux+ V8 (XK0-006) exam summary
Domain weights
Boot process
| Stage | Component | What happens |
|---|---|---|
| 1 | BIOS/UEFI | Firmware initializes hardware, runs POST, finds bootable device |
| 2 | GRUB2 | Bootloader presents menu, loads kernel and initramfs into memory |
| 3 | Kernel | Loads into RAM, decompresses, initializes devices and drivers |
| 4 | initramfs | Temporary root filesystem with drivers needed to mount real root |
| 5 | systemd (PID 1) | First real process. Spawns all services and targets. |
| 6 | Target | multi-user.target (CLI) or graphical.target (GUI) |
Filesystem hierarchy
| Directory | Purpose |
|---|---|
/ | Root — top of the entire filesystem |
/etc | All system configuration files |
/home | User home directories (/home/username) |
/var | Variable data — logs (/var/log), mail, spool |
/tmp | Temporary files — cleared on reboot |
/proc | Virtual filesystem — kernel and process info (runtime only) |
/dev | Device files — block (/dev/sda) and character devices |
/bin / /usr/bin | Essential user binaries (ls, cp, mv) |
/sbin | System admin binaries (fdisk, iptables) |
/boot | Bootloader, kernel, initramfs files |
/opt | Optional/third-party software |
/mnt / /media | Temporary and removable media mount points |
Storage & LVM
# Disk tools lsblk # list block devices (tree view) fdisk /dev/sda # partition disk (MBR) gdisk /dev/sda # partition disk (GPT) mkfs.ext4 /dev/sda1 # format as ext4 mkfs.xfs /dev/sda1 # format as XFS mount /dev/sda1 /mnt # mount device df -h # disk usage by filesystem # LVM — create: PV → VG → LV pvcreate /dev/sdb # physical volume vgcreate vg01 /dev/sdb # volume group lvcreate -L 10G -n lv01 vg01 # logical volume lvextend -L +5G /dev/vg01/lv01 # extend LV resize2fs /dev/vg01/lv01 # resize ext4 to fill LV
| RAID level | Minimum disks | Redundancy | Notes |
|---|---|---|---|
| RAID 0 | 2 | None | Striping only — fastest, no fault tolerance |
| RAID 1 | 2 | 1 disk failure | Mirror — 50% usable capacity |
| RAID 5 | 3 | 1 disk failure | Striping + parity — good balance |
| RAID 6 | 4 | 2 disk failures | Double parity — slower writes |
| RAID 10 | 4 | 1 per mirror pair | Mirror + stripe — best performance + redundancy |
Shell operations
# Navigation & file ops pwd; cd /path; ls -la; cp -r src/ dst/; mv file new; rm -rf dir/ find / -name "*.conf" -type f # find by name # Text processing grep -r "pattern" /dir # recursive search awk '{print $1}' file # field extraction sed 's/old/new/g' file # find and replace # Redirection cmd > file # stdout to file (overwrite) cmd >> file # stdout to file (append) cmd 2>&1 | tee out.log # merge stderr, tee to file # Archiving tar -czf archive.tar.gz /dir # create gzip archive tar -xzf archive.tar.gz # extract rsync -avz src/ dst/ # sync (preserves permissions)
Permissions
# chmod — r=4, w=2, x=1 chmod 755 file # rwxr-xr-x chmod 644 file # rw-r--r-- chmod -R 755 /dir # recursive chmod u+s file # SUID — runs as file owner chmod g+s dir # SGID — new files inherit group chmod +t dir # sticky bit — only owner can delete chown user:group file # change owner and group
| Octal | Binary | Permissions |
|---|---|---|
| 7 | 111 | rwx (read + write + execute) |
| 6 | 110 | rw- (read + write) |
| 5 | 101 | r-x (read + execute) |
| 4 | 100 | r-- (read only) |
| 0 | 000 | --- (no permissions) |
User management
useradd -m -s /bin/bash username # add user with home dir passwd username # set password usermod -aG sudo username # add to sudo group userdel -r username # delete user and home dir groupadd groupname; groupdel name id username # show UID, GID, groups # Key files /etc/passwd # user accounts (UID, shell, home) /etc/shadow # encrypted passwords /etc/group # group memberships /etc/sudoers # sudo permissions (edit with visudo!)
systemd & process management
systemctl start|stop|restart|status service systemctl enable|disable service # boot persistence journalctl -u service -f # follow service logs journalctl -xe # show errors with context ps aux; top; htop # process viewers kill -9 PID; killall processname # terminate processes nice -n 10 cmd; renice 5 -p PID # process priority (-20 high, 19 low)
Package management
# Debian/Ubuntu (APT)
apt update
apt install packagename
apt remove packagename
apt autoremove
dpkg -i package.deb
# RHEL/CentOS/Fedora (DNF) dnf update dnf install packagename dnf remove packagename rpm -ivh package.rpm rpm -qa # list all installed
Containers (Docker)
docker pull image:tag # pull image docker run -d -p 80:80 nginx # run detached, map port docker ps; docker ps -a # running / all containers docker stop|rm container # stop / remove docker build -t myapp . # build from Dockerfile docker exec -it container bash # interactive shell docker logs container # view logs docker network ls # list networks
Firewalls
# UFW (Ubuntu) ufw enable; ufw status verbose ufw allow 22/tcp; ufw allow 80/tcp ufw deny 23/tcp # firewalld (RHEL) firewall-cmd --list-all firewall-cmd --add-service=ssh --permanent firewall-cmd --add-port=80/tcp --permanent firewall-cmd --reload # iptables (legacy) iptables -L -v -n iptables -A INPUT -p tcp --dport 22 -j ACCEPT iptables -A INPUT -j DROP
SSH hardening & OS hardening
# /etc/ssh/sshd_config PermitRootLogin no PasswordAuthentication no Port 2222 AllowUsers username # Find risky permissions find / -perm -4000 # SUID files find / -perm -o+w # world-writable files
SELinux & AppArmor
| Tool | Distro | Key commands |
|---|---|---|
| SELinux | RHEL, Fedora, CentOS | getenforce · setenforce 0/1 · sestatus · restorecon -Rv /path · ausearch -m AVC |
| AppArmor | Ubuntu, Debian | aa-status · aa-complain /path · aa-enforce /path |
ausearch -m AVC first.Ansible basics
# Run playbook ansible-playbook playbook.yml ansible all -m ping ansible-inventory --list # Basic playbook structure --- - name: Configure web server hosts: webservers become: yes tasks: - name: Install nginx package: name: nginx state: present
Inventory
/etc/ansible/hosts or custom file. Groups hosts. Supports variables per host/group.
Modules
package, service, file, copy, template, user, command, shell — reusable task units.
Vault
ansible-vault encrypt secret.yml — encrypts sensitive variables (passwords, API keys).
Bash scripting essentials
#!/bin/bash NAME="Linux" echo "Hello $NAME" # Conditionals if [ "$VAR" = "value" ]; then echo "matched" fi # Loops for file in *.txt; do echo "$file"; done while [ $COUNT -lt 5 ]; do COUNT=$((COUNT+1)); done # Functions greet() { echo "Hello, $1"; } greet "World" # File tests [ -f file ] # exists and is regular file [ -d dir ] # directory exists [ -x file ] # file is executable # Exit code echo $? # 0=success, non-zero=error
Git version control
git init; git clone url git add .; git commit -m "message"; git push origin main git pull; git status; git log --oneline git branch feature; git checkout feature; git merge feature git tag v1.0; git stash
System monitoring
top; htop # real-time process/CPU view free -h # memory usage vmstat 1 # VM stats (swap, CPU, I/O) iostat -x 1 # disk I/O statistics journalctl -f # follow system logs journalctl -p err --since today # today's errors only dmesg | grep -i error # kernel error messages
Network troubleshooting
ping -c 4 8.8.8.8 # connectivity test traceroute 8.8.8.8 # hop-by-hop path ip addr; ip route # interfaces and routing ss -tulnp # open ports and sockets dig google.com; nslookup # DNS queries tcpdump -i eth0 port 80 # capture HTTP traffic nc -zv host 443 # test TCP port connectivity
Performance troubleshooting
| Symptom | Tool | What to look for |
|---|---|---|
| High CPU | top, mpstat | %CPU per process, per-core utilization |
| Out of memory | free -h, vmstat | Available memory, swap usage, OOM killer in dmesg |
| Disk I/O bottleneck | iostat -xz 1, iotop | High %util, high await time, per-process I/O |
| Network issues | ss, iftop, nethogs | Open connections, bandwidth per interface/process |
| Disk errors | smartctl -a /dev/sda | SMART health, reallocated sectors, pending errors |
| SELinux blocking | ausearch -m AVC | AVC denials — run restorecon or add policy |
ls cd pwd cp mv rm chmod chown grep find ps top kill systemctl journalctl ip ss ping traceroute tar gzip apt dnf useradd passwd sudo ssh git docker ansibleEvery topic from the official Cisco CCNA 200-301 v1.1 exam objectives
Domain weights
Network components
| Component | Layer | Function |
|---|---|---|
| Router | L3 | Routes packets between networks using IP. Maintains routing table. Separates broadcast domains. |
| L2 Switch | L2 | Forwards frames by MAC. Separate collision domains per port. One broadcast domain per VLAN. |
| L3 Switch | L2/3 | Routes between VLANs using SVIs. Combines switch and router functions. |
| NGFW / IPS | L3–7 | NGFW = deep inspection, application awareness, IPS. IPS = inline blocking of threats. |
| Access point | L1/2 | Wireless LAN connection. Bridges wireless to wired. |
| WLC | — | Wireless LAN Controller. Centrally manages lightweight APs via CAPWAP. |
| PoE | L1 | 802.3af=15W · 802.3at (PoE+)=30W. Powers APs, phones, cameras over Ethernet. |
TCP vs UDP
TCP — connection-oriented
3-way handshake (SYN → SYN-ACK → ACK). Reliable, ordered delivery. Flow control via windowing. HTTP/S, SSH, FTP, SMTP, RDP.
UDP — connectionless
No handshake. No ACKs. No ordering. Fast, low overhead. DNS, DHCP, SNMP, NTP, VoIP, video streaming, TFTP.
IPv6 address types
| Type | Prefix | Description |
|---|---|---|
| Global unicast | 2000::/3 | Publicly routable — equivalent to public IPv4 |
| Unique local | FC00::/7 | Private — equivalent to RFC1918 |
| Link local | FE80::/10 | Auto-configured, non-routable, required on all IPv6 interfaces |
| Multicast | FF00::/8 | One-to-many group. No broadcast in IPv6. |
| Anycast | (any unicast) | Same address on multiple devices — routed to nearest |
| Loopback | ::1/128 | Like 127.0.0.1 in IPv4 |
:: once for consecutive all-zero groups.Switching concepts
MAC learning & aging
Switch learns source MAC from incoming frames → stores in CAM table with the port. Default aging = 300 seconds. show mac address-table
Frame flooding
When destination MAC is unknown, switch floods out all ports except ingress. Also floods broadcast (FF:FF:FF:FF:FF:FF) and multicast.
VLAN & trunk configuration
! Create VLAN and access port vlan 10 name SALES interface Gi0/1 switchport mode access switchport access vlan 10 switchport voice vlan 20 ! voice VLAN ! Trunk port interface Gi0/0 switchport mode trunk switchport trunk encapsulation dot1q switchport trunk allowed vlan 10,20,30 switchport trunk native vlan 99 ! change native VLAN! show vlan brief show interfaces trunk
EtherChannel (LACP)
interface range Gi0/1-2
channel-group 1 mode active ! active = initiates LACP
interface port-channel 1
switchport mode trunk
show etherchannel summary
| Protocol | Modes | Standard |
|---|---|---|
| LACP (802.3ad) | active / passive | Open — works between vendors |
| PAgP | desirable / auto | Cisco proprietary |
| Static | on / on | No negotiation — both sides must be "on" |
Rapid PVST+ Spanning Tree
! Root bridge — lower priority wins spanning-tree vlan 10 priority 4096 ! must be multiple of 4096 ! Access port optimizations interface Gi0/2 spanning-tree portfast ! skip listening/learning spanning-tree bpduguard enable ! shutdown if BPDU received ! Upstream protection spanning-tree guard root ! prevent unauthorized root spanning-tree guard loop ! protect against unidirectional link show spanning-tree show spanning-tree vlan 10
| Port role | Description |
|---|---|
| Root port | Best path toward the root bridge (one per non-root switch) |
| Designated port | Best port on each segment toward root (one per segment) |
| Alternate port | Backup to root port — blocked |
| Backup port | Backup to designated port — blocked |
Wireless architectures
| Architecture | Description | Key detail |
|---|---|---|
| Autonomous AP | Fat AP — standalone, self-configured | Each AP manages its own config independently |
| Lightweight AP (LWAP) | Thin AP — managed by WLC | CAPWAP tunnel: UDP 5246 (control) + 5247 (data) |
| Cloud-managed | Managed via internet-hosted dashboard | Cisco Meraki — no on-prem controller |
Routing table & route selection
Router# show ip route Codes: C - connected, S - static, O - OSPF, R - RIP, B - BGP O 10.1.0.0/24 [110/2] via 192.168.1.1, Gi0/0 ! ^AD ^metric ^next-hop ^exit-int
Administrative distance
| Route source | AD |
|---|---|
| Connected interface | 0 |
| Static route | 1 |
| External BGP (eBGP) | 20 |
| EIGRP | 90 |
| OSPF | 110 |
| RIP | 120 |
| External EIGRP | 170 |
| Internal BGP (iBGP) | 200 |
| Unknown / unreachable | 255 |
Static routing
! Network route ip route 10.0.0.0 255.255.255.0 192.168.1.1 ! Default route (gateway of last resort) ip route 0.0.0.0 0.0.0.0 192.168.1.1 ! Host route (/32) ip route 10.0.0.5 255.255.255.255 192.168.1.1 ! Floating static (backup — AD 150 > OSPF 110) ip route 10.0.0.0 255.255.255.0 192.168.2.1 150 ! IPv6 static ipv6 route 2001:DB8::/32 2001:DB8::1
OSPFv2
router ospf 1 router-id 1.1.1.1 network 192.168.1.0 0.0.0.255 area 0 ! wildcard mask ! Verify adjacencies show ip ospf neighbor show ip ospf show ip route ospf
| OSPF concept | Details |
|---|---|
| Router ID | Highest loopback IP → highest active interface IP. Must be unique. |
| Neighbor requirements | Same area, subnet, hello/dead timers, MTU, authentication. Hello=10s (broadcast), Dead=40s. |
| DR/BDR election | Broadcast networks only. Highest priority (default 1), then highest Router ID. Reduces adjacencies. |
| Cost (metric) | Reference BW (100 Mbps) ÷ interface BW. GigE = cost 1, FastEth = cost 10. |
| LSA / LSDB | LSAs describe network. LSDB = complete topology map. SPF (Dijkstra) calculates shortest path. |
| Area 0 | Backbone area — all other areas must connect to area 0. |
FHRP — First Hop Redundancy
HSRP
Hot Standby Router Protocol. Cisco proprietary. Active + Standby routers share Virtual IP and Virtual MAC.
VRRP
Virtual Router Redundancy Protocol. Open standard (RFC). Master + Backup routers. Widely supported.
GLBP
Gateway Load Balancing Protocol. Cisco only. Adds load balancing — multiple routers actively forward traffic.
NAT configuration
! PAT (overload) — most common
access-list 1 permit 10.0.0.0 0.0.0.255
ip nat inside source list 1 interface Gi0/1 overload
interface Gi0/0
ip nat inside
interface Gi0/1
ip nat outside
show ip nat translations
show ip nat statistics
DHCP & NTP
! DHCP server config ip dhcp excluded-address 192.168.1.1 192.168.1.10 ip dhcp pool LAN network 192.168.1.0 255.255.255.0 default-router 192.168.1.1 dns-server 8.8.8.8 ! DHCP relay (ip helper-address) interface Gi0/0 ip helper-address 10.0.0.5 ! NTP ntp server 192.168.1.1 show ntp status; show ntp associations
QoS & syslog
| QoS mechanism | Purpose |
|---|---|
| Classification | Identify traffic (DSCP, CoS, ACL) |
| Marking | Tag packets (DSCP 46=voice, 34=video) |
| Queuing | Prioritize (LLQ puts voice first) |
| Policing | Drop/remark excess — hard limit |
| Shaping | Buffer excess and send later — soft limit |
| Syslog level | Severity |
|---|---|
| 0 — Emergency | System unusable |
| 1 — Alert | Immediate action needed |
| 2 — Critical | Critical conditions |
| 3 — Error | Error conditions |
| 4 — Warning | Warning conditions |
| 5 — Notice | Normal but significant |
| 6 — Informational | Normal operational messages |
| 7 — Debug | Debug-level messages |
ACLs
! Standard ACL (source IP only) — apply near destination access-list 10 permit 192.168.1.0 0.0.0.255 access-list 10 deny any interface Gi0/0 ip access-group 10 in ! Extended ACL (src+dst+protocol+port) — apply near source ip access-list extended ALLOW_WEB permit tcp 192.168.1.0 0.0.0.255 any eq 80 permit tcp 192.168.1.0 0.0.0.255 any eq 443 deny ip any any show access-lists show ip interface Gi0/0 ! shows applied ACLs
Layer 2 security
! DHCP Snooping — must enable before DAI ip dhcp snooping ip dhcp snooping vlan 10,20 interface Gi0/1 ! trusted uplink ip dhcp snooping trust ! Dynamic ARP Inspection ip arp inspection vlan 10,20 interface Gi0/1 ip arp inspection trust ! Port Security interface Gi0/2 switchport port-security switchport port-security maximum 2 switchport port-security mac-address sticky switchport port-security violation shutdown show ip dhcp snooping binding show ip arp inspection show port-security interface Gi0/2
AAA
| Protocol | Port | Transport | Best for |
|---|---|---|---|
| TACACS+ | 49 | TCP | Device administration (routers, switches). Separates auth/authz/accounting. Cisco proprietary. |
| RADIUS | 1812/1813 | UDP | Network access (Wi-Fi 802.1X, VPN). Combines auth+authz. Open standard. IETF RFC. |
SDN architecture
| Component | Description |
|---|---|
| Underlay | Physical network — switches, routers, cables |
| Overlay | Virtual network on top of underlay (VXLAN tunnels, SD-WAN paths) |
| Fabric | Combination of underlay + overlay + controller |
| Control plane | Decides where traffic goes — centralized in SDN controller |
| Data plane | Forwards packets based on control plane decisions |
| Northbound API | Controller to applications/management (REST). Business intent → controller. |
| Southbound API | Controller to network devices (OpenFlow, NETCONF, RESTCONF). Controller → hardware. |
REST APIs & JSON
| HTTP verb | CRUD | Action |
|---|---|---|
| GET | Read | Retrieve resource |
| POST | Create | Create new resource |
| PUT | Update | Replace entire resource |
| PATCH | Update | Partial update |
| DELETE | Delete | Remove resource |
Auth types
Basic = base64 username:password in header. API key = token in header or URL. OAuth = token-based (most secure). HTTPS always required.
// JSON example — Cisco device interface { "interface": { "name": "GigabitEthernet0/0", "ip-address": "192.168.1.1", "enabled": true } }
Configuration management tools
Ansible
Agentless (SSH). YAML playbooks. Push model. Simple to learn. Idempotent. Best for network automation.
Terraform
Infrastructure as Code. Declarative state files. Multi-cloud. Plans changes before applying. State management.
Essential Cisco IOS show commands
show version show running-config show startup-config show interfaces show ip interface brief show ip route show arp
show vlan brief show interfaces trunk show spanning-tree show mac address-table show cdp neighbors show ip ospf neighbor show ip nat translations
Every domain from the official CompTIA Security+ SY0-701 exam objectives
Domain weights
Core models
CIA triad
Confidentiality (prevent disclosure), Integrity (data unaltered/verifiable, hashing), Availability (accessible when needed). Non-repudiation adds proof a party can't deny an action (digital signatures).
AAA
Authentication (prove identity), Authorization (what you can access), Accounting (log what was done). Authorization models: RBAC, ABAC, DAC, MAC, rule-based.
Gap analysis
Compares current security posture to a desired/required state (framework, regulation) to identify what controls are missing.
Security control categories & types
| Category | Description | Example |
|---|---|---|
| Technical | Implemented via technology/systems | Firewalls, encryption, ACLs |
| Managerial | Administrative/policy-based, oversight of the security process | Risk assessments, security policies |
| Operational | Day-to-day procedures performed by people | Security awareness training, guard rotations |
| Physical | Controls the physical environment | Locks, fences, badges, lighting |
| Type | Purpose | Example |
|---|---|---|
| Preventive | Stops an incident before it happens | Firewall rule, MFA, hardening |
| Deterrent | Discourages an attacker | Warning signs, visible cameras |
| Detective | Identifies an incident in progress/after | IDS, log review, SIEM alert |
| Corrective | Reduces impact / restores after an incident | Backups, patching, IPS |
| Compensating | Alternative control when the primary isn't feasible | Extra monitoring in place of a missing patch |
| Directive | Points toward compliant behavior | Policies, standard operating procedures |
Zero Trust
Control plane
Adaptive identity, threat scope reduction, policy-driven access control, secured zones. Policy Engine + Policy Administrator decide and enforce access.
Data plane
Implicit trust zones, subject/system (the requester), Policy Enforcement Point — the actual gate that allows/denies each request.
Cryptographic solutions
| Type | Examples | Key fact |
|---|---|---|
| Symmetric | AES, 3DES, ChaCha20 | One shared key — fast, used for bulk data encryption |
| Asymmetric | RSA, ECC, Diffie-Hellman | Public/private key pair — slower, used for key exchange & signatures |
| Hashing | SHA-256, MD5 (broken), bcrypt | One-way, fixed-length output — verifies integrity, never "decrypted" |
| Key stretching | PBKDF2, bcrypt, Argon2 | Slows down brute-force attacks on stored passwords |
| Salting | Random value added before hashing | Defeats rainbow table attacks |
PKI
CA issues/signs certificates. CRL and OCSP check revocation status. Self-signed = free but untrusted by browsers. Wildcard cert secures all subdomains (*.example.com).
Blockchain
Open public ledger — distributed, tamper-evident record via cryptographic hashing/chaining of blocks.
Change management
Business process
Approval process, ownership, stakeholders, impact analysis, test results, backout plan, maintenance window, standard operating procedure (SOP).
Technical implications
Allow/deny lists, restricted activities, downtime, service restarts, application/legacy application dependencies — all documented before a change ships.
Threat actors
| Actor | Motivation | Sophistication / resources |
|---|---|---|
| Nation-state | Espionage, warfare, disruption | Highest — well-funded, advanced (APT) |
| Organized crime | Financial gain | High — funded, structured operations |
| Hacktivist | Philosophical/political cause | Varies — often opportunistic |
| Insider threat | Revenge, financial gain, ideology | Low tech barrier — already has access |
| Unskilled attacker | Notoriety, thrill | Low — uses pre-built tools ("script kiddie") |
| Shadow IT | Convenience, not malicious intent | N/A — unsanctioned tools/systems used by employees |
Threat vectors & attack surfaces
Message-based
Email, SMS, instant messaging — the #1 delivery method for phishing and malware links.
File-based / image-based
Malicious macros in documents, payloads hidden inside image metadata (steganography).
Removable device
USB drops — autorun malware or HID-emulating "rubber ducky" devices.
Vulnerable software
Client-based (installed agent) or agentless — unpatched software is a direct entry point.
Unsupported systems
End-of-life OS/apps with no vendor patches — a permanent open vulnerability.
Supply chain
Compromise via MSPs, vendors, or suppliers rather than the target directly.
Social engineering
| Technique | Channel | Description |
|---|---|---|
| Phishing | Mass or targeted fraudulent messages to steal credentials/data | |
| Spear phishing | Targeted phishing at a specific person | |
| Whaling | Phishing aimed at executives | |
| Vishing | Voice call | Voice phishing — often impersonates support/bank |
| Smishing | SMS | Phishing via text message |
| BEC | Business Email Compromise — impersonates an executive to authorize a transfer | |
| Pretexting | Any | Fabricated scenario/identity to extract info |
| Watering hole | Web | Compromises a site the target is known to visit |
| Typosquatting | Web | Registers misspelled domains to catch mistyped URLs |
Vulnerability types
Application
Memory injection, buffer overflow, race condition (TOC/TOU), SQL injection, XSS, insecure APIs.
Infrastructure
OS-based, hardware, virtualization (VM escape, resource reuse), cloud misconfiguration, zero-day.
Mobile
Side loading (installing apps outside official stores), jailbreaking/rooting removes built-in protections.
Supply chain / cryptographic
Compromised third-party components; weak/deprecated algorithms (DES, MD5, RC4) or poor key management.
Malware types
| Malware | Key trait |
|---|---|
| Ransomware | Encrypts files, demands payment |
| Worm | Self-propagates across a network, no host file needed |
| Trojan | Disguised as legitimate software |
| Rootkit | Hides deep in the OS/kernel — hardest to detect and remove |
| Keylogger | Records keystrokes |
| Logic bomb | Dormant until a trigger condition (date, event) fires |
| Bloatware | Unwanted pre-installed software, not always malicious but expands attack surface |
Mitigation techniques
Segmentation
Isolate systems to limit lateral movement.
Access control
Least privilege, ACLs, permission restrictions.
Hardening
Disable unused ports/services, change default creds, install endpoint protection.
Patching & monitoring
Timely patch management plus continuous monitoring/alerting.
Architecture models
Cloud vs on-premises
Cloud = shared responsibility model, elastic, third-party managed. On-prem = full control, full responsibility, higher capex.
IaC / microservices / serverless
Infrastructure as Code = infra defined and deployed via versioned templates. Microservices = independently deployable app components. Serverless = provider manages the runtime, you manage only code.
Security infrastructure concepts
| Concept | Detail |
|---|---|
| Device placement | Where a device sits in the traffic path — determines what it can see/control |
| Security zones | Trusted, untrusted, DMZ — segments of differing trust levels |
| Fail-open vs fail-closed | Fail-open = allows traffic on failure (availability priority). Fail-closed = blocks traffic on failure (security priority) |
| Active vs passive | Active = inline, can block. Passive = tap/monitor only, can't block |
| Jump server | Hardened bastion host — single controlled entry point into a secure network segment |
Firewall types
| Type | Layer | Notes |
|---|---|---|
| WAF | L7 | Web Application Firewall — protects against SQLi, XSS at the HTTP layer |
| NGFW | L3–L7 | Next-Gen — app awareness, deep packet inspection, built-in IPS |
| UTM | Multiple | Unified Threat Management — bundles firewall, AV, IPS, content filtering |
Secure communication & data protection
Remote access
VPN (site-to-site or client), SSH, RDP, tunneling via TLS or IPSec. SD-WAN and SASE combine networking + security for distributed sites.
Data states
At rest (disk/full-disk encryption), in transit (TLS/IPSec), in use (protected in memory). Also: tokenization, masking, hashing.
Resilience & recovery
| Concept | Detail |
|---|---|
| Site considerations | Hot site (fully ready, minutes), warm site (partially ready), cold site (space only, days/weeks) |
| Backup types | Full, incremental (since last backup), differential (since last full), snapshot, replication, journaling |
| Power | UPS (short bridge), generator (extended runtime) |
Hardening & asset management
Mobile hardening
MDM enforces policy. Deployment models: BYOD, COPE, CYOD. Wireless security: WPA3, 802.1X/RADIUS.
Asset management lifecycle
Acquisition/procurement → assignment & inventory → monitoring/tracking → disposal (sanitization, certified destruction).
Vulnerability management
Identify
Vulnerability scans, SAST/DAST, threat feeds (CVE, OSINT), penetration testing, bug bounty programs
Analyze
Score with CVSS, cross-reference CVE, weigh against business context
Respond & remediate
Patch, apply compensating controls, segment, or formally accept the risk (exception/exemption)
Validate & report
Re-scan to confirm the fix, then document and report to stakeholders
Enterprise security capabilities
| Capability | Purpose |
|---|---|
| SIEM | Aggregates and correlates logs, generates alerts |
| EDR / XDR | Endpoint (and cross-layer) detection & response — behavioral detection, not just signatures |
| DLP | Data Loss Prevention — blocks sensitive data from leaving the network |
| NAC | Network Access Control — checks device posture before granting network access |
| Email security | DMARC, DKIM, SPF — verify sender legitimacy, block spoofing |
| UBA | User Behavior Analytics — flags anomalous user activity |
Identity & access management
IAM lifecycle
Provisioning/de-provisioning, identity proofing, federation, SSO (SAML/OAuth).
MFA
Something you know/have/are. Hard tokens, soft tokens, biometrics, security keys (FIDO2).
PAM
Privileged Access Management — just-in-time access, password vaulting, ephemeral credentials.
Incident response process
Preparation
Plans, playbooks, training, tooling in place before an incident occurs
Detection & analysis
Identify the incident, scope it, determine severity
Containment
Isolate affected systems to stop spread
Eradication
Remove the root cause — malware, compromised accounts, vulnerabilities
Recovery
Restore systems to normal operation, monitor for recurrence
Lessons learned
Root cause analysis, update playbooks, report findings
Governance
Policies & standards
AUP, change management policy, BYOD policy, onboarding/offboarding, password standards, encryption standards.
Roles & structures
Data owner, controller, processor, custodian/steward. Governance via boards, committees, or centralized/decentralized structures.
Risk management
| Term | Formula / meaning |
|---|---|
| SLE | Single Loss Expectancy = Asset Value × Exposure Factor |
| ALE | Annualized Loss Expectancy = SLE × ARO (Annual Rate of Occurrence) |
| RTO | Recovery Time Objective — max acceptable downtime |
| RPO | Recovery Point Objective — max acceptable data loss (time) |
| MTTR / MTBF | Mean Time To Repair / Mean Time Between Failures |
Transfer
Insurance, outsourcing the risk
Accept
Formally acknowledge and take no action (exception/exemption)
Avoid
Stop the activity that creates the risk
Mitigate
Apply controls to reduce likelihood/impact
Third-party risk & compliance
Agreement types
SLA (service levels), MOU/MOA (intent), MSA (master terms), BPA (business partnership), NDA (confidentiality).
Compliance
Internal/external reporting, attestation, privacy regulations (GDPR-style). Non-compliance risks fines, sanctions, and reputational damage.
Audits, assessments & awareness
Penetration testing
Known environment (full info), unknown (black box), partially known (gray box). Reconnaissance: passive (OSINT) vs active (scanning).
Security awareness program
Phishing simulation campaigns, anomalous behavior recognition, user training, and a clear reporting path for suspicious activity.
Every skill area from the official Microsoft Learn AZ-900 study guide
Skills measured weights
Cloud models
| Model | Description | Best for |
|---|---|---|
| Public | Owned/operated by a third-party provider, shared infrastructure | Scalability, lower upfront cost |
| Private | Dedicated to a single organization, on-prem or hosted | Regulated industries, strict control |
| Hybrid | Combines public and private, workloads move between them | Gradual migration, data residency needs |
| Layer | IaaS | PaaS | SaaS |
|---|---|---|---|
| Data & permissions | Customer | Customer | Customer |
| Applications | Customer | Customer | Provider |
| Runtime / OS | Customer | Provider | Provider |
| Virtualization / servers | Provider | Provider | Provider |
| Physical network & datacenter | Provider | Provider | Provider |
Cloud service types
IaaS
Rent infrastructure — VMs, storage, networks. Most control, most management overhead. e.g. Azure Virtual Machines.
PaaS
Provider manages the platform — you deploy code/data only. e.g. Azure App Service.
SaaS
Fully managed application — just use it. e.g. Microsoft 365.
Benefits & pricing
High availability & scalability
Vertical scaling (bigger VM) vs horizontal scaling (more instances).
Reliability & predictability
Consistent performance and recovery from failure.
Security & governance
Centralized policy enforcement across all resources.
Manageability
Manage via portal, CLI, or automated templates.
Consumption-based model
Pay only for what you use (OpEx) instead of large upfront hardware purchases (CapEx). No unused capacity sitting idle.
Serverless
You deploy code; Azure manages and auto-scales the underlying compute entirely. e.g. Azure Functions.
Core architectural components
Management group
Top-level container — groups multiple subscriptions for org-wide policy and access control
Subscription
Billing boundary and a scale unit for resource limits/quotas
Resource group
Logical container for resources that share a lifecycle (deployed/deleted together)
Resource
An individual service instance — a VM, storage account, database, etc.
| Concept | Description |
|---|---|
| Region | A geographic area containing one or more datacenters |
| Region pair | Two regions in the same geography, 300+ miles apart, paired for disaster recovery |
| Sovereign region | Isolated instance for compliance needs (e.g. Azure Government, Azure China) |
| Availability zone | Physically separate datacenter within a region, each with independent power/cooling/networking |
Compute services
| Service | Type | Use case |
|---|---|---|
| Azure Virtual Machines | IaaS | Full control OS-level compute |
| Virtual Machine Scale Sets | IaaS | Auto-scaling identical VM groups |
| Availability sets | IaaS | Spreads VMs across fault/update domains within a datacenter |
| Azure Virtual Desktop | DaaS | Virtualized Windows desktop/app streaming |
| Containers (ACI / AKS) | PaaS/CaaS | Lightweight, portable app packaging; AKS = managed Kubernetes |
| Azure Functions | Serverless | Event-triggered code, pay per execution |
| App Service | PaaS | Fully managed web app hosting |
Networking services
Virtual Network (VNet)
Private network in Azure; divided into subnets. VNet peering connects two VNets directly.
Azure DNS
Hosts DNS domains and resolves names within Azure.
VPN Gateway
Encrypted connection over the public internet between Azure and on-premises.
ExpressRoute
Private, dedicated connection to Azure — bypasses the public internet entirely.
Storage services
| Storage type | Data shape | Use case |
|---|---|---|
| Blob | Unstructured objects | Images, video, backups, logs |
| File | SMB/NFS shares | Lift-and-shift file shares |
| Queue | Messages | Async communication between app components |
| Table | NoSQL key-value | Structured, non-relational data |
| Disk | Block storage | VM OS/data disks |
Storage tiers
Hot (frequent access), Cool (infrequent, 30+ days), Cold (rare, 90+ days), Archive (rare, hours to rehydrate) — cost decreases, retrieval time increases.
Redundancy options
LRS (one datacenter), ZRS (across zones), GRS (paired region), GZRS (zones + paired region) — resilience increases down the list.
Migration & transfer tools
| Tool | Purpose |
|---|---|
| AzCopy | Command-line bulk copy into/out of Azure Storage |
| Azure Storage Explorer | GUI for managing storage accounts |
| Azure File Sync | Syncs on-prem file servers with Azure Files |
| Azure Migrate | Assesses and migrates on-prem servers/VMs to Azure |
| Azure Data Box | Physical appliance for large offline bulk data transfer |
Identity, access & security
Microsoft Entra ID
Cloud-based identity/directory service (formerly Azure AD). Entra Domain Services provides managed classic AD-style domain features.
Authentication
SSO (one login, many apps), MFA (2+ factors), passwordless (Windows Hello, FIDO2 keys, authenticator app).
Conditional Access
If/then policies — e.g. require MFA when signing in from an unfamiliar location or device.
Azure RBAC
Role-Based Access Control — assigns roles (Owner, Contributor, Reader, custom) scoped to management group/subscription/resource group/resource.
Zero Trust & defense-in-depth
Never trust, always verify. Defense-in-depth layers: physical → identity & access → perimeter → network → compute → application → data.
Microsoft Defender for Cloud
Cloud security posture management + workload protection across Azure, hybrid, and multi-cloud.
Cost management
Factors affecting cost
Resource type/size, region, bandwidth (egress costs more than ingress), subscription type, licensing.
Tools
Pricing calculator (estimate costs before deploying), TCO calculator (compare on-prem vs Azure), Cost Management + Billing (track and budget actual spend).
Governance & compliance tools
| Tool | Purpose |
|---|---|
| Azure Policy | Enforces organizational rules (e.g. "only allow VMs in East US") — flags or blocks non-compliant resources |
| Resource locks | CanNotDelete or ReadOnly — prevents accidental deletion/modification regardless of RBAC permissions |
| Microsoft Purview | Unified data governance — discovers, classifies, and protects sensitive data across the estate |
Deployment & management tools
Azure Portal
Web-based GUI for managing all resources.
Cloud Shell / CLI / PowerShell
Browser-based or local command-line management — scriptable, repeatable.
Azure Arc
Extends Azure management to resources outside Azure — on-prem or other clouds.
ARM templates / IaC
JSON/Bicep templates that declaratively define and deploy infrastructure — consistent, repeatable deployments.
Monitoring tools
| Tool | Purpose |
|---|---|
| Azure Advisor | Personalized recommendations for cost, security, reliability, performance |
| Azure Service Health | Reports on Azure-wide outages and service issues affecting you |
| Azure Monitor | Umbrella platform — Log Analytics (query logs), Alerts (thresholds/actions), Application Insights (app performance monitoring) |
Every domain from the official AWS Certified Cloud Practitioner exam guide
Domain weights
Cloud models
| Model | Description | Best for |
|---|---|---|
| Public | Owned/operated by AWS, shared infrastructure, pay-as-you-go | Scalability, lower upfront cost |
| Private | Dedicated infrastructure, on-prem or hosted | Regulated industries, strict control |
| Hybrid | Combines public and private — workloads span both | Gradual migration, data residency requirements |
Cloud service types
IaaS
You manage OS and above. AWS manages physical hardware, network, hypervisor. e.g. EC2.
PaaS
AWS manages OS and runtime too — you deploy code and data only. e.g. Elastic Beanstalk, RDS.
SaaS
Fully managed application — just use it. e.g. Amazon WorkMail, Salesforce on AWS.
AWS global infrastructure
| Concept | Description |
|---|---|
| Region | Geographic area with multiple Availability Zones (e.g. us-east-1). Choose based on latency, compliance, and service availability. |
| Availability Zone (AZ) | One or more discrete datacenters within a Region, with independent power/cooling/networking. Deploy across AZs for high availability. |
| Edge Location | CloudFront CDN node for caching content close to users. More locations than Regions — reduces latency globally. |
| Local Zone | AWS infrastructure extension placed close to large population centers — single-digit millisecond latency for specific use cases. |
| Wavelength Zone | AWS infrastructure embedded in telecom providers for ultra-low latency to 5G mobile devices. |
Cloud benefits
Trade CapEx for OpEx
No upfront hardware purchases — pay only for what you consume. Convert fixed costs to variable costs.
Economies of scale
AWS aggregates usage from hundreds of thousands of customers — lower variable costs than any individual could achieve.
Stop guessing capacity
Scale up or down in minutes. No more over-provisioning "just in case" or under-provisioning and hitting limits.
Increase speed & agility
New resources available in minutes, not weeks. Experiment and iterate faster with lower cost of failure.
IAM — Identity & Access Management
| Component | Description |
|---|---|
| Root user | Full account access — use only for initial setup and billing. Enable MFA immediately. Never use for daily work. |
| IAM User | Individual identity with long-term credentials. Assign to people or applications needing persistent access. |
| IAM Group | Collection of users — attach policies to the group, not individual users. Simplifies permission management. |
| IAM Role | Temporary credentials for AWS services, applications, or federated users. Best practice for EC2 instances accessing other AWS services. |
| IAM Policy | JSON document defining allowed/denied actions. Attach to users, groups, or roles. Explicit deny always wins. |
Security services
| Service | Purpose |
|---|---|
| AWS Shield | DDoS protection. Standard (free, automatic) protects all AWS customers. Advanced adds 24/7 DDoS response team and cost protection. |
| AWS WAF | Web Application Firewall — filters HTTP/S traffic. Blocks common exploits (SQL injection, XSS). Deployed in front of CloudFront, ALB, API Gateway. |
| Amazon GuardDuty | Threat detection using ML — analyzes CloudTrail, VPC Flow Logs, DNS logs for malicious activity. No agents required. |
| AWS Inspector | Automated vulnerability scanning for EC2 instances and container images. Generates findings with severity scores. |
| AWS Macie | Discovers and protects sensitive data (PII, credentials) in S3 using ML. |
| AWS Secrets Manager | Stores, rotates, and retrieves secrets (API keys, DB passwords). Automatic rotation built in. |
| AWS KMS | Key Management Service — creates and controls encryption keys. Used by most AWS services for encryption at rest. |
| AWS CloudTrail | Records all API calls across your account — who did what, when, from where. Audit and compliance logging. |
| AWS Config | Tracks resource configuration changes over time. Evaluates against compliance rules. Answers "was this compliant at time X?" |
Compliance & governance
AWS Artifact
Self-service portal for AWS compliance reports (SOC 2, PCI DSS, ISO 27001) and security agreements. Download for auditors.
AWS Organizations
Manage multiple AWS accounts centrally. Service Control Policies (SCPs) apply permission guardrails across all member accounts.
AWS Trusted Advisor
Automated recommendations across cost optimization, performance, security, fault tolerance, and service limits. Some checks free, full access requires Business/Enterprise support.
Amazon Inspector vs GuardDuty
Inspector = vulnerability scanning (find weaknesses before attackers do). GuardDuty = threat detection (find active malicious behavior). Both are needed, serve different purposes.
Compute services
| Service | Type | Use case |
|---|---|---|
| EC2 | IaaS — Virtual Machines | Full control over OS and software. Widest range of instance types. Choose for lift-and-shift or custom environments. |
| EC2 Auto Scaling | IaaS — Scaling | Automatically adds/removes EC2 instances based on demand or schedule. Maintains performance and controls cost. |
| Lambda | Serverless — Functions | Run code without provisioning servers. Pay per invocation. Ideal for event-driven, short-duration tasks. |
| Elastic Beanstalk | PaaS — App hosting | Deploy web apps without managing infrastructure. AWS handles scaling, load balancing, patching. |
| ECS / EKS | Containers | ECS = AWS managed container orchestration. EKS = managed Kubernetes. Run Docker containers at scale. |
| AWS Fargate | Serverless containers | Run containers without managing EC2 instances. Works with ECS and EKS. |
| Lightsail | Simplified VPS | Simplified, predictable pricing for simple web apps and small projects. Good for beginners. |
Storage services
| Service | Type | Use case |
|---|---|---|
| Amazon S3 | Object storage | Store any amount of data as objects in buckets. Unlimited capacity, 11 nines durability. Static website hosting, backups, data lakes. |
| S3 Glacier | Archive storage | Long-term archival at very low cost. Retrieval times: Instant, Expedited (1–5 min), Standard (3–5 hrs), Bulk (5–12 hrs). |
| EBS | Block storage | Persistent block storage for EC2 instances — like a hard drive. Stays attached to one instance at a time. |
| EFS | File storage | Managed NFS file system. Shared across multiple EC2 instances simultaneously. Auto-scales capacity. |
| AWS Storage Gateway | Hybrid storage | Connects on-premises environments to S3. Extends on-prem storage to the cloud seamlessly. |
| AWS Snow Family | Physical data transfer | Physical devices for large-scale offline data migration. Snowcone (small), Snowball (medium), Snowmobile (massive — a truck). |
S3 storage classes
| Class | Access pattern | Key detail |
|---|---|---|
| S3 Standard | Frequent | Default. High availability, high durability. Most expensive per GB stored. |
| S3 Intelligent-Tiering | Unknown/changing | Auto-moves objects between tiers based on access patterns. Small monitoring fee. |
| S3 Standard-IA | Infrequent | Lower storage cost, retrieval fee applies. Minimum 30-day storage. |
| S3 One Zone-IA | Infrequent, non-critical | Single AZ only — cheaper but loses data if AZ fails. Recreatable data only. |
| S3 Glacier Instant | Archive, ms retrieval | Millisecond access. Quarterly access pattern assumed. |
| S3 Glacier Flexible | Archive | Minutes to hours retrieval. Very low cost. |
| S3 Glacier Deep Archive | Long-term archive | Lowest cost. 12-hour standard retrieval. 7–10 year retention use cases. |
Networking services
| Service | Purpose |
|---|---|
| Amazon VPC | Virtual Private Cloud — private, isolated network within AWS. Subnets, route tables, internet gateways, NAT gateways. |
| Elastic Load Balancing | Distributes traffic across multiple targets. ALB (Layer 7/HTTP), NLB (Layer 4/TCP), GLB (third-party appliances). |
| Amazon CloudFront | CDN — caches content at edge locations globally. Reduces latency. Integrates with S3, EC2, custom origins. |
| Amazon Route 53 | DNS service and domain registrar. Health checks. Routing policies: simple, weighted, latency, failover, geolocation. |
| AWS Direct Connect | Dedicated private connection from on-premises to AWS — bypasses internet. Consistent throughput, lower latency. |
| AWS VPN | Encrypted connection over the public internet between on-prem and VPC. Lower cost than Direct Connect, shared bandwidth. |
| VPC Peering | Direct networking between two VPCs. Not transitive — A↔B and B↔C does not mean A↔C. |
| AWS Transit Gateway | Central hub connecting multiple VPCs and on-prem networks. Solves VPC peering complexity at scale. |
Database services
| Service | Type | Use case |
|---|---|---|
| Amazon RDS | Managed relational DB | MySQL, PostgreSQL, MariaDB, Oracle, SQL Server, Aurora. AWS handles patching, backups, Multi-AZ failover. |
| Amazon Aurora | Managed relational DB | AWS-optimized MySQL/PostgreSQL compatible. Up to 5x faster than MySQL. Auto-scales storage. Serverless option available. |
| Amazon DynamoDB | NoSQL key-value/document | Single-digit millisecond performance at any scale. Fully serverless. Good for session data, gaming, IoT. |
| Amazon ElastiCache | In-memory cache | Redis or Memcached. Caches frequently accessed data to reduce database load. |
| Amazon Redshift | Data warehouse | Petabyte-scale analytics. SQL-based. For large-scale data analysis, not transactional workloads. |
Other key services
Amazon SNS
Simple Notification Service — pub/sub messaging. Sends messages to multiple subscribers (email, SMS, Lambda, SQS, HTTP).
Amazon SQS
Simple Queue Service — message queue for decoupling components. Messages wait in queue until consumer processes them.
Amazon CloudWatch
Monitoring and observability — metrics, logs, dashboards, alarms. Set alarms to trigger actions when thresholds are breached.
AWS CloudFormation
Infrastructure as Code — JSON/YAML templates that provision AWS resources consistently. Repeatable, version-controlled deployments.
Amazon Rekognition
Image and video analysis using ML — object detection, facial recognition, content moderation.
AWS Marketplace
Digital catalog of third-party software, data, and services to run on AWS. Buy, deploy, and manage from one place.
Pricing models
| Model | Description | Best for |
|---|---|---|
| On-Demand | Pay by the hour or second. No commitment. | Short-term, unpredictable workloads. Testing and development. |
| Reserved Instances (RI) | 1 or 3-year commitment. Up to 72% discount vs On-Demand. | Steady-state, predictable workloads. |
| Savings Plans | Commit to a $/hour spend for 1 or 3 years. Flexible across instance types and regions. | Steady-state workloads with flexibility needs. |
| Spot Instances | Bid on unused EC2 capacity. Up to 90% discount. Can be interrupted with 2-minute warning. | Fault-tolerant, flexible workloads. Batch jobs, data analysis. |
| Dedicated Hosts | Physical server fully dedicated to you. Most expensive. | Compliance requirements, existing per-socket/per-core licensing. |
Cost management tools
| Tool | Purpose |
|---|---|
| AWS Pricing Calculator | Estimate costs before deploying — model your architecture and get a monthly cost breakdown |
| AWS Cost Explorer | Visualize and analyze actual spending. Identify trends, filter by service/account/tag. Forecast future costs. |
| AWS Budgets | Set custom cost or usage thresholds and receive alerts when approaching or exceeding them. |
| Cost Allocation Tags | Tag resources (e.g. project:website) to track costs by team, project, or environment in Cost Explorer. |
| AWS Free Tier | 12 months free on select services (EC2 t2.micro, S3 5GB, RDS 750hrs). Always-free tier for Lambda (1M requests/month), DynamoDB (25GB), and others. |
Support plans
| Plan | Cost | Response time (critical) | Key features |
|---|---|---|---|
| Basic | Free | No case support | Documentation, forums, AWS Health Dashboard, limited Trusted Advisor checks |
| Developer | From $29/mo | 12 hours | Business hours email support, 1 primary contact |
| Business | From $100/mo | 1 hour | 24/7 phone/email/chat, full Trusted Advisor, AWS Support API |
| Enterprise On-Ramp | From $5,500/mo | 30 minutes | Pool of Technical Account Managers, Concierge Support Team |
| Enterprise | From $15,000/mo | 15 minutes | Dedicated TAM, Infrastructure Event Management, Well-Architected reviews |