CompTIA A+ V15 — Complete Exam Cheat Sheet

Two required exams · Core 1 (220-1201) and Core 2 (220-1202) · Both must pass to earn A+

90 questions per exam90 min per exam Core 1 pass: 675/900Core 2 pass: 700/900 Launch: March 25, 2025

Core 1 domain weights

Mobile Devices
13%
Networking
23%
Hardware
25%
Virtualization & Cloud Computing
11%
Hardware & Network Troubleshooting
28%
Domain 1Mobile Devices13%

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.

ConnectionUse caseNotes
USB-CCharging, data, videoUniversal modern standard, reversible
LightningApple legacyReplaced by USB-C on iPhone 15+
BluetoothWireless peripheralsShort range ~10m, pairing required
NFCTap-to-pay, file shareVery short range (~4cm)
Docking stationDesktop expansionAdds ports, display, power

Mobile troubleshooting

SymptomLikely cause / fix
No displayCheck power, battery, display connector
OverheatingBackground apps, charging + heavy use, direct sunlight
No wirelessAirplane mode on? Wrong APN? Carrier settings outdated?
Short battery lifeBackground refresh, location services, aging battery
Touchscreen unresponsiveDigitizer damage, moisture, screen protector issue
Domain 2Networking23%

Key ports & protocols

ProtocolPortTransportUse
FTP20/21TCPFile transfer (unencrypted)
SSH / SFTP22TCPEncrypted CLI + secure file transfer
Telnet23TCPUnencrypted — never use
SMTP25TCPSend outbound email
DNS53UDP/TCPHostname → IP
DHCP67/68UDPAuto IP assignment
HTTP80TCPUnencrypted web
POP3110TCPReceive email (downloads, deletes from server)
IMAP143TCPReceive email (syncs, stays on server)
SNMP161/162UDPNetwork device monitoring
HTTPS443TCPEncrypted web
SMB445TCPWindows file/printer sharing
RDP3389TCPWindows remote desktop
💡
POP3 vs IMAP: POP3 downloads and deletes from server (one device). IMAP syncs with server (multiple devices). IMAP is standard today.

Wireless encryption

ProtocolEncryptionStatus
WEPRC4Broken — never use
WPATKIP/RC4Weak — avoid
WPA2AES/CCMPCurrent minimum standard
WPA3AES/GCMP + SAEBest — use when available

Networking tools

ToolPurpose
Cable testerTests copper cable continuity, pinout, shorts/opens
CrimperAttaches RJ45/RJ11 connectors to cable ends
Punch-down toolSeats wires into keystone jacks and patch panels
Toner probeTraces cables through walls and ceilings
Wi-Fi analyzerShows SSIDs, channels, signal strength (RSSI), interference
Loopback plugTests NIC and port send/receive capability
OTDRTests fiber for breaks, bends, and connector loss
Domain 3Hardware25%

Storage types

TypeInterfaceSpeedNotes
HDDSATA~150 MB/sSpinning disk, cheapest per GB, slowest
SSD (2.5")SATA~550 MB/sNo moving parts, faster than HDD
NVMe M.2PCIe3,000–7,000 MB/sFastest consumer storage
eMMCEmbedded~150 MB/sSoldered, budget laptops/tablets

Connectors & cables

Cable/ConnectorUse case
HDMIDigital video + audio (TVs, monitors). 4K, 8K support.
DisplayPortHigher-end monitors. Supports high refresh rates and daisy-chaining.
USB-CUniversal. Supports USB 3.2, Thunderbolt, Power Delivery, video.
Thunderbolt 3/4Up to 40 Gbps, looks identical to USB-C. Intel proprietary.
VGALegacy analog video — blue 15-pin D-sub connector.
DVIDigital/analog video — older monitors.
SATAInternal drives — L-shaped power + data connectors.

Printer types

TypeHow it worksBest for
LaserToner powder + charged drum + fuser (heat). Electrostatically attracts toner.High-volume office
InkjetLiquid ink sprayed through tiny nozzles.Photos, low-volume color
ThermalHeat activates special paper coating — no ink required.Receipts, labels
Impact/dot matrixPins strike ribbon on paper — creates characters.Multi-part forms, noisy
💡
Laser printer order: Processing → Charging → Exposing → Developing → Transferring → Fusing → Cleaning
Domain 4Virtualization & Cloud Computing11%

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 modelCustomer managesExamples
IaaSOS, apps, dataAWS EC2, Azure VMs, Google Compute
PaaSApps and data onlyElastic Beanstalk, App Engine
SaaSJust uses the applicationGmail, Microsoft 365, Dropbox, Salesforce
Domain 5Hardware & Network Troubleshooting28%

Troubleshooting methodology

1

Identify the problem

Gather info, question users, identify symptoms, review recent changes, duplicate if possible

2

Establish a theory

Question the obvious first. Start simple — Layer 1 before Layer 7.

3

Test the theory

Confirm or disprove. Establish new theory if needed. Escalate if necessary.

4

Establish an action plan

Plan the fix. Consider impact. Schedule maintenance window if needed.

5

Implement the solution

Apply fix or workaround. Escalate if unable to resolve.

6

Verify full functionality

Confirm problem resolved and no new issues introduced.

7

Document findings

Record cause, steps taken, resolution. Update documentation.

SymptomLikely cause
No POST / no beepsDead CPU, RAM not seated, bad PSU
BSODDriver issue, RAM failure, overheating, bad storage
Clicking/grinding noiseHDD failing — back up immediately
Overheating/shutdownDried thermal paste, failed fan, blocked vents
169.254.x.x IP addressAPIPA — device can't reach DHCP server
Can ping IP, not hostnameDNS failure — check DNS server settings
Slow network speedsDuplex mismatch, interference, congestion

CLI network tools

CommandOSPurpose
ipconfig /allWindowsFull IP config including MAC, DNS, DHCP
pingAllTests reachability, measures RTT
tracert / tracerouteWin/LinShows hop-by-hop path to destination
nslookupAllDNS queries — resolves hostnames
netstatAllActive connections and listening ports
arp -aAllShows ARP cache (IP → MAC)

Core 2 domain weights

Operating Systems
28%
Security
28%
Software Troubleshooting
23%
Operational Procedures
21%
Domain 1Operating Systems28%

Windows tools

ToolPurpose
Task ManagerProcesses, CPU/RAM usage, startup apps, services
Device ManagerHardware drivers, status, conflicts, update/rollback
Disk ManagementPartitions, format, assign drive letters, shrink/extend
Registry Editor (regedit)Edit Windows registry. HKLM (machine), HKCU (user).
Event ViewerSystem, 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 /scannowSystem File Checker — scans and repairs corrupt Windows files
DISMDeployment Image Servicing — repairs Windows component store
chkdskCheck and repair disk/filesystem errors

Windows file systems

File systemMax file sizeUse case
NTFS16 TBDefault Windows. Permissions, encryption (EFS), journaling.
FAT324 GBUSB drives — maximum compatibility across OS platforms.
exFAT16 EBFlash/SD storage. No file size limit. Cross-platform.
REFS16 EBResilient 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

Domain 2Security28%

Malware types

MalwareHow it spreadsKey trait
VirusAttaches to filesNeeds a host file, self-replicates
WormNetwork (self-propagating)No host needed, spreads automatically
TrojanAppears as legitimate softwareHidden malicious payload
RansomwareEmail, exploitsEncrypts files, demands payment
RootkitExploits, installersHides deep in OS, hardest to remove
SpywareBundled softwareSilently collects user data
KeyloggerMalware, physical deviceRecords all keystrokes
BotnetMalware infectionRemotely controlled network of infected machines

Malware removal steps

1

Identify and research symptoms

Look up symptoms — identify malware type

2

Quarantine the system

Disconnect from network to prevent spread

3

Disable System Restore

Prevent malware from hiding in restore points

4

Remediate

Run anti-malware in Safe Mode. Multiple scans from multiple tools.

5

Schedule scans and update

Patch OS and all software after cleaning

6

Enable System Restore

Re-enable and create a clean restore point

7

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.

Domain 3Software Troubleshooting23%
SymptomLikely cause / fix
BSOD (Blue Screen)Bad driver, RAM, storage. Check Event Viewer. Run sfc /scannow and DISM.
Won't boot / boot loopCorrupt boot record. Use WinRE → Startup Repair or bootrec /fixmbr.
Slow performanceMalware, too many startup apps, failing HDD, low RAM.
Application crashesCorrupt install, missing DLL, compatibility issue. Reinstall or update.
Missing DLL errorReinstall the application that should provide that DLL.
Profile won't loadCorrupt 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.

Domain 4Operational Procedures21%

Backup types

TypeWhat it backs upRestore speedStorage use
FullEverythingFastestMost
IncrementalChanges since last backup (any type)Slowest (need all incrementals)Least
DifferentialChanges since last full backupMedium (full + latest diff)Medium
Synthetic fullBuilt from full + incrementalsFastLess than full
⚠
3-2-1 Backup Rule: 3 copies of data, on 2 different media types, with 1 copy offsite (or cloud).

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.

Exam domain weights

1. Networking Concepts
23%
2. Network Implementation
20%
3. Network Operations
19%
4. Network Security
14%
5. Network Troubleshooting
24%
Domain 1 Networking Concepts 23%

OSI model layers

#LayerPDUDevicesProtocols / technologies
7ApplicationData—HTTP, HTTPS, FTP, DNS, DHCP, SMTP, SNMP, RDP, SIP
6PresentationData—SSL/TLS, JPEG, encryption, compression, encoding
5SessionData—SIP, NetBIOS, RPC, NFS
4TransportSegment—TCP (reliable), UDP (fast), ICMP
3NetworkPacketRouter, L3 switchIP, OSPF, BGP, EIGRP, ICMP
2Data LinkFrameSwitch, bridge, NICEthernet, MAC, STP, 802.1Q, ARP
1PhysicalBitsHub, cables, WAP, repeater802.3, 802.11, DSL, fiber, coax
💡
Memory: All People Seem To Need Data Processing (top→bottom). TCP = reliable/connection-oriented (phone call). UDP = fast/connectionless (postcard).

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 modelBest for
PublicScalability, lower cost
PrivateRegulated industries, strict data control
HybridMigration, mixed workloads
CommunityShared orgs with common interests
Service modelCustomer managesExamples
IaaSOS, apps, dataEC2, Azure VMs
PaaSApps and data onlyElastic Beanstalk
SaaSNothing — just uses appGmail, M365

Ports & protocols

ProtocolPort(s)TransportKey fact
FTP20/21TCP20=data, 21=control · unencrypted
SSH / SFTP22TCPEncrypted remote CLI + secure file transfer
Telnet23TCPUnencrypted CLI — never use in production
SMTP25TCPSends outbound email · SMTPS = 465
DNS53UDP (TCP zone xfer)Hostname → IP · A, AAAA, MX, CNAME, PTR, NS, TXT
DHCP67/68UDP67=server, 68=client · DORA process
TFTP69UDPNo auth · used for device config transfer
HTTP80TCPUnencrypted web traffic
NTP123UDPClock sync (millisecond accuracy)
SNMP161/162UDP161=polls, 162=traps · v3=encrypted
LDAP389TCPDirectory queries · LDAPS=636
HTTPS443TCPHTTP over TLS/SSL
SQL Server1433TCPMicrosoft SQL database
RDP3389TCPWindows GUI remote access
SIP5060/5061TCP/UDPVoIP 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

TypeSpeedMax distanceConnectorNotes
Coax RG-6 (75Ω)——F-type (screw)Cable TV and modems
Coax RG-58 (50Ω)10 Mbps185mBNCLegacy 10BASE2 Ethernet
DAC (twinax)10–100 Gbps1–7mSFP/QSFPData center top-of-rack
UTP Cat 5e1 Gbps100mRJ45Most common legacy LAN
UTP Cat 61 Gbps100mRJ45Reduced crosstalk vs 5e
UTP Cat 6a10 Gbps100mRJ4510G over copper
UTP Cat 840 Gbps30–36mRJ45Data centers only
MMF (multimode fiber)1–10+ GbpsUp to 550mLC, SC, ST, MPOLED source, cheaper, shorter
SMF (single-mode fiber)10+ Gbpskm–100+ kmLC, SC, MPOLaser source, WAN/long-haul

Transmission media — wireless (802.11, cellular, satellite)

StandardWi-Fi nameBandMax speedKey technology
802.11a—5 GHz54 MbpsOFDM
802.11b—2.4 GHz11 MbpsDSSS
802.11g—2.4 GHz54 MbpsOFDM / DSSS
802.11nWi-Fi 42.4 / 5 GHz300+ MbpsMIMO, channel bonding
802.11acWi-Fi 55 GHz3+ GbpsMU-MIMO, beamforming
802.11axWi-Fi 62.4 / 5 / 6 GHz9.6 GbpsOFDMA — best efficiency
Cellular (LTE/5G)—Various100 Mbps–GbpsMobile/hotspot/tethering
Satellite——VariesHigh latency (~250ms), weather-sensitive

Transceivers & connectors

ConnectorTypeUse case
RJ45CopperEthernet (8-pin)
RJ11CopperTelephone (4/6-pin)
BNCCoaxLegacy 10BASE2, video
F-typeCoaxCable TV/modems (screw-type)
LCFiberMost common modern fiber — small, push-pull
SCFiberSquare, push-pull — older installs
STFiberBayonet twist-lock — legacy MMF
MPO/MTPFiberMulti-fiber, high-density data centers
TransceiverSpeed
SFP1 Gbps
SFP+10 Gbps
QSFP40 Gbps
QSFP28100 Gbps
ℹ
Fiber polishing: APC (angled, green connector, best return loss) · UPC (ultra, blue) · PC (flat). APC and UPC are NOT interchangeable.

Network topologies

TopologyDescriptionProsCons
StarAll devices → central switchEasy to manage, one cable = one deviceCentral device = SPOF
Hub-and-spokeWAN: spokes → central hub siteLow cost, easy to add sitesSuboptimal routes, hub = SPOF
Full meshEvery site directly → every otherMost redundant, optimal pathsVery expensive — n(n-1)/2 links
Partial mesh / hybridSome direct connectionsBalance of cost and redundancyMore complex to design
Point-to-pointDirect link between exactly 2 devicesFastest, most secure, lowest latencyNot scalable
Three-tierAccess → Distribution → CoreScalable enterprise designMore hardware cost
Collapsed coreDistribution + core merged into oneCheaper, simpler for small networksLess scalable
Spine and leafData center: every leaf → every spinePredictable latency, easy to expandComplex, often Cisco-specific
ℹ
Traffic flows: North–south = three-tier enterprise (user ↔ internet). East–west = data center/spine-leaf (server ↔ server). Flow direction determines architecture choice.

IPv4 addressing

ClassFirst octetPrefixRFC1918 private range
A1–126/810.0.0.0 – 10.255.255.255
B128–191/16172.16.0.0 – 172.31.255.255
C192–223/24192.168.0.0 – 192.168.255.255
D224–239—Multicast — not assignable
E240–255—Experimental
PrefixMaskBlockUsable hosts
/30255.255.255.25242
/29255.255.255.24886
/28255.255.255.2401614
/27255.255.255.2243230
/26255.255.255.1926462
/25255.255.255.128128126
/24255.255.255.0256254
⚠
Key formulas: Subnets = 2ˢ · Hosts = 2ʰ – 2 · Block size = 256 – mask value · APIPA = 169.254.0.0/16 (no DHCP) · Loopback = 127.0.0.1 · VLSM = different subnet sizes in same network · CIDR = /prefix notation
Domain 2 Network Implementation 20%

Routing technologies

ProtocolTypeMetricADScope
StaticManual—1Small/simple networks
RIPDistance vectorHop count (max 15)120IGP — legacy
OSPFLink stateCost (bandwidth)110IGP — most common enterprise
EIGRPHybridBandwidth + delay90IGP — Cisco proprietary
BGPPath vectorAttributes20/200EGP — the internet's routing protocol
✓
Route selection order: 1. Longest prefix match → 2. Lowest AD → 3. Best metric. Directly connected = AD 0. Unknown = AD 255 (unreachable).

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

TopicKey facts
Channels2.4 GHz: use channels 1, 6, 11 only (non-overlapping). 5 GHz: many non-overlapping channels. 6 GHz (Wi-Fi 6E): least congested.
Frequency options2.4 GHz = longer range, more interference. 5 GHz = faster, shorter range. 6 GHz = fastest, newest band.
SSIDNetwork name. Can be hidden (won't broadcast) but still discoverable via sniffing. Hidden SSID ≠ secure.
Network typesInfrastructure (BSS) = devices through AP. Ad hoc (IBSS) = device-to-device, no AP. ESS = multiple APs, same SSID.
EncryptionWEP = broken. WPA = weak. WPA2 (AES/CCMP) = current minimum. WPA3 = best (SAE handshake replaces PSK).
Guest networksSeparate SSID/VLAN for untrusted devices. Isolates guest traffic from corporate network completely.
AuthenticationOpen = no password. PSK = shared password. 802.1X/EAP = enterprise, per-user credentials via RADIUS server.
AntennasOmnidirectional = radiates all directions (general APs). Directional/Yagi = focused beam (point-to-point links). Higher dBi = more gain.
Access pointsFat 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).

Domain 3 Network Operations 19%

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/methodPortPurpose
SNMP161/162Polls 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 UDPCentralized 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 typeRecovery speedCostDescription
Cold siteDays–weeksLowestSpace and power only — no pre-installed equipment
Warm siteHours–daysMediumEquipment present but not fully configured or loaded
Hot siteMinutesHighestFully operational mirror — instant failover
Active-activeInstantHighestBoth sites run simultaneously and share the load
Active-passiveMinutesHighPrimary 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.

Domain 4 Network Security 14%

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

TechnologyWhat it does
Encryption in transitTLS/SSL, IPsec, SSH — protects data moving across the network from interception
Encryption at restAES, BitLocker — protects stored data if physical media is stolen
PKIPublic Key Infrastructure — framework of CAs, certificates, and key pairs for encryption and identity verification
IAMIdentity & Access Management — centrally manages who can access what resources
MFASomething you know + have + are. Prevents credential theft from being sufficient alone.
SSOSingle Sign-On — one login credential for multiple systems (SAML, OAuth, OIDC)
RADIUSAAA server for network access (Wi-Fi 802.1X, VPN). Centralized authentication. Port 1812/1813.
LDAPDirectory protocol — queries Active Directory for user/group info. Port 389 (LDAPS=636).
SAMLXML-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 privilegeGrant minimum permissions required for the job. Reduces blast radius of compromised accounts.
RBACRole-Based Access Control — permissions tied to job role, not individual users
GeofencingLocation-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

IoT IIoT SCADA ICS OT (Operational Technology) Guest networks BYOD
⚠
Isolate high-risk devices using VLANs or physical separation. SCADA/ICS should be air-gapped or heavily segmented. IoT devices often have no security — always put them on a dedicated VLAN. BYOD requires NAC health checks before access.

Types of attacks

AttackHow it worksDefense
DoS / DDoSOverwhelm a service with traffic. DDoS = distributed botnet. Amplification uses UDP protocols.Rate limiting, scrubbing centers, ISP filtering
VLAN hoppingDouble-tagged frames or DTP negotiation to jump between VLANsDisable DTP, set native VLAN to unused VLAN
MAC floodingOverflow switch CAM table → switch becomes a hub → attacker sniffs all trafficPort security (limit MACs per port)
ARP poisoning/spoofingFake ARP replies associate attacker MAC with legitimate IP → MITM positionDynamic ARP inspection (DAI)
DNS poisoning/spoofingCorrupt DNS cache to redirect traffic to attacker-controlled IPDNSSEC, trusted DNS resolvers
Rogue devices/servicesUnauthorized AP, DHCP server, or switch placed on the network802.1X NAC, DHCP snooping, rogue AP detection
Evil twinRogue AP with same SSID as legitimate network — clients connect and traffic is interceptedCertificate-based auth (802.1X), always use VPN
On-path (MITM)Attacker intercepts and possibly modifies traffic between two communicating partiesTLS/HTTPS, certificate pinning
PhishingDeceptive emails to steal credentials. Spear = targeted. Whaling = executives. Vishing = voice.Email filtering, MFA, user awareness training
Dumpster divingSearching physical trash for sensitive documents, drives, or hardwareShred documents, degauss/destroy storage media
Shoulder surfingPhysically observing someone enter credentials or view sensitive screen dataPrivacy screens, position awareness training
TailgatingUnauthorized person follows authorized person through a secured door without authenticatingMantraps, badge readers, security awareness

Security features & defense

FeatureWhat it does
Device hardeningDisable unused ports/services, change default credentials, enable encryption, update firmware, remove unused accounts
NACNetwork Access Control — validates device compliance (patch level, AV status) before granting network access
Key managementSecure generation, storage, rotation, and destruction of cryptographic keys. HSM = dedicated hardware key storage.
ACLAccess Control List — permit/deny rules on routers/firewalls. Evaluated top-down, first match wins. Implicit deny at end.
URL/content filteringBlocks access to malicious or policy-violating websites. Implemented via proxy server or next-gen firewall.
Trusted vs untrusted zonesTrusted = 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.
Domain 5 Network Troubleshooting 24%

Troubleshooting methodology — 7 steps

1

Identify the problem

Gather info, question users, identify symptoms, review change history, duplicate the problem if possible

2

Establish a theory

Question the obvious first. Consider multiple causes. Start simple — work up OSI layers from Physical to Application.

3

Test the theory

Confirm or disprove the theory. If disproved, establish a new one. Escalate if needed to determine cause.

4

Establish an action plan

Plan the fix. Consider impact on other systems. Schedule maintenance window if needed. Identify rollback steps.

5

Implement the solution

Apply the fix or workaround. Escalate to higher tier if unable to resolve within scope.

6

Verify full functionality

Confirm the issue is resolved. Ensure no new problems were introduced. Get user confirmation.

7

Document findings

Record root cause, steps taken, resolution, and preventive measures. Update diagrams and documentation if needed.

Cabling & physical interface issues

IssueCauseHow to identify
Incorrect cable typeCat5 for 10G, wrong fiber type (MMF vs SMF), wrong connectorCable tester, check spec labels on cable
Signal degradationCable too long, damaged, excessive bends, EMI from nearby equipmentCable tester/OTDR, verify against distance specs
Improper terminationBad crimp, wrong wiring standard (568A vs 568B mixed)Cable tester shows continuity/pinout errors
TX/RX transposedTransmit and receive pairs are crossedNo link light; modern devices auto-correct via auto-MDI/MDIX
Increasing error countersCRC errors, runts, giants — bad cable, duplex mismatch, failing NICshow interface on switch/router
Port status issuesAdministratively down, err-disabled (security violation), or wrong VLANshow interface status
PoE issuesSwitch can't provide enough power, PoE budget exceededDevice won't power on; check switch PoE budget
Transceiver mismatchWrong SFP module, mismatched wavelength or speed between fiber endsNo link light; check SFP part numbers and compatibility
Signal strength (wireless)Too far from AP, physical obstacles, RF interferenceWi-Fi analyzer shows low RSSI or high noise floor

Network services issues

IssueCauseFix
STP issuesRoot bridge election problems, ports stuck blocking, topology change loopsVerify root bridge, check port states, enable RSTP/PortFast on access ports
VLAN assignmentDevice in wrong VLAN, trunk not carrying needed VLAN, native VLAN mismatchCheck access/trunk port config, verify VLAN allowed list on trunk
ACL issuesWrong rule order, ACL applied to wrong interface or directionReview ACL top-down (first match wins), check interface and direction
Routing table issuesMissing route, wrong next-hop, AD/metric conflictsshow ip route — check for missing networks or wrong paths
Default route missingNo route to 0.0.0.0/0 — unknown destination traffic is droppedAdd static default route or verify dynamic routing default propagation
Address pool exhaustionDHCP pool full — new devices get APIPA (169.254.x.x)Expand DHCP pool, reduce lease time, check for rogue DHCP clients
Incorrect gatewayWrong default gateway — device can reach local subnet but not othersVerify gateway IP matches router interface IP on that subnet
Incorrect IP/subnet maskDevice thinks it's on a different subnet — can't communicate with peersVerify 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

ToolTypePurpose
WiresharkProtocol analyzerFull packet capture and inspection. Decodes all protocols. Powerful display filters. Best deep troubleshooting tool.
tcpdumpProtocol analyzer (CLI)Lightweight command-line packet capture. Runs on Linux/Mac. Used when GUI isn't available.
pingCLITests reachability using ICMP echo. Measures round-trip time (RTT) and packet loss percentage.
traceroute / tracertCLIShows hop-by-hop path to destination. Identifies where packets are dropped or experiencing high latency.
nslookup / digCLIDNS queries. Resolves hostnames to IPs. Checks specific record types. Tests DNS server responses.
netstatCLIShows active TCP/UDP connections, listening ports, and routing table.
ipconfig / ifconfigCLIShows IP configuration of local interfaces — IP, subnet mask, default gateway, DNS servers.
arp -aCLIShows ARP cache (IP → MAC address mappings). Used to spot ARP poisoning attacks.
nmapCLIPort and host scanner. Network discovery, service detection, OS fingerprinting, security auditing.
Cable testerPhysical toolVerifies copper cable continuity, correct pinout (568A/568B), tests for shorts, opens, and crosses.
OTDRFiber toolOptical Time-Domain Reflectometer. Tests fiber for breaks, excessive bends, connector loss, and splice quality.
Wi-Fi analyzerWireless toolShows nearby SSIDs, channel usage, signal strength (RSSI), noise floor, and channel overlap. Helps optimize AP placement.
Spectrum analyzerWireless toolShows all RF energy across a frequency band. Identifies non-WiFi interference sources like microwaves or Bluetooth devices.
💡
Exam day scratch pad — write these before question 1:
Powers of 2: 2¹=2 · 2²=4 · 2³=8 · 2⁴=16 · 2⁵=32 · 2⁶=64 · 2⁷=128 · 2⁸=256 · 2⁹=512 · 2¹⁰=1024 · 2¹¹=2048 · 2¹²=4096
4th-octet mask → prefix: 128=/25 · 192=/26 · 224=/27 · 240=/28 · 248=/29 · 252=/30
Passing score: 720/900 — solid coverage across all domains beats perfection in one.

CompTIA Linux+ V8 — Complete Exam Cheat Sheet

Every objective from the official CompTIA Linux+ V8 (XK0-006) exam summary

90 questions90 minutes Passing score: 720/900Launch: July 15, 2025

Domain weights

1. System Management
23%
2. Services & User Management
20%
3. Security
18%
4. Automation, Orchestration & Scripting
17%
5. Troubleshooting
22%
Domain 1System Management23%

Boot process

StageComponentWhat happens
1BIOS/UEFIFirmware initializes hardware, runs POST, finds bootable device
2GRUB2Bootloader presents menu, loads kernel and initramfs into memory
3KernelLoads into RAM, decompresses, initializes devices and drivers
4initramfsTemporary root filesystem with drivers needed to mount real root
5systemd (PID 1)First real process. Spawns all services and targets.
6Targetmulti-user.target (CLI) or graphical.target (GUI)

Filesystem hierarchy

DirectoryPurpose
/Root — top of the entire filesystem
/etcAll system configuration files
/homeUser home directories (/home/username)
/varVariable data — logs (/var/log), mail, spool
/tmpTemporary files — cleared on reboot
/procVirtual filesystem — kernel and process info (runtime only)
/devDevice files — block (/dev/sda) and character devices
/bin / /usr/binEssential user binaries (ls, cp, mv)
/sbinSystem admin binaries (fdisk, iptables)
/bootBootloader, kernel, initramfs files
/optOptional/third-party software
/mnt / /mediaTemporary 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 levelMinimum disksRedundancyNotes
RAID 02NoneStriping only — fastest, no fault tolerance
RAID 121 disk failureMirror — 50% usable capacity
RAID 531 disk failureStriping + parity — good balance
RAID 642 disk failuresDouble parity — slower writes
RAID 1041 per mirror pairMirror + 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)
Domain 2Services & User Management20%

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
OctalBinaryPermissions
7111rwx (read + write + execute)
6110rw- (read + write)
5101r-x (read + execute)
4100r-- (read only)
0000--- (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
Domain 3Security18%

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

ToolDistroKey commands
SELinuxRHEL, Fedora, CentOSgetenforce · setenforce 0/1 · sestatus · restorecon -Rv /path · ausearch -m AVC
AppArmorUbuntu, Debianaa-status · aa-complain /path · aa-enforce /path
⚠
SELinux denials are the most common cause of "permission denied" issues on RHEL systems even when Linux file permissions are correct. Always check ausearch -m AVC first.
Domain 4Automation, Orchestration & Scripting17%

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
Domain 5Troubleshooting22%

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

SymptomToolWhat to look for
High CPUtop, mpstat%CPU per process, per-core utilization
Out of memoryfree -h, vmstatAvailable memory, swap usage, OOM killer in dmesg
Disk I/O bottleneckiostat -xz 1, iotopHigh %util, high await time, per-process I/O
Network issuesss, iftop, nethogsOpen connections, bandwidth per interface/process
Disk errorssmartctl -a /dev/sdaSMART health, reallocated sectors, pending errors
SELinux blockingausearch -m AVCAVC denials — run restorecon or add policy
💡
Must-know commands: 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 ansible

Cisco CCNA 200-301 v1.1 — Complete Exam Cheat Sheet

Every topic from the official Cisco CCNA 200-301 v1.1 exam objectives

~100 questions120 minutes Passing score: ~825/10002024 exam version

Domain weights

1. Network Fundamentals
20%
2. Network Access
20%
3. IP Connectivity
25%
4. IP Services
10%
5. Security Fundamentals
15%
6. Automation & Programmability
10%
Domain 1Network Fundamentals20%

Network components

ComponentLayerFunction
RouterL3Routes packets between networks using IP. Maintains routing table. Separates broadcast domains.
L2 SwitchL2Forwards frames by MAC. Separate collision domains per port. One broadcast domain per VLAN.
L3 SwitchL2/3Routes between VLANs using SVIs. Combines switch and router functions.
NGFW / IPSL3–7NGFW = deep inspection, application awareness, IPS. IPS = inline blocking of threats.
Access pointL1/2Wireless LAN connection. Bridges wireless to wired.
WLC—Wireless LAN Controller. Centrally manages lightweight APs via CAPWAP.
PoEL1802.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

TypePrefixDescription
Global unicast2000::/3Publicly routable — equivalent to public IPv4
Unique localFC00::/7Private — equivalent to RFC1918
Link localFE80::/10Auto-configured, non-routable, required on all IPv6 interfaces
MulticastFF00::/8One-to-many group. No broadcast in IPv6.
Anycast(any unicast)Same address on multiple devices — routed to nearest
Loopback::1/128Like 127.0.0.1 in IPv4
ℹ
EUI-64: IPv6 host ID auto-derived from MAC — split MAC in half, insert FFFE in middle, flip 7th bit of first byte. SLAAC: router provides /64 prefix, device generates host portion via EUI-64. Compression rules: drop leading zeros per group; use :: 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.

Domain 2Network Access20%

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
ProtocolModesStandard
LACP (802.3ad)active / passiveOpen — works between vendors
PAgPdesirable / autoCisco proprietary
Staticon / onNo 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 roleDescription
Root portBest path toward the root bridge (one per non-root switch)
Designated portBest port on each segment toward root (one per segment)
Alternate portBackup to root port — blocked
Backup portBackup to designated port — blocked

Wireless architectures

ArchitectureDescriptionKey detail
Autonomous APFat AP — standalone, self-configuredEach AP manages its own config independently
Lightweight AP (LWAP)Thin AP — managed by WLCCAPWAP tunnel: UDP 5246 (control) + 5247 (data)
Cloud-managedManaged via internet-hosted dashboardCisco Meraki — no on-prem controller
Domain 3IP Connectivity25%

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
✓
Route selection order: 1. Longest prefix match (/28 beats /24) → 2. Lowest AD → 3. Lowest metric. This order is absolute — longest prefix ALWAYS wins first.

Administrative distance

Route sourceAD
Connected interface0
Static route1
External BGP (eBGP)20
EIGRP90
OSPF110
RIP120
External EIGRP170
Internal BGP (iBGP)200
Unknown / unreachable255

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 conceptDetails
Router IDHighest loopback IP → highest active interface IP. Must be unique.
Neighbor requirementsSame area, subnet, hello/dead timers, MTU, authentication. Hello=10s (broadcast), Dead=40s.
DR/BDR electionBroadcast 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 / LSDBLSAs describe network. LSDB = complete topology map. SPF (Dijkstra) calculates shortest path.
Area 0Backbone 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.

Domain 4IP Services10%

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 mechanismPurpose
ClassificationIdentify traffic (DSCP, CoS, ACL)
MarkingTag packets (DSCP 46=voice, 34=video)
QueuingPrioritize (LLQ puts voice first)
PolicingDrop/remark excess — hard limit
ShapingBuffer excess and send later — soft limit
Syslog levelSeverity
0 — EmergencySystem unusable
1 — AlertImmediate action needed
2 — CriticalCritical conditions
3 — ErrorError conditions
4 — WarningWarning conditions
5 — NoticeNormal but significant
6 — InformationalNormal operational messages
7 — DebugDebug-level messages
Domain 5Security Fundamentals15%

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
⚠
ACL rules: Evaluated top-down. First match wins. Implicit deny at end. More specific entries BEFORE general entries. Standard ACLs near destination. Extended ACLs near source.

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

ProtocolPortTransportBest for
TACACS+49TCPDevice administration (routers, switches). Separates auth/authz/accounting. Cisco proprietary.
RADIUS1812/1813UDPNetwork access (Wi-Fi 802.1X, VPN). Combines auth+authz. Open standard. IETF RFC.
Domain 6Automation & Programmability10%

SDN architecture

ComponentDescription
UnderlayPhysical network — switches, routers, cables
OverlayVirtual network on top of underlay (VXLAN tunnels, SD-WAN paths)
FabricCombination of underlay + overlay + controller
Control planeDecides where traffic goes — centralized in SDN controller
Data planeForwards packets based on control plane decisions
Northbound APIController to applications/management (REST). Business intent → controller.
Southbound APIController to network devices (OpenFlow, NETCONF, RESTCONF). Controller → hardware.

REST APIs & JSON

HTTP verbCRUDAction
GETReadRetrieve resource
POSTCreateCreate new resource
PUTUpdateReplace entire resource
PATCHUpdatePartial update
DELETEDeleteRemove 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
💡
CCNA exam day reminders: Longest prefix match always wins · OSPF area 0 is backbone, all areas must touch it · ACLs top-down, implicit deny · Native VLAN must match both ends of trunk · DHCP snooping must be enabled before DAI · WPA3 = SAE · TACACS+ TCP 49 for device admin · RADIUS UDP 1812/1813 for network access

CompTIA Security+ SY0-701 — Complete Exam Cheat Sheet

Every domain from the official CompTIA Security+ SY0-701 exam objectives

Max 90 questions90 minutes Passing score: 750/900Launch: Nov 7, 2023

Domain weights

1. General Security Concepts
12%
2. Threats, Vulnerabilities & Mitigations
22%
3. Security Architecture
18%
4. Security Operations
28%
5. Security Program Management & Oversight
20%
Domain 1General Security Concepts12%

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

CategoryDescriptionExample
TechnicalImplemented via technology/systemsFirewalls, encryption, ACLs
ManagerialAdministrative/policy-based, oversight of the security processRisk assessments, security policies
OperationalDay-to-day procedures performed by peopleSecurity awareness training, guard rotations
PhysicalControls the physical environmentLocks, fences, badges, lighting
TypePurposeExample
PreventiveStops an incident before it happensFirewall rule, MFA, hardening
DeterrentDiscourages an attackerWarning signs, visible cameras
DetectiveIdentifies an incident in progress/afterIDS, log review, SIEM alert
CorrectiveReduces impact / restores after an incidentBackups, patching, IPS
CompensatingAlternative control when the primary isn't feasibleExtra monitoring in place of a missing patch
DirectivePoints toward compliant behaviorPolicies, 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.

💡
Zero Trust in one line: "Never trust, always verify" — every request is authenticated and authorized, regardless of network location.

Cryptographic solutions

TypeExamplesKey fact
SymmetricAES, 3DES, ChaCha20One shared key — fast, used for bulk data encryption
AsymmetricRSA, ECC, Diffie-HellmanPublic/private key pair — slower, used for key exchange & signatures
HashingSHA-256, MD5 (broken), bcryptOne-way, fixed-length output — verifies integrity, never "decrypted"
Key stretchingPBKDF2, bcrypt, Argon2Slows down brute-force attacks on stored passwords
SaltingRandom value added before hashingDefeats 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.

Domain 2Threats, Vulnerabilities & Mitigations22%

Threat actors

ActorMotivationSophistication / resources
Nation-stateEspionage, warfare, disruptionHighest — well-funded, advanced (APT)
Organized crimeFinancial gainHigh — funded, structured operations
HacktivistPhilosophical/political causeVaries — often opportunistic
Insider threatRevenge, financial gain, ideologyLow tech barrier — already has access
Unskilled attackerNotoriety, thrillLow — uses pre-built tools ("script kiddie")
Shadow ITConvenience, not malicious intentN/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

TechniqueChannelDescription
PhishingEmailMass or targeted fraudulent messages to steal credentials/data
Spear phishingEmailTargeted phishing at a specific person
WhalingEmailPhishing aimed at executives
VishingVoice callVoice phishing — often impersonates support/bank
SmishingSMSPhishing via text message
BECEmailBusiness Email Compromise — impersonates an executive to authorize a transfer
PretextingAnyFabricated scenario/identity to extract info
Watering holeWebCompromises a site the target is known to visit
TyposquattingWebRegisters misspelled domains to catch mistyped URLs
ℹ
Principles social engineering exploits: authority, urgency, social proof, scarcity, likability, fear, trust.

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

MalwareKey trait
RansomwareEncrypts files, demands payment
WormSelf-propagates across a network, no host file needed
TrojanDisguised as legitimate software
RootkitHides deep in the OS/kernel — hardest to detect and remove
KeyloggerRecords keystrokes
Logic bombDormant until a trigger condition (date, event) fires
BloatwareUnwanted 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.

Domain 3Security Architecture18%

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

ConceptDetail
Device placementWhere a device sits in the traffic path — determines what it can see/control
Security zonesTrusted, untrusted, DMZ — segments of differing trust levels
Fail-open vs fail-closedFail-open = allows traffic on failure (availability priority). Fail-closed = blocks traffic on failure (security priority)
Active vs passiveActive = inline, can block. Passive = tap/monitor only, can't block
Jump serverHardened bastion host — single controlled entry point into a secure network segment

Firewall types

TypeLayerNotes
WAFL7Web Application Firewall — protects against SQLi, XSS at the HTTP layer
NGFWL3–L7Next-Gen — app awareness, deep packet inspection, built-in IPS
UTMMultipleUnified 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

ConceptDetail
Site considerationsHot site (fully ready, minutes), warm site (partially ready), cold site (space only, days/weeks)
Backup typesFull, incremental (since last backup), differential (since last full), snapshot, replication, journaling
PowerUPS (short bridge), generator (extended runtime)
⚠
3-2-1 backup rule still applies: 3 copies, 2 media types, 1 offsite.
Domain 4Security Operations28%

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

1

Identify

Vulnerability scans, SAST/DAST, threat feeds (CVE, OSINT), penetration testing, bug bounty programs

2

Analyze

Score with CVSS, cross-reference CVE, weigh against business context

3

Respond & remediate

Patch, apply compensating controls, segment, or formally accept the risk (exception/exemption)

4

Validate & report

Re-scan to confirm the fix, then document and report to stakeholders

Enterprise security capabilities

CapabilityPurpose
SIEMAggregates and correlates logs, generates alerts
EDR / XDREndpoint (and cross-layer) detection & response — behavioral detection, not just signatures
DLPData Loss Prevention — blocks sensitive data from leaving the network
NACNetwork Access Control — checks device posture before granting network access
Email securityDMARC, DKIM, SPF — verify sender legitimacy, block spoofing
UBAUser 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

1

Preparation

Plans, playbooks, training, tooling in place before an incident occurs

2

Detection & analysis

Identify the incident, scope it, determine severity

3

Containment

Isolate affected systems to stop spread

4

Eradication

Remove the root cause — malware, compromised accounts, vulnerabilities

5

Recovery

Restore systems to normal operation, monitor for recurrence

6

Lessons learned

Root cause analysis, update playbooks, report findings

ℹ
Digital forensics: legal hold → chain of custody → acquisition (most volatile data first: RAM before disk) → preservation → reporting.
Domain 5Security Program Management & Oversight20%

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

TermFormula / meaning
SLESingle Loss Expectancy = Asset Value × Exposure Factor
ALEAnnualized Loss Expectancy = SLE × ARO (Annual Rate of Occurrence)
RTORecovery Time Objective — max acceptable downtime
RPORecovery Point Objective — max acceptable data loss (time)
MTTR / MTBFMean 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.

💡
Exam day reminders: Security+ is scenario-heavy — read for the best answer, not just a correct one. Prioritize least-privilege and defense-in-depth answers when two options seem equally valid. Know the difference between detective and preventive controls cold — it's tested repeatedly.

Microsoft AZ-900 — Azure Fundamentals Complete Exam Cheat Sheet

Every skill area from the official Microsoft Learn AZ-900 study guide

~40–60 questions85 minutes Passing score: 700/1000No prerequisites

Skills measured weights

1. Describe Cloud Concepts
25–30%
2. Describe Azure Architecture & Services
35–40%
3. Describe Azure Management & Governance
30–35%
Domain 1Describe Cloud Concepts25–30%

Cloud models

ModelDescriptionBest for
PublicOwned/operated by a third-party provider, shared infrastructureScalability, lower upfront cost
PrivateDedicated to a single organization, on-prem or hostedRegulated industries, strict control
HybridCombines public and private, workloads move between themGradual migration, data residency needs
ℹ
Shared responsibility model: the provider always secures the physical datacenter/hardware/network. As you move IaaS → PaaS → SaaS, Microsoft takes on progressively more responsibility and you manage less.
LayerIaaSPaaSSaaS
Data & permissionsCustomerCustomerCustomer
ApplicationsCustomerCustomerProvider
Runtime / OSCustomerProviderProvider
Virtualization / serversProviderProviderProvider
Physical network & datacenterProviderProviderProvider

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.

Domain 2Describe Azure Architecture & Services35–40%

Core architectural components

1

Management group

Top-level container — groups multiple subscriptions for org-wide policy and access control

2

Subscription

Billing boundary and a scale unit for resource limits/quotas

3

Resource group

Logical container for resources that share a lifecycle (deployed/deleted together)

4

Resource

An individual service instance — a VM, storage account, database, etc.

ConceptDescription
RegionA geographic area containing one or more datacenters
Region pairTwo regions in the same geography, 300+ miles apart, paired for disaster recovery
Sovereign regionIsolated instance for compliance needs (e.g. Azure Government, Azure China)
Availability zonePhysically separate datacenter within a region, each with independent power/cooling/networking

Compute services

ServiceTypeUse case
Azure Virtual MachinesIaaSFull control OS-level compute
Virtual Machine Scale SetsIaaSAuto-scaling identical VM groups
Availability setsIaaSSpreads VMs across fault/update domains within a datacenter
Azure Virtual DesktopDaaSVirtualized Windows desktop/app streaming
Containers (ACI / AKS)PaaS/CaaSLightweight, portable app packaging; AKS = managed Kubernetes
Azure FunctionsServerlessEvent-triggered code, pay per execution
App ServicePaaSFully 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.

💡
Public vs private endpoint: a public endpoint has an internet-routable IP; a private endpoint gives a service a private IP inside your own VNet, keeping traffic off the public internet.

Storage services

Storage typeData shapeUse case
BlobUnstructured objectsImages, video, backups, logs
FileSMB/NFS sharesLift-and-shift file shares
QueueMessagesAsync communication between app components
TableNoSQL key-valueStructured, non-relational data
DiskBlock storageVM 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

ToolPurpose
AzCopyCommand-line bulk copy into/out of Azure Storage
Azure Storage ExplorerGUI for managing storage accounts
Azure File SyncSyncs on-prem file servers with Azure Files
Azure MigrateAssesses and migrates on-prem servers/VMs to Azure
Azure Data BoxPhysical 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.

Domain 3Describe Azure Management & Governance30–35%

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).

ℹ
Tags: key-value pairs applied to resources (e.g. department:finance) — used for cost allocation, organization, and automation, not for security.

Governance & compliance tools

ToolPurpose
Azure PolicyEnforces organizational rules (e.g. "only allow VMs in East US") — flags or blocks non-compliant resources
Resource locksCanNotDelete or ReadOnly — prevents accidental deletion/modification regardless of RBAC permissions
Microsoft PurviewUnified 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

ToolPurpose
Azure AdvisorPersonalized recommendations for cost, security, reliability, performance
Azure Service HealthReports on Azure-wide outages and service issues affecting you
Azure MonitorUmbrella platform — Log Analytics (query logs), Alerts (thresholds/actions), Application Insights (app performance monitoring)
💡
Exam day reminders: AZ-900 is conceptual, not hands-on — you won't configure anything, you just need to know what a service does and when to use it. Watch for "describe" wording — the exam tests recognition, not deep configuration detail. Memorize the resource hierarchy order: Management Group → Subscription → Resource Group → Resource.

AWS CLF-C02 — Cloud Practitioner Complete Exam Cheat Sheet

Every domain from the official AWS Certified Cloud Practitioner exam guide

65 questions (50 scored)90 minutes Passing score: 700/1000No prerequisites
ℹ
AZ-900 vs CLF-C02: These are equivalent foundation-level certifications — AZ-900 covers Microsoft Azure, CLF-C02 covers Amazon Web Services. The cloud concepts (IaaS/PaaS/SaaS, shared responsibility, pricing models) are nearly identical. Choose based on which cloud platform is more relevant to your job market or employer — or take both. Either one satisfies the "cloud fundamentals" requirement on a resume.

Domain weights

1. Cloud Concepts
24%
2. Security & Compliance
30%
3. Cloud Technology & Services
34%
4. Billing, Pricing & Support
12%
Domain 1Cloud Concepts24%

Cloud models

ModelDescriptionBest for
PublicOwned/operated by AWS, shared infrastructure, pay-as-you-goScalability, lower upfront cost
PrivateDedicated infrastructure, on-prem or hostedRegulated industries, strict control
HybridCombines public and private — workloads span bothGradual 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

ConceptDescription
RegionGeographic 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 LocationCloudFront CDN node for caching content close to users. More locations than Regions — reduces latency globally.
Local ZoneAWS infrastructure extension placed close to large population centers — single-digit millisecond latency for specific use cases.
Wavelength ZoneAWS 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.

ℹ
Shared Responsibility Model: AWS is responsible for security of the cloud (hardware, software, networking, facilities). You are responsible for security in the cloud (data, identity, OS patches, application configuration, encryption settings). The boundary shifts depending on service type — IaaS gives you more responsibility, SaaS gives you less.
Domain 2Security & Compliance30%

IAM — Identity & Access Management

ComponentDescription
Root userFull account access — use only for initial setup and billing. Enable MFA immediately. Never use for daily work.
IAM UserIndividual identity with long-term credentials. Assign to people or applications needing persistent access.
IAM GroupCollection of users — attach policies to the group, not individual users. Simplifies permission management.
IAM RoleTemporary credentials for AWS services, applications, or federated users. Best practice for EC2 instances accessing other AWS services.
IAM PolicyJSON document defining allowed/denied actions. Attach to users, groups, or roles. Explicit deny always wins.
💡
Principle of least privilege: Grant only the permissions required to perform a task — nothing more. Start with no permissions and add what's needed rather than starting with broad access and restricting it.

Security services

ServicePurpose
AWS ShieldDDoS protection. Standard (free, automatic) protects all AWS customers. Advanced adds 24/7 DDoS response team and cost protection.
AWS WAFWeb Application Firewall — filters HTTP/S traffic. Blocks common exploits (SQL injection, XSS). Deployed in front of CloudFront, ALB, API Gateway.
Amazon GuardDutyThreat detection using ML — analyzes CloudTrail, VPC Flow Logs, DNS logs for malicious activity. No agents required.
AWS InspectorAutomated vulnerability scanning for EC2 instances and container images. Generates findings with severity scores.
AWS MacieDiscovers and protects sensitive data (PII, credentials) in S3 using ML.
AWS Secrets ManagerStores, rotates, and retrieves secrets (API keys, DB passwords). Automatic rotation built in.
AWS KMSKey Management Service — creates and controls encryption keys. Used by most AWS services for encryption at rest.
AWS CloudTrailRecords all API calls across your account — who did what, when, from where. Audit and compliance logging.
AWS ConfigTracks 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.

Domain 3Cloud Technology & Services34%

Compute services

ServiceTypeUse case
EC2IaaS — Virtual MachinesFull control over OS and software. Widest range of instance types. Choose for lift-and-shift or custom environments.
EC2 Auto ScalingIaaS — ScalingAutomatically adds/removes EC2 instances based on demand or schedule. Maintains performance and controls cost.
LambdaServerless — FunctionsRun code without provisioning servers. Pay per invocation. Ideal for event-driven, short-duration tasks.
Elastic BeanstalkPaaS — App hostingDeploy web apps without managing infrastructure. AWS handles scaling, load balancing, patching.
ECS / EKSContainersECS = AWS managed container orchestration. EKS = managed Kubernetes. Run Docker containers at scale.
AWS FargateServerless containersRun containers without managing EC2 instances. Works with ECS and EKS.
LightsailSimplified VPSSimplified, predictable pricing for simple web apps and small projects. Good for beginners.

Storage services

ServiceTypeUse case
Amazon S3Object storageStore any amount of data as objects in buckets. Unlimited capacity, 11 nines durability. Static website hosting, backups, data lakes.
S3 GlacierArchive storageLong-term archival at very low cost. Retrieval times: Instant, Expedited (1–5 min), Standard (3–5 hrs), Bulk (5–12 hrs).
EBSBlock storagePersistent block storage for EC2 instances — like a hard drive. Stays attached to one instance at a time.
EFSFile storageManaged NFS file system. Shared across multiple EC2 instances simultaneously. Auto-scales capacity.
AWS Storage GatewayHybrid storageConnects on-premises environments to S3. Extends on-prem storage to the cloud seamlessly.
AWS Snow FamilyPhysical data transferPhysical devices for large-scale offline data migration. Snowcone (small), Snowball (medium), Snowmobile (massive — a truck).

S3 storage classes

ClassAccess patternKey detail
S3 StandardFrequentDefault. High availability, high durability. Most expensive per GB stored.
S3 Intelligent-TieringUnknown/changingAuto-moves objects between tiers based on access patterns. Small monitoring fee.
S3 Standard-IAInfrequentLower storage cost, retrieval fee applies. Minimum 30-day storage.
S3 One Zone-IAInfrequent, non-criticalSingle AZ only — cheaper but loses data if AZ fails. Recreatable data only.
S3 Glacier InstantArchive, ms retrievalMillisecond access. Quarterly access pattern assumed.
S3 Glacier FlexibleArchiveMinutes to hours retrieval. Very low cost.
S3 Glacier Deep ArchiveLong-term archiveLowest cost. 12-hour standard retrieval. 7–10 year retention use cases.

Networking services

ServicePurpose
Amazon VPCVirtual Private Cloud — private, isolated network within AWS. Subnets, route tables, internet gateways, NAT gateways.
Elastic Load BalancingDistributes traffic across multiple targets. ALB (Layer 7/HTTP), NLB (Layer 4/TCP), GLB (third-party appliances).
Amazon CloudFrontCDN — caches content at edge locations globally. Reduces latency. Integrates with S3, EC2, custom origins.
Amazon Route 53DNS service and domain registrar. Health checks. Routing policies: simple, weighted, latency, failover, geolocation.
AWS Direct ConnectDedicated private connection from on-premises to AWS — bypasses internet. Consistent throughput, lower latency.
AWS VPNEncrypted connection over the public internet between on-prem and VPC. Lower cost than Direct Connect, shared bandwidth.
VPC PeeringDirect networking between two VPCs. Not transitive — A↔B and B↔C does not mean A↔C.
AWS Transit GatewayCentral hub connecting multiple VPCs and on-prem networks. Solves VPC peering complexity at scale.

Database services

ServiceTypeUse case
Amazon RDSManaged relational DBMySQL, PostgreSQL, MariaDB, Oracle, SQL Server, Aurora. AWS handles patching, backups, Multi-AZ failover.
Amazon AuroraManaged relational DBAWS-optimized MySQL/PostgreSQL compatible. Up to 5x faster than MySQL. Auto-scales storage. Serverless option available.
Amazon DynamoDBNoSQL key-value/documentSingle-digit millisecond performance at any scale. Fully serverless. Good for session data, gaming, IoT.
Amazon ElastiCacheIn-memory cacheRedis or Memcached. Caches frequently accessed data to reduce database load.
Amazon RedshiftData warehousePetabyte-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.

Domain 4Billing, Pricing & Support12%

Pricing models

ModelDescriptionBest for
On-DemandPay 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 PlansCommit to a $/hour spend for 1 or 3 years. Flexible across instance types and regions.Steady-state workloads with flexibility needs.
Spot InstancesBid on unused EC2 capacity. Up to 90% discount. Can be interrupted with 2-minute warning.Fault-tolerant, flexible workloads. Batch jobs, data analysis.
Dedicated HostsPhysical server fully dedicated to you. Most expensive.Compliance requirements, existing per-socket/per-core licensing.

Cost management tools

ToolPurpose
AWS Pricing CalculatorEstimate costs before deploying — model your architecture and get a monthly cost breakdown
AWS Cost ExplorerVisualize and analyze actual spending. Identify trends, filter by service/account/tag. Forecast future costs.
AWS BudgetsSet custom cost or usage thresholds and receive alerts when approaching or exceeding them.
Cost Allocation TagsTag resources (e.g. project:website) to track costs by team, project, or environment in Cost Explorer.
AWS Free Tier12 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

PlanCostResponse time (critical)Key features
BasicFreeNo case supportDocumentation, forums, AWS Health Dashboard, limited Trusted Advisor checks
DeveloperFrom $29/mo12 hoursBusiness hours email support, 1 primary contact
BusinessFrom $100/mo1 hour24/7 phone/email/chat, full Trusted Advisor, AWS Support API
Enterprise On-RampFrom $5,500/mo30 minutesPool of Technical Account Managers, Concierge Support Team
EnterpriseFrom $15,000/mo15 minutesDedicated TAM, Infrastructure Event Management, Well-Architected reviews
💡
Exam day reminders: Know the shared responsibility model boundary cold — it appears constantly. Memorize the support plan response times. S3 storage class use cases are heavily tested. Know the difference between EC2 pricing models (On-Demand vs Reserved vs Spot). CloudTrail = audit logs (who did what). CloudWatch = monitoring (metrics and alarms). GuardDuty = threat detection. Inspector = vulnerability scanning.