CAS-005 — CompTIA SecurityX Cheat Sheet

Compact CAS-005 Cheat sheet for CompTIA SecurityX exam candidates: architecture, engineering, operations, GRC, IAM, cloud, crypto, and incident response decision points.

Use the tables for a quick pre-exam check. Expand a topic’s notes for explanations, examples, and additional distinctions.

Scope and study context

SecurityX questions often ask for the best control in context, not just a definition. Anchor each answer on:

Exam cueAsk yourselfStrong answer pattern
Enterprise architectureWhat reduces risk at scale without breaking operations?Layered controls, segmentation, identity-first access, automation, measurable governance
“Most secure”What blocks the threat while preserving business requirements?Least privilege, deny by default, strong crypto, managed keys, centralized logging
“Best next step”What phase is the team in?Identify before contain; contain before eradicate; validate before closeout
“Cost-effective”Can an existing control or managed service solve it?Prioritize risk reduction, automation, and operational simplicity
“Compliance”What provides evidence and repeatability?Policies, standards, control mapping, audit trails, exception process
“Zero trust”Is access continuously evaluated?Identity, device posture, context, segmentation, least privilege, telemetry
“High availability”What fails over without data loss beyond tolerance?RTO/RPO-driven design, redundancy, tested recovery
“Cloud security”Who owns the control in the shared model?IAM, data protection, configuration, monitoring, and workload security

SecurityX is an advanced security exam. Many questions are not asking, “What is this term?” They are asking, “Given this business constraint, threat, architecture, and operational reality, what is the best security decision?”

Your review should focus on:

  • Architecture tradeoffs, not just tool names.
  • Risk-based prioritization.
  • Enterprise controls across identity, cloud, network, application, data, and operations.
  • Secure implementation details.
  • Governance, risk, and compliance reasoning.
  • Incident response and resilience.
  • Choosing the best answer when multiple options are technically valid.

Architecture decision matrix

RequirementPreferWhyWatch for
Replace broad network VPN accessZTNAApp-level access, identity/context checks, reduced lateral movementZTNA is not “install MFA and keep flat network”
Limit east-west movementMicrosegmentationControls workload-to-workload communicationNeeds asset inventory and policy lifecycle
Secure remote branch/cloud accessSASE/SSE patternCombines secure web gateway, CASB, ZTNA, DLP, policy enforcementAvoid assuming all SASE products provide identical controls
Protect web apps from common attacksWAF + secure code fixesWAF reduces exposure; code fixes remove root causeWAF is compensating, not a substitute for remediation
Protect APIsAPI gateway + authz + schema validation + rate limitsHandles authentication, authorization, throttling, loggingOAuth scopes are not enough without object-level authorization
Isolate privileged administrationPAM + jump host/bastion + session recordingControls, monitors, and limits admin pathsShared admin accounts break attribution
Reduce credential theft impactPhishing-resistant MFA + conditional access + PAMStronger auth and just-in-time privilegeSMS/OTP MFA is weaker than FIDO2/WebAuthn
Meet strict key custody needsHSM or cloud KMS with appropriate key ownership modelProtects key material and centralizes lifecycleBYOK/HYOK improves control but adds operational burden
Detect unknown endpoint behaviorEDR/XDRBehavioral telemetry, response actions, investigationEDR does not replace hardening and patching
Detect network lateral movementNDREast-west traffic analytics and anomaly detectionEncrypted traffic may need metadata or endpoint correlation
Centralize event correlationSIEMLog aggregation, rules, correlation, investigationSIEM detects; it does not automatically remediate
Automate repetitive responseSOARPlaybooks, enrichment, ticketing, containmentBad playbooks can amplify false positives
Protect SaaS usage and dataCASBVisibility, DLP, access controls, shadow IT discoveryNeeds integration with IdP and SaaS platforms
Reduce cloud misconfigurationCSPM + policy as codeContinuous posture checks and guardrailsFindings still require ownership and remediation workflow
Protect cloud workloadsCWPPRuntime, host, container, and workload protectionDifferent from CSPM, which focuses on posture
Unified cloud security programCNAPPCombines posture, workload, identity, IaC, and runtime viewsDo not assume one tool removes need for architecture decisions

Zero trust reference

Zero trust is an architecture approach, not a single product.

PrinciplePractical implementationEvidence to look for
Verify explicitlyStrong identity, device posture, location, risk score, app sensitivityConditional access policies, IdP logs, device compliance
Least privilegeRBAC/ABAC, JIT/JEA admin, scoped tokens, short-lived credentialsAccess reviews, privilege reports, PAM logs
Assume breachSegmentation, continuous monitoring, deception, rapid containmentEDR/NDR telemetry, segmentation policy, tested IR playbooks
Continuous evaluationReassess sessions based on risk changesToken revocation, re-auth triggers, adaptive policies
Protect dataClassification, encryption, DLP, tokenization, retention controlsData inventory, DLP incidents, key management logs
Notes and examples

Zero trust traps

TrapCorrect interpretation
“We use MFA, so we have zero trust.”MFA is one control. Zero trust also needs least privilege, context, segmentation, telemetry, and continuous enforcement.
“Zero trust means no network controls.”Network segmentation still matters; zero trust reduces implicit trust.
“ZTNA is always better than VPN.”ZTNA is preferred for app-specific access; VPN may still exist for legacy or administrative use with compensating controls.
“Device trust is permanent.”Device posture should be continuously checked and can change during a session.

Zero Trust Architecture

Zero trust assumes no implicit trust based solely on network location.

Zero Trust Principles

  • Verify explicitly.
  • Use least privilege.
  • Assume breach.
  • Continuously evaluate trust.
  • Segment access to applications and workloads.
  • Monitor behavior and posture.
  • Apply policy consistently across users, devices, services, and data.

Zero Trust Control Map

Zero trust concernStrong control examples
User identityMFA, conditional access, identity governance
Device trustDevice certificates, MDM/UEM, posture checks
Application accessZTNA, identity-aware proxy, per-app access
Workload accessService identity, microsegmentation, workload policies
Data accessClassification, DLP, rights management, encryption
VisibilityCentralized logs, UEBA, EDR/XDR, NDR
PrivilegePAM, JIT, JEA, session recording

Common Trap

A VPN alone is not zero trust. VPNs can provide encrypted connectivity, but zero trust requires explicit verification, least privilege, segmentation, and continuous evaluation.

IAM and access control

Protocols and identity components

ComponentUse whenKey detailsCommon trap
SAML 2.0Enterprise browser-based SSOXML assertions between IdP and service providerGood for federation, not modern API authorization
OAuth 2.0Delegated authorizationAccess tokens grant scoped access to resourcesOAuth is not an authentication protocol by itself
OpenID ConnectAuthentication on top of OAuth 2.0Adds ID token and user identity claimsDo not use ID token as API authorization token
KerberosInternal enterprise authenticationKDC, tickets, mutual auth, time sensitivityClock skew and SPN issues cause failures
LDAP/LDAPSDirectory queries and identity store accessLDAPS protects directory trafficLDAP is not the same as SSO
RADIUSNetwork access authenticationCommon for VPN, Wi-Fi, NACLimited command authorization
TACACS+Network device administrationSeparates authn, authz, and accountingPreferred for granular admin command control
SCIMIdentity provisioningAutomates user/group lifecycle into SaaS appsFederation without provisioning leaves orphaned accounts
FIDO2/WebAuthnPhishing-resistant MFAPublic key authentication, origin bindingStronger than SMS or push-only MFA
Notes and examples

Access models

ModelBest fitStrengthWeakness
RBACJob roles are stableSimple to audit and administerRole explosion in complex environments
ABACDynamic context mattersUses attributes: user, device, data, location, riskRequires strong attribute governance
DACOwner-controlled accessFlexible for collaborationLess centralized control
MACHighly classified or rigid environmentsStrong central policy enforcementOperationally inflexible
ReBACRelationship-based accessUseful for social/collaboration graphsComplex policy reasoning
PBAC/XACML-styleCentralized policy decisionsDecouples policy from applicationsNeeds mature policy design

Privileged access controls

ControlPurposeExam decision point
PAM vaultStores and rotates privileged secretsUse for administrator, service, and break-glass accounts
JIT accessGrants privilege only when neededReduces standing privilege
JEAGrants only required admin capabilityStronger than broad temporary admin
Session recordingAccountability and forensicsUseful for sensitive admin access and third-party support
Break-glass accountEmergency accessMust be protected, monitored, tested, and tightly controlled
Service account governancePrevents unmanaged machine privilegesUse rotation, scoped permissions, ownership, and noninteractive controls

Identity and Access Management

Identity is central to modern enterprise security. For advanced questions, expect identity to connect to cloud, remote work, privileged administration, SaaS, APIs, and zero trust.

Core Identity Concepts

ConceptReview point
AuthenticationProves identity, often with password, certificate, token, biometric, or MFA
AuthorizationDetermines what an authenticated subject can access
AccountingRecords activity for audit, investigation, and nonrepudiation
FederationAllows identity trust across organizations, clouds, or applications
Single sign-onReduces repeated logins but increases importance of IdP security
MFAStronger when factors are independent and phishing-resistant
Conditional accessUses context such as device posture, location, risk score, and user behavior
PAMControls privileged accounts, sessions, credentials, elevation, and approvals
JIT accessGrants privilege only when needed and for limited time
JEAGrants only the specific administrative capability needed
Service accountsRequire rotation, least privilege, monitoring, and ownership
Break-glass accountsEmergency use only; strongly protected, monitored, and tested

Federation and Access Protocols

Protocol / StandardPrimary useExam distinction
SAMLBrowser-based enterprise SSOCommon with SaaS federation
OAuth 2.0Delegated authorizationGrants access through scopes; not primarily authentication
OpenID ConnectAuthentication layer on OAuth 2.0Used for identity claims and sign-in
KerberosTicket-based authenticationCommon in enterprise directory environments
LDAP / LDAPSDirectory queriesLDAPS protects LDAP with TLS
RADIUSCentralized authentication for network accessCommon with VPN, Wi-Fi, NAC
TACACS+Device administration AAASeparates authentication, authorization, and accounting well
SCIMIdentity provisioningAutomates user lifecycle across systems

Identity Traps

  • OAuth is not the same as authentication. OAuth delegates authorization; OpenID Connect adds authentication.
  • SSO is not automatically safer. It centralizes risk; protect the identity provider with MFA, monitoring, conditional access, and strong recovery controls.
  • MFA quality matters. Phishing-resistant MFA is stronger than SMS-based MFA.
  • Privileged access is not only about admins. Service accounts, CI/CD runners, API keys, and cloud roles can be privileged.
  • Least privilege requires lifecycle management. Access reviews, recertification, role mining, and deprovisioning matter.

Cryptography and PKI

Crypto selection table

NeedPreferNotes
Fast bulk data encryptionSymmetric encryption, such as AES-GCMGCM provides authenticated encryption when used correctly
Secure key exchange over untrusted networkECDHE/DHEEnables perfect forward secrecy when ephemeral keys are used
Digital signatureRSA/ECDSA/EdDSA-style signature schemesProvides integrity, authenticity, and nonrepudiation support
Password storageSalted adaptive hash/KDFUse bcrypt, scrypt, Argon2, or PBKDF2-style approach; never plain hash alone
Message integrity with shared secretHMACStronger than plain hash for authenticity
File integrity check onlyCryptographic hashDetects change, does not provide secrecy
Key protectionHSM/KMS/TPMReduces key exposure and centralizes lifecycle
Transport securityTLS with modern cipher suitesValidate certificates and avoid weak protocols/ciphers
Mutual service identitymTLSBoth client and server present certificates
Data field substitutionTokenizationReduces exposure of sensitive values in applications
Format-preserving protectionFormat-preserving encryption or tokenizationUseful where legacy field format must remain
Notes and examples

PKI terms that matter

TermPractical meaning
Root CATrust anchor; compromise affects all subordinate trust
Intermediate CAIssues certificates while protecting root CA offline
Certificate chainPath from leaf certificate to trusted root
CSRCertificate signing request containing public key and identity information
CRLPublished list of revoked certificates
OCSPOnline certificate status check
OCSP staplingServer provides status proof to reduce client lookup overhead
Certificate pinningApp trusts specific cert/key; improves control but complicates rotation
SANSubject Alternative Name; modern identity field for DNS names
mTLSMutual certificate authentication for client and server
Key escrowThird party stores recoverable key material; useful but increases risk
Key rotationPeriodic or event-driven key replacement
Key destructionRemoves ability to decrypt; must align with retention/legal hold needs

Crypto traps

StatementCorrection
“Hashing encrypts data.”Hashing is one-way integrity verification, not encryption.
“Encoding protects secrets.”Encoding such as Base64 is reversible representation, not security.
“TLS solves all API security.”TLS protects transport; API authorization, validation, and rate limiting are still required.
“Use the same key everywhere for simplicity.”Use separation of duties, key hierarchy, and scoped keys.
“Hard-coded secrets are acceptable if the repo is private.”Use a secrets manager and rotate exposed secrets.
“Old clients require weak ciphers, so keep them enabled globally.”Isolate legacy support and document risk exceptions.

Cryptographic Use Cases

NeedCommon solution
ConfidentialitySymmetric encryption for bulk data
Key exchangeAsymmetric cryptography or key agreement
IntegrityHashing or message authentication
AuthenticationCertificates, digital signatures, MACs
NonrepudiationDigital signatures with proper key control
Password storageSalted, adaptive hashing
Data in transitTLS with strong configuration
Data at restDisk, database, object, or application-layer encryption
Key protectionHSM, KMS, TPM, secure enclave

PKI Components

ComponentRole
Root CATrust anchor; should be highly protected
Intermediate CAIssues certificates while limiting root exposure
CertificateBinds public key to subject identity
CSRRequest containing public key and subject details
CRL / OCSPCertificate revocation checking
HSMHardware-backed key protection
Certificate policyDefines issuance and management rules

TLS Review

Know the purpose of:

  • Server authentication.
  • Optional mutual TLS.
  • Certificate chain validation.
  • Cipher suite selection.
  • Forward secrecy.
  • Certificate expiration and renewal.
  • Revocation checking.
  • Secure protocol versions and configurations.

Crypto Traps

  • Do not choose custom cryptography.
  • Do not choose deprecated or weak algorithms when modern alternatives are available.
  • Encryption does not provide integrity unless the mode or construction supports it.
  • Hashing is not encryption.
  • Encoding is not encryption.
  • Key rotation must be planned with availability and data access in mind.
  • Losing encryption keys can mean losing the data.

Data protection and privacy engineering

ControlBest useDistinction
Data classificationDrives handling requirementsMust be tied to labels, storage, access, retention, and DLP
Encryption at restProtects stored data from unauthorized access to media/storageDoes not stop authorized misuse
Encryption in transitProtects data crossing networksRequires proper certificate validation
TokenizationReplaces sensitive value with tokenOften reduces sensitive data exposure in apps
MaskingHides part of data in display or test setsStatic masking changes copy; dynamic masking changes view
AnonymizationIrreversibly removes identity linkHard to guarantee with rich datasets
PseudonymizationReplaces identifiers but can be re-linked with extra dataStill sensitive if reidentification is possible
DLPDetects or blocks sensitive data movementNeeds classification, tuning, and workflow
DRM/IRMControls document usage after distributionUseful for sensitive documents, not all data flows
DAMMonitors database access and activityUseful for high-value structured data
Data minimizationCollect less dataReduces breach impact and compliance scope
Retention policyKeeps data only as long as requiredMust align with business, legal hold, and disposal needs
Secure disposalPrevents recovery after useUse media-appropriate sanitization and verification

Cloud and hybrid security

Shared responsibility cues

ModelProvider typically handles more ofCustomer still owns
IaaSPhysical facilities, hardware, core virtualizationOS, applications, data, IAM, network configuration, logging choices
PaaSManaged runtime/platform componentsApp code, data, identity, secrets, platform configuration
SaaSApplication hosting and maintenanceUser access, data governance, configuration, integrations, monitoring exports
On-premisesCustomer owns nearly everythingFull stack security, physical to application
Notes and examples

Cloud control selection

ProblemChooseWhy
Public storage exposureCSPM finding + preventive policy + remediationDetects and prevents misconfiguration
Excessive cloud permissionsCIEM + least privilege reviewFinds unused, risky, and overbroad entitlements
Runtime container compromiseCWPP/EDR for containersObserves workload behavior and can respond
Insecure IaC templateIaC scanning + policy as codeStops misconfigurations before deployment
Secrets in repositorySecrets scanning + secrets manager + rotationRemoves static secrets from code
Multi-account governanceLanding zone/organization guardrailsStandardizes logging, identity, network, and policy boundaries
SaaS data leakageCASB + DLP + IdP integrationControls access and data movement
Cloud key controlKMS/HSM with rotation and access policyCentralized key lifecycle and audit
Workload identityFederated workload identityAvoids long-lived static cloud keys
Cloud incident investigationCentralized logs + immutable storage + snapshotsPreserves evidence and enables timeline reconstruction

Container and Kubernetes security

LayerControls
ImageMinimal base image, signed images, vulnerability scan, SBOM, no secrets
RegistryAccess control, image signing verification, retention, scanning
PodNon-root user, read-only filesystem where possible, resource limits
SecretsExternal secrets manager or encrypted secret storage; no secrets in images
NetworkDefault deny, namespace segmentation, service-level allow rules
AdmissionPolicy enforcement for allowed registries, privileged containers, capabilities
RuntimeBehavior monitoring, syscall restrictions, container-aware EDR/CWPP
ClusterRBAC least privilege, audit logs, secure API server, patching

Example concept: default deny plus explicit allow.

apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
  name: default-deny-then-allow-api
spec:
  podSelector:
    matchLabels:
      app: api
  policyTypes:
    - Ingress
  ingress:
    - from:
        - podSelector:
            matchLabels:
              app: web
      ports:
        - protocol: TCP
          port: 8443

Key interpretation: only selected web pods can reach selected api pods on TCP 8443; other ingress to those API pods is denied if policy is enforced by the CNI.

Cloud Security

Cloud questions often test whether you understand responsibility boundaries, identity, automation, logging, and secure architecture.

Shared Responsibility Review

AreaUsually cloud provider responsibilityUsually customer responsibility
Physical data centerFacilities, physical securityVendor assessment and contractual review
Core infrastructureHardware, foundational cloud servicesSecure configuration choices
IdentityPlatform IAM capabilitiesUsers, roles, policies, federation
DataStorage services availableClassification, encryption choices, access, retention
NetworkCloud networking primitivesRouting, security groups, segmentation
ApplicationsManaged service platform elementsApplication code, secrets, API security
LoggingLog generation featuresEnabling, centralizing, monitoring, retention

Exact responsibility depends on service model and contract. IaaS gives the customer more operational responsibility than PaaS or SaaS.

IaaS, PaaS, SaaS Decision Points

ModelCustomer focus
IaaSOS hardening, patching, network rules, IAM, logging, workload security
PaaSApp configuration, identity, secrets, data, secure code, service settings
SaaSUser access, tenant configuration, data governance, integrations, audit logs

Cloud Security Controls

NeedControl
Find misconfigurationsCSPM
Protect workloadsCWPP
Manage cloud entitlementsCIEM
Secure containers and clustersImage scanning, admission control, runtime protection
Govern infrastructure changesIaC scanning, policy as code
Protect secretsSecrets manager, rotation, no hardcoding
Centralize eventsCloud-native logging to SIEM/data lake
Reduce blast radiusSeparate accounts/projects/subscriptions, least-privilege IAM
Protect keysKMS, HSM-backed keys when required

Cloud Traps

  • Public object storage exposure is usually a configuration and governance failure.
  • Long-lived access keys are riskier than short-lived federated credentials.
  • Cloud encryption is incomplete without access control and key governance.
  • Security groups, NACLs, and routing controls operate differently; do not assume one replaces all others.
  • Multi-cloud increases complexity; standardize identity, logging, policy, and tagging.

Container Security Checklist

LayerReview focus
ImageMinimal base image, signed image, vulnerability scanning, SBOM
BuildSecure CI/CD, no secrets in pipelines, dependency checks
RegistryAccess control, image signing, retention, scanning
RuntimeLeast privilege, read-only filesystem, resource limits
NetworkNamespace isolation, network policies, service mesh where useful
SecretsDedicated secrets management, rotation, no environment leakage
ClusterRBAC, admission control, audit logs, secure API server
NodeHardened host, patching, EDR/runtime monitoring

Kubernetes Traps

  • Do not run containers as root unless explicitly required and justified.
  • Do not grant broad cluster-admin rights to applications.
  • Kubernetes secrets are not automatically equivalent to full enterprise secrets management.
  • Image scanning is not enough; runtime behavior still matters.
  • Admission control can prevent risky deployments before they run.

Network and infrastructure security

TechnologyBest useKey distinction
Stateless ACLSimple packet filteringDoes not track sessions
Stateful firewallNetwork/session controlAllows return traffic based on state
NGFWApp/user-aware filteringAdds application identity, threat features
IDSDetects suspicious trafficOut-of-band; usually does not block
IPSBlocks suspicious trafficInline; tuning matters to avoid disruption
WAFHTTP/S application protectionLayer 7 web traffic, not all protocols
API gatewayAPI routing, auth, throttling, observabilityComplements, not replaces, app authorization
NAC/802.1XControls network admissionUses identity/device posture
NDRNetwork behavior analyticsUseful for lateral movement and unmanaged devices
DNS filteringBlocks malicious domainsGood early control; can be bypassed if unmanaged DNS allowed
DNSSECAuthenticates DNS data origin/integrityDoes not encrypt DNS queries
DoH/DoTEncrypts DNS transportCan reduce enterprise DNS visibility if unmanaged
VPNEncrypted network tunnelOften broad network access unless tightly segmented
ZTNAApp-specific remote accessBetter least privilege for private apps
DDoS protectionAbsorbs/filters volumetric and app-layer attacksNeeds upstream/provider support and runbooks
Network segmentationLimits blast radiusEnforce with firewalls, VLANs, SDN, microsegmentation
Honeypot/deceptionDetects attacker interactionMust be isolated and monitored
Notes and examples

OT/ICS security cues

OT constraintSecurity response
Safety and availability dominateAvoid disruptive scanning; use passive monitoring where possible
Legacy systems cannot patch quicklySegment, monitor, restrict access, use compensating controls
Vendor remote access is requiredUse PAM, MFA, jump hosts, session logging, time-bound access
Flat plant networkCreate zones/conduits and restrict IT/OT paths
Protocols lack auth/encryptionIsolate, monitor command patterns, wrap access through secure gateways
Change windows are rareTest changes, document rollback, coordinate with operations

Segmentation Choices

RequirementBetter design choice
Limit user-to-server accessVLANs, ACLs, firewalls, NAC
Limit workload-to-workload trafficMicrosegmentation
Isolate sensitive systemsDedicated security zones and strict policy enforcement
Control third-party accessZTNA, bastion, restricted routes, monitored sessions
Reduce lateral movementIdentity-based access, host firewalling, EDR, segmentation
Protect OT/ICSStrong separation, allowlists, jump hosts, passive monitoring

Perimeter and Edge Controls

ControlUse
NGFWLayer 7 filtering, application visibility, IPS features
IDSDetects suspicious activity; does not block by itself
IPSBlocks or prevents detected traffic
WAFProtects web apps from application-layer attacks
API gatewayAuthentication, authorization, rate limiting, routing, observability
DDoS protectionAbsorbs or filters volumetric and protocol attacks
Secure web gatewayControls outbound web access
CASBVisibility and control for SaaS/cloud usage
SASEConverges networking and security services
SSESecurity service edge capabilities without full WAN functions

Secure Network Services

ServiceSecure design points
DNSUse filtering, logging, DNSSEC where appropriate, secure resolvers
EmailSPF, DKIM, DMARC, anti-phishing controls, sandboxing
NTPAuthenticated time sources; critical for logs and Kerberos
DHCPSnooping, IP source guard, segmentation
SNMPPrefer SNMPv3; avoid default communities
SSHKey-based auth, strong algorithms, no shared admin accounts
RDPRestrict exposure; use gateway, MFA, logging
Wi-FiEnterprise authentication, strong encryption, certificate-based access where possible

Candidate Traps

  • A firewall rule does not replace identity governance.
  • Network segmentation does not remove the need for endpoint controls.
  • IDS alerts are not prevention unless paired with blocking or response workflows.
  • Exposing management interfaces to the internet is rarely acceptable.
  • “Encrypt the traffic” does not fix excessive authorization.

OT/ICS Priorities

PrioritySecurity implication
SafetyAvoid controls that could disrupt safe operations
AvailabilityPatch and scan carefully; test before deployment
IntegrityProtect commands, configurations, and sensor data
SegmentationSeparate OT from IT and internet exposure
MonitoringPrefer passive monitoring where active scanning is risky
Remote accessUse jump hosts, MFA, strict approvals, logging

OT/IoT Traps

  • Traditional vulnerability scanning can disrupt fragile systems.
  • Patching may require vendor validation and maintenance windows.
  • Default credentials and exposed management interfaces are common IoT risks.
  • Network isolation is often essential because device-level controls may be limited.

Secure engineering and DevSecOps

Security testing tools

Tool/typeFindsBest stageLimitations
SASTSource/code-level flawsEarly developmentFalse positives; may miss runtime issues
DASTRuntime web/app flawsTest/stagingNeeds running app; may miss code paths
IASTRuntime issues with instrumentationTestRequires agent/instrumentation
SCAVulnerable dependencies/licensesBuild and CIMust manage transitive dependencies
Container scanOS/package/image flawsBuild/registryImage clean at build can become stale
IaC scanMisconfigured infrastructure templatesBefore deployNeeds policy alignment
Secrets scanExposed keys/passwords/tokensCommit/CI/repositoryDetection must trigger rotation
FuzzingCrash/input handling flawsTestRequires harness and triage
RASPRuntime app self-protectionProductionNot a replacement for secure code
Pen testExploitable pathsPre-release or periodicPoint-in-time assessment
Red teamDetection and response validationMature programsGoal is objective-based, not full coverage
Notes and examples

Secure SDLC gates

PhaseSecurity activities
RequirementsData classification, abuse cases, compliance/control needs
DesignThreat modeling, architecture review, trust boundaries
DevelopmentSecure coding, peer review, secrets handling
BuildSAST, SCA, IaC scan, container scan, signing
TestDAST, IAST, fuzzing, security regression tests
ReleaseChange approval, artifact integrity, deployment guardrails
OperateLogging, monitoring, vulnerability management, incident playbooks
ImproveLessons learned, metrics, backlog remediation

Threat modeling quick map

Method/conceptUse
STRIDESpoofing, Tampering, Repudiation, Information disclosure, Denial of service, Elevation of privilege
Attack treesDecompose attacker goals into paths
PASTA-style approachRisk-centric threat modeling tied to business impact
MITRE ATT&CKMap adversary tactics, techniques, and detection coverage
Kill chainUnderstand attack progression and control placement
Abuse casesDefine how features can be misused
Trust boundaryWhere data/control crosses privilege, network, or ownership boundary

API and application security cues

IssueBest control
SQL/LDAP/command injectionParameterized queries, safe APIs, input validation, least privilege
XSSOutput encoding, CSP, input validation, secure frameworks
CSRFAnti-CSRF tokens, SameSite cookies, re-auth for sensitive actions
SSRFEgress filtering, metadata service protection, allowlists, URL validation
Broken object-level authorizationServer-side authorization checks per object
Excessive data exposureResponse filtering, schema control, least data return
Weak JWT handlingValidate signature, issuer, audience, expiry; avoid accepting none algorithm
Token leakageSecure storage, short lifetimes, refresh token rotation
Insecure deserializationAvoid unsafe deserialization, sign/validate serialized data
File upload riskType validation, malware scan, storage isolation, no direct execution
Rate abuseRate limiting, quotas, bot controls, anomaly detection
Insecure CORSRestrict origins, methods, credentials; avoid wildcard with credentials

Secure SDLC Controls

PhaseHigh-yield controls
RequirementsSecurity requirements, privacy requirements, abuse cases
DesignThreat modeling, architecture review, secure patterns
DevelopmentSecure coding, peer review, secrets control
BuildSAST, SCA, IaC scanning, signing
TestDAST, IAST, fuzzing, API testing
ReleaseChange approval, deployment controls, artifact integrity
RuntimeWAF, RASP where appropriate, logging, monitoring
MaintenancePatch dependencies, vulnerability intake, bug bounty handling

Testing Types

TestBest use
SASTFinds code issues before runtime
DASTTests running application behavior
IASTObserves application while tested
SCAIdentifies vulnerable or risky dependencies
FuzzingFinds unexpected input-handling failures
Penetration testExploits realistic attack paths under scope
Code reviewFinds logic flaws and insecure patterns
Threat modelingFinds design-level weaknesses before build

API Security Review

RiskControl
Broken object-level authorizationEnforce authorization per object and request
Excessive data exposureResponse filtering and data minimization
Weak authenticationStrong tokens, OIDC, mutual TLS where appropriate
Token misuseProper audience, issuer, scope, expiration validation
Abuse and scrapingRate limiting, throttling, anomaly detection
InjectionInput validation, parameterized queries
Unmanaged APIsAPI inventory, gateway, discovery
Secrets leakageVaulting, rotation, scanning

Common Application Traps

  • Authentication success does not prove authorization is correct.
  • WAFs help, but they do not replace secure code.
  • SAST may miss runtime configuration issues.
  • DAST may miss unreachable code paths.
  • SCA identifies dependency risk but does not always prove exploitability in your environment.
  • Secrets in source control require rotation, not just deletion from the latest commit.

Threat Modeling

Threat modeling helps identify design flaws before deployment.

STRIDE Review

STRIDE categoryConcernExample control
SpoofingPretending to be someone/something elseStrong authentication
TamperingUnauthorized modificationIntegrity checks, signing
RepudiationDenying an actionLogging, nonrepudiation
Information disclosureData exposureEncryption, access control
Denial of serviceAvailability attackRate limiting, redundancy
Elevation of privilegeGaining unauthorized rightsLeast privilege, input validation

Threat Modeling Traps

  • Threat modeling is most valuable early in design, not only after production deployment.
  • A data flow diagram helps identify trust boundaries.
  • Mitigations should map to specific threats.
  • Business logic flaws may not be found by simple vulnerability scanning.

Infrastructure as Code Security

RiskControl
Misconfigured cloud resourcesIaC scanning and policy as code
Unreviewed changesPull requests and approvals
DriftContinuous compliance checks
Secret exposureSecret scanning and vault integration
Inconsistent buildsImmutable infrastructure
Manual errorsAutomated deployment pipelines

CI/CD Security

AreaControls
Source controlBranch protection, signed commits, code review
Build agentsHardened runners, ephemeral builds
DependenciesSCA, repository controls, SBOM
SecretsVault integration, short-lived credentials
ArtifactsSigning, provenance, integrity checks
DeploymentLeast-privilege deploy roles, approvals
MonitoringPipeline logs, anomaly detection

DevSecOps Trap

“Shift left” does not mean runtime security disappears. Strong programs combine early testing, secure pipelines, runtime monitoring, and rapid feedback.

Supply chain security

RiskControls
Malicious dependencySCA, dependency pinning, trusted registries, package integrity checks
Compromised build pipelineLeast privilege CI/CD, isolated runners, signed builds, secrets manager
Tampered artifactCode signing, artifact signing, provenance verification
Unknown componentsSBOM generation and inventory
Developer account takeoverPhishing-resistant MFA, conditional access, branch protection
Secret exposurePre-commit/CI secrets scanning and immediate rotation
Unreviewed codePull request reviews, CODEOWNERS-style approvals, protected branches
Third-party service riskDue diligence, contract controls, monitoring, exit plan

Security operations

Tool selection by operational need

NeedPrimary tool/controlWhy
Correlate logs across enterpriseSIEMCentral search, correlation, alerting
Automate enrichment and containmentSOARPlaybooks and integrations
Endpoint detection and responseEDRProcess, file, registry, memory, and response actions
Extended correlation across domainsXDREndpoint, identity, email, cloud, and network correlation
User/entity anomaly detectionUEBABaselines behavior and flags anomalies
Network behavior visibilityNDRDetects lateral movement and unusual traffic
Threat intel managementTIPNormalizes and distributes indicators/intel
Vulnerability trackingVM platformAsset risk, scan findings, remediation workflow
Attack surface visibilityASM/EASMExternal exposure discovery
Configuration complianceCSPM/SCAP/policy toolsDetects drift from baselines
Notes and examples

Incident response workflow

    flowchart TD
	    A[Alert or report] --> B{Validate?}
	    B -- False positive --> C[Document and tune]
	    B -- True incident --> D[Classify severity and scope]
	    D --> E[Preserve evidence]
	    E --> F{Active threat?}
	    F -- Yes --> G[Contain: isolate, block, disable, revoke]
	    F -- No --> H[Investigate root cause]
	    G --> H
	    H --> I[Eradicate: remove malware, patch, rotate secrets]
	    I --> J[Recover and monitor]
	    J --> K[Lessons learned and control improvements]

Incident phase decision table

PhaseGoalTypical actions
PreparationBe ready before incidentsPlaybooks, contacts, tools, logging, tabletop exercises
IdentificationConfirm and scopeTriage alerts, correlate logs, determine affected assets
ContainmentStop spread/damageIsolate host, block IOC, disable account, revoke token
EradicationRemove causeRemove malware, close persistence, patch, rotate credentials
RecoveryRestore safelyRebuild, restore backups, monitor for reinfection
Lessons learnedImprove controlsRoot cause, metrics, detection tuning, policy updates

Containment choices

SituationPreferAvoid
Malware actively spreadingNetwork isolate host or segmentPowering off before volatile evidence if forensics required
Stolen credentialsDisable account, revoke sessions/tokens, reset credentialsOnly changing password while sessions remain valid
Leaked API keyRevoke/rotate key, search usage, update secret storeLeaving old key active “temporarily”
Ransomware on one hostIsolate, preserve evidence, check lateral movementImmediately restoring without understanding entry point
DDoSActivate provider mitigation, rate limits, traffic filteringLocal-only response if upstream saturated
Compromised cloud roleDisable/limit role, review activity logs, rotate credentialsDeleting evidence before timeline is built

Forensics quick reference

ConceptPractical meaning
Order of volatilityCollect most volatile evidence first when feasible: memory, network state, running processes, disk, backups
Chain of custodyDocument who collected, handled, transferred, and stored evidence
Hashing evidenceProves integrity of acquired images/files
Write blockerPrevents modification of source media during acquisition
Timeline analysisReconstructs sequence of attacker and system events
Memory captureUseful for malware, keys, processes, network connections
Disk imagePreserves filesystem and deleted artifacts
Log preservationCentralized, time-synchronized, immutable logs improve investigation
Legal holdSuspends normal deletion where required by counsel/process

Detection and Response Tooling

ToolRole
SIEMAggregates, correlates, and alerts on logs/events
SOARAutomates response workflows and enrichment
EDREndpoint detection and response
XDRCorrelates across multiple telemetry sources
NDRNetwork detection and response
UEBADetects abnormal user/entity behavior
DLPDetects or blocks sensitive data movement
TIPThreat intelligence platform
DeceptionHoneypots, decoys, canary tokens
Case managementTracks investigations and evidence

Log Sources to Remember

  • Identity provider events.
  • Endpoint telemetry.
  • Network flow logs.
  • DNS logs.
  • Firewall and proxy logs.
  • Cloud control plane logs.
  • SaaS audit logs.
  • Application logs.
  • Database activity logs.
  • EDR/XDR alerts.
  • Email security events.
  • CI/CD and code repository events.

Incident Response Process

PhaseFocus
PreparationPlans, tools, roles, communications, logging
IdentificationConfirm incident and scope
ContainmentLimit spread and damage
EradicationRemove root cause and attacker presence
RecoveryRestore operations securely
Lessons learnedImprove controls and procedures

Evidence Handling

For forensic scenarios, preserve:

  • Chain of custody.
  • Time synchronization.
  • Original evidence integrity.
  • Volatile data when appropriate.
  • Disk/memory images when needed.
  • Logs before retention windows expire.
  • Documented actions and timestamps.

IR Traps

  • Do not wipe a system before collecting required evidence if forensic investigation is needed.
  • Do not restore from backup without removing the root cause.
  • Do not notify externally before following the incident communication plan, unless the scenario clearly requires it.
  • Containment should be proportional; disconnecting critical systems may create business harm.
  • Lessons learned should produce control improvements, not only a report.

Logs and detection patterns

Common log interpretation cues

EvidencePossible meaningNext check
Many failed logins then successBrute force or password sprayingSource IPs, target accounts, MFA status, impossible travel
New admin accountPrivilege escalation or legitimate changeChange ticket, creator account, directory audit logs
PowerShell encoded commandPossible obfuscationParent process, command line, script block logs
Rare outbound domainCommand and control or new SaaSDNS logs, proxy logs, reputation, host process
Large outbound transferExfiltration or backupDestination, data type, user, timing
Login from new geographyAccount compromise or travelConditional access, MFA, device posture
Repeated 401/403Credential attack or broken integrationUser agent, source, endpoint, account lockouts
Repeated 500 errorsApp issue or exploit attemptWeb logs, WAF events, payloads
New scheduled task/servicePersistenceCreator, binary path, hash, endpoint telemetry
Disabled security toolDefense evasionAdmin action logs, EDR health, process history
Notes and examples

Generic Sigma-style detection example

title: Suspicious Encoded PowerShell
status: experimental
logsource:
  product: windows
  category: process_creation
detection:
  selection:
    Image|endswith: '\powershell.exe'
    CommandLine|contains:
      - '-enc'
      - '-encodedcommand'
  condition: selection
fields:
  - Image
  - ParentImage
  - CommandLine
  - User
  - Hostname
level: high

Exam interpretation: encoded PowerShell is suspicious, but triage should confirm parent process, user context, script content, endpoint history, and business justification.

Vulnerability management and testing

ActivityPurposeOutput
Asset discoveryKnow what existsAsset inventory and ownership
Vulnerability scanIdentify known weaknessesFindings, severity, affected systems
Configuration scanDetect baseline driftMisconfiguration reports
Risk-based prioritizationFix what matters mostRemediation order based on exploitability, exposure, asset value
Patch managementApply vendor fixesChange records and validation
Exception processAccept temporary residual riskOwner, justification, compensating controls, expiration
Penetration testValidate exploitabilityFindings with proof and remediation guidance
Red team exerciseTest detection/response against objectivesGaps in controls, process, and monitoring
Purple teamImprove detections collaborativelyTuned detections and response playbooks
Bug bountyContinuous external researcher testingValidated reports and coordinated disclosure
Notes and examples

Prioritization factors

Do not prioritize by scanner score alone. Consider:

  • Internet exposure
  • Known exploitation
  • Asset criticality
  • Data sensitivity
  • Compensating controls
  • Ease and reliability of exploit
  • Business impact of patching
  • Availability of mitigation
  • Regulatory or contractual commitments
  • Whether the weakness enables privilege escalation or lateral movement

Governance, risk, and compliance

Risk calculations

Use these formulas when a scenario gives enough values.

\[ \text{SLE} = \text{Asset Value} \times \text{Exposure Factor} \]\[ \text{ALE} = \text{SLE} \times \text{ARO} \]\[ \text{Risk} = \text{Likelihood} \times \text{Impact} \]
TermMeaning
Asset valueBusiness value of the asset
Exposure factorPercentage of asset value lost in one event
SLESingle loss expectancy
AROAnnualized rate of occurrence
ALEAnnualized loss expectancy
Inherent riskRisk before controls
Residual riskRisk remaining after controls
Risk appetiteAmount of risk organization is willing to accept
Risk toleranceAcceptable variation around appetite
Control effectivenessHow much a control reduces likelihood or impact

Risk treatment

TreatmentUse whenExample
MitigateReduce likelihood or impactAdd MFA, segmentation, patching
TransferShift financial/operational impactCyber insurance, contractual transfer
AvoidStop risky activityDecommission vulnerable public service
AcceptResidual risk is within appetiteDocumented exception with owner and review date

Control types

ClassificationExamples
AdministrativePolicies, standards, training, risk assessments
TechnicalMFA, encryption, firewalls, EDR, DLP
PhysicalLocks, cameras, guards, secure disposal bins
PreventiveAccess control, hardening, secure coding
DetectiveSIEM alerts, IDS, audits
CorrectiveRestore from backup, patch, reimage
DeterrentWarning banners, visible cameras
CompensatingAlternative control when primary control is not feasible
DirectivePolicies, procedures, required standards
RecoveryBackups, DR site, failover

Governance artifacts

ArtifactPurpose
PolicyHigh-level management intent and mandatory rules
StandardSpecific mandatory requirements
ProcedureStep-by-step instructions
GuidelineRecommended practice
BaselineMinimum secure configuration
Control frameworkOrganized catalog of controls
Risk registerTracks risks, owners, ratings, treatment plans
Exception registerTracks approved deviations and expiration
BIAIdentifies critical processes and outage impact
SLA/OLADefines service expectations internally/externally
MOU/MOADefines shared responsibilities between organizations
NDAProtects confidential information
DPA/data processing termsDefines data handling responsibilities
Notes and examples

Risk Terms

TermMeaning
AssetSomething of value to protect
ThreatPotential cause of harm
VulnerabilityWeakness that can be exploited
LikelihoodChance of risk occurring
ImpactConsequence if risk occurs
Inherent riskRisk before controls
Residual riskRisk remaining after controls
Risk appetiteAmount of risk leadership is willing to accept
Risk toleranceAcceptable variation around appetite
ControlSafeguard that modifies risk
Compensating controlAlternative control that reduces risk when primary control is not feasible

Risk Treatment Options

OptionMeaningExample
AvoidStop the risky activityRetire an unsafe legacy service
MitigateReduce likelihood or impactPatch, segment, monitor
TransferShift financial or operational riskCyber insurance, contract terms
AcceptFormally acknowledge residual riskDocumented exception approval

Quantitative Risk Formulas

Use these when a question provides numerical values.

\[ SLE = Asset\ Value \times Exposure\ Factor \]\[ ALE = SLE \times ARO \]

Where:

  • SLE = single loss expectancy.
  • ARO = annualized rate of occurrence.
  • ALE = annualized loss expectancy.

Governance Artifacts

ArtifactPurpose
PolicyHigh-level management intent
StandardMandatory specific requirement
ProcedureStep-by-step instructions
GuidelineRecommended practice
BaselineMinimum secure configuration
ExceptionApproved deviation with risk acceptance
Control matrixMaps controls to requirements
Risk registerTracks risks, owners, status, and treatment
Audit evidenceProves controls exist and operate

GRC Traps

  • A policy without enforcement, ownership, and evidence is weak.
  • Accepting risk should be formal and authorized, not informal.
  • Compliance does not guarantee security.
  • Security does not automatically prove compliance.
  • Metrics should support decisions, not just report activity.
  • Third-party risk continues after contract signing; monitoring and reassessment matter.

Business continuity and disaster recovery

Metric/designMeaningDecision point
BIADetermines criticality and impact over timeDrives recovery priorities
MTD/MAOMaximum tolerable downtime/outageRTO must fit inside this tolerance
RTOTarget time to restore serviceShorter RTO usually costs more
RPOAcceptable data loss windowDrives backup/replication frequency
Hot siteReady-to-run alternate siteFast recovery, higher cost
Warm sitePartially preparedBalance of cost and speed
Cold siteSpace/infrastructure onlySlower recovery, lower cost
Active-activeMultiple active locationsHigh availability and load sharing
Active-passiveStandby environmentSimpler, may have failover delay
BackupCopy of dataNot sufficient unless restore is tested
Immutable backupResistant to modification/deletionImportant for ransomware resilience
Tabletop exerciseDiscussion-based validationGood for roles and decisions
Failover testTechnical validationConfirms recovery design works
Notes and examples

Key Terms

TermMeaning
BIABusiness impact analysis; identifies critical processes and impacts
RTOMaximum acceptable time to restore service
RPOMaximum acceptable data loss measured in time
MTD / MAOMaximum tolerable downtime/outage
DRPDisaster recovery plan for technology restoration
BCPBusiness continuity plan for sustaining critical operations
COOPContinuity of operations planning
FailoverMoving service to alternate resources
FailbackReturning to primary resources after recovery

Availability and Recovery Choices

RequirementLikely answer
Minimal downtimeActive-active, clustering, load balancing
Rapid recovery at lower costWarm site or pre-provisioned standby
Lowest cost, slower recoveryCold site
Protect against ransomwareImmutable/offline backups and tested restoration
Protect regional outageMulti-region architecture
Reduce hardware failure impactRedundancy and high availability
Verify DR readinessTabletop, simulation, failover test

Backup Types

TypeAdvantageLimitation
FullSimplest restoreMore storage/time
IncrementalEfficient backupRestore may require chain
DifferentialFaster restore than long incremental chainGrows until next full
SnapshotFast point-in-time captureMay depend on underlying platform
Immutable backupResists tampering/ransomwareRequires retention and access planning
Offline backupStrong isolationSlower operational access

Continuity Trap

A backup is not a disaster recovery strategy by itself. The exam may expect tested restoration, defined RTO/RPO, alternate processing, dependency mapping, communications, and business ownership.

Third-party and vendor risk

AreaWhat to verify
Due diligenceSecurity posture, financial/operational stability, references
Data accessWhat data, where stored, who can access it
Contract termsSecurity obligations, audit rights, breach notification expectations
SubcontractorsUse of subprocessors and flow-down obligations
Identity integrationSSO, MFA, provisioning/deprovisioning
LoggingAvailability of audit logs and export/API access
EncryptionAt rest, in transit, key ownership options
ResilienceBackup, DR, availability commitments
Exit strategyData return/deletion, portability, transition support
Continuous monitoringSecurity reports, attestations, issue tracking

Privacy and data governance cues

PrinciplePractical security action
Purpose limitationCollect/use data only for defined purposes
Data minimizationReduce fields collected and retained
Consent/notice managementAlign user expectations with processing
Retention limitationDelete or anonymize when no longer needed
Access rights supportMaintain searchable inventories and workflows
Privacy by designInclude privacy in requirements and architecture
Data localizationUnderstand where data is stored and processed
Cross-border transfer reviewVerify contractual and organizational controls
DeidentificationUse anonymization/pseudonymization where appropriate
Breach readinessKnow data owners, notification workflow, and evidence sources

Common CAS-005 decision traps

Trap answerBetter exam reasoning
“Encrypt it” for every data problemEncryption protects confidentiality but does not solve authorization, retention, misuse, or integrity by itself.
“Block everything immediately” during incident responsePreserve evidence and choose containment proportional to business impact and active threat.
“Patch the highest CVSS first”Prioritize using exploitability, exposure, asset criticality, and business context.
“Move to cloud for better security”Cloud changes control ownership; misconfiguration and IAM risk remain.
“Use SIEM to prevent attacks”SIEM detects and correlates; prevention requires controls and response actions.
“Use blockchain for integrity”Most integrity requirements are better met with hashes, signatures, logs, and access controls.
“Use AI/ML for any anomaly”ML needs quality data, tuning, explainability, and operations workflow.
“IDS blocks the attack”IDS detects; IPS blocks inline.
“Tokenization and encryption are the same”Tokenization substitutes values; encryption transforms data with keys.
“Backups equal resilience”Backups must be isolated, restorable, tested, and aligned to RTO/RPO.
“Compliance equals security”Compliance is evidence against requirements; security also needs risk-based control effectiveness.

Performance-based task checklist

Before the exam, practice doing these quickly:

  • Select the best architecture control from business and threat cues.
  • Identify insecure configuration patterns: broad allow rules, public exposure, weak TLS, hard-coded secrets, excessive IAM permissions.
  • Map controls to zero trust, defense in depth, and least privilege.
  • Order incident response steps correctly.
  • Interpret logs and distinguish indicator, event, alert, incident, and breach.
  • Choose between SAST, DAST, IAST, SCA, fuzzing, and pen testing.
  • Prioritize vulnerabilities with business context, not severity alone.
  • Match IAM protocols to use cases.
  • Choose encryption, hashing, tokenization, masking, or signing correctly.
  • Apply RTO/RPO and risk formulas when numbers are provided.
  • Recommend compensating controls when ideal remediation is not immediately feasible.
  • Recognize when governance artifacts, risk acceptance, or vendor controls are required.

Final review sequence

  1. Review the official CompTIA SecurityX (CAS-005) objectives alongside this Cheat Sheet.
  2. Drill decision tables until you can explain why the best option is better than plausible distractors.
  3. Practice scenario and performance-based questions that require architecture selection, log interpretation, risk analysis, and incident response ordering.
  4. After each missed question, record the decision rule you failed to apply and retest with fresh original practice items.

Exam Mindset: Think Like a Security Architect

For CompTIA SecurityX (CAS-005), assume the role of a senior security practitioner who must balance risk, usability, cost, compliance, and operational impact.

The “Best Answer” Pattern

When two answers look correct, prefer the one that is:

If the scenario emphasizes…Prefer an answer that…
Enterprise architectureReduces systemic risk, not just one symptom
ComplianceProvides evidence, auditability, policy mapping, and repeatability
Zero trustVerifies identity, device, context, and least privilege continuously
CloudUses native controls, automation, identity-first design, and shared-responsibility awareness
Incident responsePreserves evidence, contains impact, and follows the IR process
Business continuityMeets recovery objectives and protects critical processes
Vulnerability managementPrioritizes by exploitability, exposure, business criticality, and compensating controls
DevSecOpsShifts security left while also enforcing runtime protections
Data protectionUses classification, lifecycle controls, encryption, DLP, and access governance
High availabilityRemoves single points of failure and validates failover
Notes and examples

Common Candidate Mistake

Do not automatically choose the most expensive or most advanced technology. The exam often rewards the control that best satisfies the stated requirement with the least unnecessary complexity.

Example:

  • If the problem is excessive standing administrator access, privileged access management with just-in-time access is usually stronger than simply adding another password policy.
  • If the problem is untrusted east-west traffic, microsegmentation and workload identity are often better than only hardening the perimeter firewall.
  • If the problem is lack of evidence for compliance, logging, control mapping, attestation, and repeatable reporting may matter more than buying a new prevention tool.

High-Yield SecurityX Review Map

AreaWhat to know coldCommon trap
Identity and accessFederation, MFA, PAM, conditional access, RBAC, ABAC, least privilegeConfusing authentication with authorization
Zero trustContinuous verification, device posture, segmentation, identity-centric accessTreating zero trust as one product
Cloud securityShared responsibility, IAM, network controls, encryption, logging, CSPM, workload protectionAssuming the cloud provider secures customer configurations
Application securitySecure SDLC, APIs, SAST, DAST, SCA, secrets, CI/CD securityRelying only on final-stage penetration testing
Data securityClassification, encryption, tokenization, masking, DLP, retentionEncrypting data without managing access or keys
CryptographyUse cases, key management, PKI, TLS, HSM, certificatesChoosing custom crypto or weak legacy algorithms
Risk managementInherent/residual risk, treatment options, BIA, RTO/RPO, third-party riskTreating all vulnerabilities as equal
Security operationsSIEM, SOAR, EDR/XDR, NDR, threat hunting, incident responseContainment before preserving critical evidence when forensics is required
ResilienceHA, DR, backups, immutable storage, failover testingConfusing backup with business continuity
Network securitySegmentation, NAC, VPN/ZTNA, WAF, IDS/IPS, DDoS protectionDepending only on perimeter controls
GovernancePolicies, standards, procedures, baselines, audits, metricsWriting policy without enforcement or evidence
Enterprise assessmentThreat modeling, attack path analysis, red/purple teaming, vulnerability managementFixing low-risk findings while critical exposed systems remain exploitable

Fast Decision Workflow for Scenario Questions

Use this mental workflow when a CAS-005 scenario is long or includes several attractive answer choices.

    flowchart TD
	    A[Read the business problem] --> B[Identify the asset and risk]
	    B --> C[Find constraints: compliance, cost, uptime, cloud, legacy, users]
	    C --> D[Determine control type needed]
	    D --> E{Prevent, detect, respond, recover, or govern?}
	    E --> F[Map to least-privilege and risk-based option]
	    F --> G[Eliminate tools that do not address the root cause]
	    G --> H[Choose the answer with evidence, scalability, and operational fit]

Authorization Models

ModelBest fitWatch for
RBACStable job rolesRole explosion if roles are too granular
ABACDynamic access based on attributesRequires accurate attributes and policy logic
MACHigh-control environmentsLess flexible; centrally enforced labels
DACOwner-controlled accessCan lead to inconsistent permissions
ReBACRelationship-based accessCommon in collaboration and social graph-style access
Rule-based accessIf/then policy logicCan become hard to manage at scale

Quick Rule

If the scenario emphasizes dynamic context such as device health, location, risk score, time, data sensitivity, and user attributes, ABAC or conditional access is usually a better answer than static role assignment alone.

Data Security and Privacy

Data Lifecycle Controls

StageControls
CreateClassification, ownership, labeling
StoreEncryption, access control, tokenization, retention
UseLeast privilege, masking, monitoring
ShareDLP, rights management, secure transfer, contracts
ArchiveRetention policy, immutable storage where required
DestroySecure deletion, cryptographic erasure, certificate of destruction
Notes and examples

Data Protection Methods

MethodBest fitWatch for
EncryptionConfidentiality of data at rest or in transitKey management is critical
TokenizationReplacing sensitive data with tokensToken vault becomes highly sensitive
MaskingReducing exposure in displays or testsMay not protect original source data
HashingIntegrity verification or password storagePasswords need salt and slow hashing
DLPDetecting or preventing sensitive data movementRequires tuning and classification
Rights managementPersistent usage controlMay affect usability and compatibility

Data Classification Decision Rule

If the question asks what to do first before applying data protection controls, the answer is often to identify, classify, and assign ownership. You cannot consistently protect data you have not inventoried or classified.

Threat Intelligence and Threat Hunting

Threat Intelligence Types

TypeDescription
StrategicExecutive-level trends and risk context
OperationalCampaigns, adversaries, motivations
TacticalTTPs mapped to attacker behavior
TechnicalIOCs such as IPs, hashes, domains

Intelligence Quality

Good intelligence is:

  • Relevant.
  • Timely.
  • Actionable.
  • Accurate.
  • Contextualized.
  • Mapped to controls or detection logic.

Threat Hunting Review

StepActivity
HypothesisDefine suspected attacker behavior
Data selectionChoose logs/telemetry needed
AnalysisQuery and investigate patterns
ValidationConfirm or reject hypothesis
ResponseEscalate, contain, or tune detections
ImprovementCreate detections and close visibility gaps

Trap

Indicators of compromise are useful but often expire quickly. For advanced defense, behavioral detections based on tactics, techniques, and procedures are usually more durable.

Vulnerability Management and Enterprise Assessment

Vulnerability Prioritization

Do not prioritize only by severity score. Consider:

  • Internet exposure.
  • Known exploitation.
  • Asset criticality.
  • Data sensitivity.
  • Compensating controls.
  • Exploit maturity.
  • Privilege required.
  • Attack path relevance.
  • Business impact.
  • Patch availability.
  • Maintenance windows.
  • Regulatory or contractual requirements.
Notes and examples

Assessment Types

AssessmentPurpose
Vulnerability scanIdentifies known weaknesses
Configuration auditCompares systems to baselines
Penetration testExploits vulnerabilities to prove impact
Red teamTests detection and response against realistic adversary behavior
Blue teamDefends, monitors, and responds
Purple teamCollaborative improvement between attack and defense
Tabletop exerciseValidates plans and decision-making
Security architecture reviewEvaluates design-level risk
Threat modelIdentifies design threats and mitigations
Attack path analysisFinds chained paths to critical assets

Remediation Choices

SituationBest response
Patch available, critical exposed systemPatch or mitigate urgently
Patch unavailableCompensating controls, segmentation, monitoring
Legacy system cannot be patchedIsolate, restrict, virtual patch, plan replacement
False positive suspectedValidate with evidence
Business outage riskPlan maintenance, test rollback, add temporary mitigations
Repeated misconfigurationAutomate baseline enforcement

Trap

A penetration test finding is not “fixed” when the report is delivered. Closure requires remediation, validation, tracking, ownership, and sometimes control redesign.

Enterprise Architecture Decision Rules

Control Selection Table

Scenario clueLikely best control
Excessive administrator privilegesPAM, JIT, access review
Lateral movement after phishingSegmentation, EDR, identity controls
SaaS shadow ITCASB, discovery, SaaS governance
Cloud misconfigurationsCSPM, policy as code, IaC scanning
Secrets in codeSecrets manager, scanning, rotation
API abuseAPI gateway, rate limiting, authorization checks
Sensitive data in test environmentsMasking, tokenization, synthetic data
Ransomware concernImmutable backups, EDR, segmentation, tested restore
Weak vendor securityThird-party risk assessment, contract controls, monitoring
Audit evidence gapsCentralized logging, control mapping, evidence automation
Legacy unsupported serverIsolation, compensating controls, migration plan
High false positivesDetection tuning, baselining, context enrichment
Need secure remote app accessZTNA or identity-aware proxy
Need branch security and cloud accessSASE/SSE depending on networking requirement
Need workload-to-workload restrictionMicrosegmentation
Need secure admin accessBastion host, PAM, session recording

Endpoint, Mobile, and Device Security

Endpoint Controls

ControlPurpose
EDRDetect and respond to endpoint threats
Application allowlistingRestrict execution to approved software
Host firewallLimit inbound/outbound host traffic
Disk encryptionProtect data if device is lost
Secure bootValidate boot integrity
TPMHardware-backed key protection
Patch managementReduce known vulnerabilities
MDM/UEMEnforce mobile and endpoint policy
DLPPrevent sensitive data leakage
Browser isolationReduce web-based compromise risk

BYOD and Mobile Traps

  • BYOD requires policy, user consent, containerization or app protection, and data wipe boundaries.
  • Full device wipe may be inappropriate for personally owned devices unless policy and consent allow it.
  • Jailbroken or rooted devices should fail posture checks.
  • Mobile MFA push fatigue attacks require stronger controls and user education.

Physical and Environmental Security

Physical Control Categories

TypeExamples
DeterrentFences, lighting, signage
PreventiveLocks, mantraps, guards, biometrics
DetectiveCameras, motion sensors, alarms
CorrectiveFire suppression, incident response
CompensatingAdditional monitoring when primary control is unavailable

Environmental Controls

  • Fire detection and suppression.
  • HVAC and humidity control.
  • UPS and generator power.
  • Water leak detection.
  • Cable management.
  • Secure equipment disposal.
  • Restricted data center access.

Trap

Biometrics identify people, but they can raise privacy, storage, and fallback concerns. Strong designs include liveness detection, secure template storage, and alternate access procedures.

Security Metrics and Reporting

Useful Metrics

MetricWhy it matters
Mean time to detectVisibility and detection effectiveness
Mean time to respondOperational response capability
Patch SLA complianceVulnerability management performance
Phishing report rateUser reporting culture
Control coverageWhether critical assets are protected
Backup restore successActual recoverability
Incident recurrenceRoot-cause remediation quality
Privileged account countAccess risk exposure
Logging coverageInvestigation readiness
Exception ageRisk acceptance discipline

Reporting Trap

Executives usually need risk, trend, impact, and decision support. Analysts need technical detail. Match the report to the audience.

Common SecurityX Candidate Traps

Technical Traps

  • Confusing encryption, hashing, encoding, and tokenization.
  • Treating authentication as authorization.
  • Choosing a VPN when the scenario requires per-application zero trust access.
  • Selecting IDS when prevention is required.
  • Selecting prevention when the scenario asks for visibility or evidence.
  • Ignoring key management in encryption scenarios.
  • Forgetting certificate lifecycle management.
  • Fixing symptoms instead of root causes.
  • Assuming cloud-native means secure by default.
  • Missing service accounts and machine identities.

Risk and Governance Traps

  • Treating every critical vulnerability score as the top business risk.
  • Ignoring asset criticality and exposure.
  • Accepting risk without formal approval.
  • Confusing policy, standard, procedure, and guideline.
  • Assuming compliance equals security.
  • Forgetting third-party monitoring after onboarding.
  • Choosing a control that violates stated business constraints.

Incident Response Traps

  • Destroying evidence too early.
  • Restoring systems before eradication.
  • Communicating outside the approved plan.
  • Skipping lessons learned.
  • Failing to document actions.
  • Ignoring time synchronization.
  • Not validating that recovery is clean.

Quick Tables for Last-Minute Review

Control Type Recognition

Control typePurposeExample
PreventiveStops event before it occursMFA, firewall, access control
DetectiveIdentifies eventIDS, SIEM alert, camera
CorrectiveRestores after eventPatch, restore backup
DeterrentDiscourages attackWarning banner, guard
CompensatingAlternative risk reductionExtra monitoring for unpatchable system
DirectiveGuides behaviorPolicy, standard
RecoveryRestores capabilityDR site, backup restoration
Notes and examples

Security Objective Recognition

ObjectivePrimary concern
ConfidentialityPrevent unauthorized disclosure
IntegrityPrevent unauthorized modification
AvailabilityEnsure reliable access
AuthenticityVerify identity/source
AccountabilityTrace actions to subjects
NonrepudiationPrevent denial of performed action
PrivacyProper handling of personal data
SafetyPrevent harm to people and physical systems

Architecture Pattern Recognition

PatternUse when…
Defense in depthNo single control is sufficient
Least privilegeAccess should be minimized
SegmentationBlast radius must be reduced
Zero trustNetwork location cannot be trusted
Secure by defaultBaseline should reduce misconfiguration
Fail secureFailure should not expose assets
ResilienceSystems must continue or recover
Separation of dutiesReduce fraud or abuse risk
Dual controlTwo parties required for sensitive action
AutomationManual process causes drift or inconsistency

Practice Strategy for CAS-005

Use this Cheat Sheet before IT Mastery practice, then let the questions expose weak areas.

  1. Run topic drills on one domain area at a time, such as IAM, cloud security, GRC, incident response, or application security.
  2. Review detailed explanations for both correct and incorrect answers.
  3. Write down decision rules you missed, not just definitions.
  4. Retake mixed sets to practice switching contexts quickly.
  5. Use mock exams only after you have strengthened weak topics.
  6. Review missed questions by root cause:
    • Did you misread the scenario?
    • Did you confuse two technologies?
    • Did you ignore a business constraint?
    • Did you pick a tool instead of a process?
    • Did you choose a control that was too narrow?

What to Look for in Original Practice Questions

Strong original practice questions for CompTIA SecurityX (CAS-005) should include:

  • Scenario-based architecture decisions.
  • Cloud and hybrid enterprise constraints.
  • Identity and privilege tradeoffs.
  • Security operations workflows.
  • Risk and compliance reasoning.
  • Detailed explanations that teach why distractors are wrong.
  • Topic drills for repeated weak areas.
  • Mock exams that mix concepts under time pressure.

Final Rapid Review Checklist

Before starting your next practice set, confirm you can explain:

  • The difference between authentication, authorization, and accounting.
  • When to choose RBAC, ABAC, conditional access, PAM, JIT, or JEA.
  • Why zero trust is an architecture, not a single product.
  • How cloud shared responsibility changes by service model.
  • How to prioritize vulnerabilities using exposure, exploitability, and business impact.
  • How RTO and RPO affect DR design.
  • Why immutable backups matter for ransomware resilience.
  • When to use SAST, DAST, SCA, fuzzing, and threat modeling.
  • How to protect APIs with scopes, token validation, authorization, and rate limits.
  • Why encryption depends on key management.
  • How to preserve evidence during incident response.
  • How governance artifacts differ: policy, standard, procedure, guideline, baseline.
  • How to match security metrics to the audience.

Put the review into practice

Browse Certification Practice Tests