Cloud Security Compliance & Troubleshooting

Security Compliance & Troubleshooting // Cloud+ Field Notes
CompTIA Cloud+ · Objective 4.4 & Troubleshooting · Compliance & Security

10
Security Compliance & Troubleshooting

Where data lives decides which laws govern it. Encryption, hardening, and access control decide whether it's protected. This field guide walks the compliance landscape, then the diagnostic checklist for when it breaks.

8 Parts 42 Exam Keywords 3 Interactive Tools Read time ~17 min
audit-summary.log

$ compliance --check pci-dss soc2 iso27001

# cross-referencing data residency, encryption, access logs

✓ least privilege enforced · ✓ TLS 1.3 · ✓ MFA required

$

01

Compliance & Data Privacy

Four terms — residency, sovereignty, localization, locality — get used almost interchangeably, but the exam draws real lines between them.

Data Residency
Data Sovereignty
Data Localization
Data Locality

General legal concerns for cloud data

  • Business/personal data loss or exposure · HR information exposure · Breach liability · Intellectual property · HIPAA-style privacy · Tax considerations · Cross-border concerns
Data ownership — the data owner is accountable and responsible; the data steward handles day-to-day administration. Different roles, often confused on the exam.
02

Data Classification & Retention

Classifying data determines how it's protected; retention policy determines how long you're required to keep — or destroy — it.

Microsoft's classification levels

  • Non-business
  • Public
  • General
  • Confidential
  • Highly Confidential

In the shared responsibility model, data classification is the customer's job — the CSP doesn't know what your data contains. Amazon Macie and Azure Information Protection are two CSP tools that help.

Three types of holds

Hold typeTriggered by
Legal holdAnticipated litigation — freezes data as evidence, prevents deletion/modification
Contractual holdPartner/vendor agreements requiring retention
Regulatory holdIndustry regulation (banking, medical) — may set both minimum and maximum retention
03

Industry Standards

Four names come up constantly: SOC2, PCI DSS, ISO 27000, and the Cloud Security Alliance.

StandardFocus
SOC2Privacy, security, availability, processing integrity, confidentiality — for vendors handling your data
SOC3Public-facing summary of SOC2 — used by CSPs to reassure customers
PCI DSSSecure handling of credit/debit card transactions
ISO 27001Information security management system (ISMS); defines the CIA Triad
ISO 2701737 recommendations specifically for cloud security
ISO 27018Protection of personally identifiable information (PII) in the cloud
CSA / CCMCloud Controls Matrix — assessing and auditing cloud deployments
CIA Triad — Confidentiality, Integrity, Availability. The three pillars ISO 27001 is built around, and the lens most exam scenarios get filtered through.
04

Access Control Fundamentals

Least privilege underpins everything else in this module — zero trust just applies it continuously, everywhere.

Zero trust components

  • Granular access controls — microsegmentation, policy-driven
  • Continuous authentication — verified per request, not just at sign-on
  • Zero implicit trust — no device is trusted by default, internal or not
  • Dynamic security — automatic response to deviations
Zero trust needAWS example
Network path securityElastic IP, WAF
MonitoringCloudTrail, CloudWatch, Inspector, GuardDuty
EncryptionKey Management Service

Azure's zero trust core is Conditional Access — the policy engine that enforces access rules against users, data, and applications.

05

Hardening & Benchmarks

Hardening in one line: remove what you don't need, and keep the most current version of what's left.

OS hardening steps

  • Maintain security baselines · Automate configuration management · Change default accounts · Change default settings · Patch regularly · Control remote access (SSH/RDP) · Review logs · Maintain antivirus · Back up data

CIS Benchmark levels

LevelWhat it means
Level 1Baseline configurations, immediate returns
Level 2Additional layered settings — may affect performance

Patch types

TypeNotes
PatchScheduled, predictable release cadence
HotfixUrgent, unscheduled, targets a specific bug
Virtual patchApplied at the WAF, not the app code — often temporary
RollupMultiple patches bundled for fast new-VM deployment
Default accounts — Windows Administrator/Guest, Linux root. Disable or rename them — they're the first thing an attacker tries, and the first thing an auditor checks.
06

Encryption

Encryption isn't just confidentiality — it also proves integrity and non-repudiation.

Symmetric
Asymmetric

Three goals of encryption

  • Confidentiality — only key holders can read it
  • Integrity — hashing detects unexpected changes
  • Non-repudiation — digital signatures confirm the sender

Data at rest

TypeExamples
Drive encryptionLUKS (Linux), BitLocker (Windows)
File encryptiongzip, Windows EFS
Deprecated ciphers — TLS 1.0, TLS 1.1, SSL 2.0, and SSL 3.0 should all be phased out. Use TLS 1.2 or TLS 1.3 only.
07

API, Container & Storage Security

Three more surfaces where least privilege has to show up in practice, not just policy.

API gateway responsibilities

  • Authenticate connections · Control traffic · Rate limiting/throttling · Log and monitor usage

Privileged vs. unprivileged containers

PrivilegedUnprivileged
Runs asRootNon-root, mapped to a non-root host account
If it escapesFull host accessContained, reduced attack surface
Recommended?Avoid unless absolutely necessaryDefault for modern workloads

File vs. object storage — shared best practices

  • Encrypt data at rest, manage keys carefully
  • Test for integrity
  • Least-privilege access controls via IAM
  • Versioning for rollback
  • Cross-region replication for durability
08

Troubleshooting Security Issues

Most security tickets trace back to authentication, authorization, or an unencrypted path somewhere. Try a symptom below.

symptom — click to diagnose

Authorization vs. authentication — quick test

AuthenticationAuthorization
QuestionWho are you?What can you do?
Fails asCan't log in at allLogs in, but can't reach a resource
Security groups vs. network ACLs — security groups protect specific instances; network ACLs protect entire subnets. If one instance can't be reached, check its security group first.

Exam Keyword Flashcards

Tap a card to flip it.

Quick Self-Check

Four questions pulled straight from the module.

Score: 0 / 0
Module 10 · Security Compliance and Troubleshooting CompTIA Cloud+ Objective 4.4