B Y T E B A R

Study Hub / CompTIA Cloud+ (CV0-004) / Domain 4.0

CompTIA Cloud+ (CV0-004) Domain 4.0: Security — Explained

Domain 4.0 is security in the cloud: identity as the perimeter, encryption everywhere it matters, network controls, and the compliance frameworks that decide what "secure enough" means. The shared-responsibility model underpins all of it.

Exam weight: 19% · Free study preview from ByteBar

Identity: the new perimeter

Encryption and data protection

Identity decides WHO. Encryption protects WHAT. Network controls limit WHERE traffic flows. Classification decides HOW MUCH protection each dataset gets.

Network security and compliance

The must-memorize table: cloud security controls

Which control for which threat.

ControlProtects againstLayer
MFAStolen/phished credentialsIdentity
Encryption at restStolen disks, breached storageData
TLSEavesdropping, MITMData in transit
Security groupsUnwanted instance trafficNetwork (stateful)
WAFApp-layer attacks (SQLi, XSS)Edge/application
Cloud audit logsUndetected malicious admin actionsDetective

Try it: 4 sample questions

Sample questions to check your understanding of this domain. Answers and full reasoning are tucked under each one.

1. A company's developers share one IAM user with admin rights "for simplicity." What are the two core violations?

  1. A. A. None — sharing reduces license costs
  2. B. B. No individual accountability and massive violation of least privilege — use individual identities with scoped roles
  3. C. C. IAM users can't have admin rights
  4. D. D. Developers shouldn't use the cloud
Show answer & reasoning

B. Shared credentials destroy accountability (whose key did the damage?) and admin-for-everyone destroys least privilege (every compromised dev laptop = full environment). Individual identities + roles + MFA is the baseline to aim for. "Simplicity" here is shared liability.

2. Regulated health data must be encrypted with keys the company fully controls and can revoke, not provider-managed keys. What is required?

  1. A. A. TLS — that's sufficient
  2. B. B. Customer-managed keys (BYOK) via KMS/HSM, with rotation and revocation under company control
  3. C. C. Security groups
  4. D. D. A longer password policy
Show answer & reasoning

B. BYOK moves key control to the customer: the company generates, rotates, and can revoke keys independently of the provider — the compliance requirement behind "we control our encryption." TLS (A) protects transit, not storage; network controls (C) are a different layer entirely.

3. A database in a private subnet must be reachable by app servers but never directly from the internet. Which design enforces this?

  1. A. A. Put the database in a public subnet with a strong password
  2. B. B. Private subnet with no internet route + security groups allowing only app-tier traffic
  3. C. C. Encrypt the database and put it anywhere
  4. D. D. Use a public IP but block ping
Show answer & reasoning

B. Layered: the subnet has no internet path (architectural impossibility of direct access) and security groups permit only the app tier (least privilege at the instance level). Encryption (C) protects data, not access; a public subnet with a password (A) is one guess away from exposure.

4. After a suspected compromise of an admin account, which detective control shows exactly what the account did?

  1. A. A. The billing dashboard
  2. B. B. Cloud audit logs — the immutable record of every API call (who, what, when)
  3. C. C. The load balancer metrics
  4. D. D. DNS query logs only
Show answer & reasoning

B. CloudTrail-style audit logs record every API action with identity and timestamp — the authoritative timeline for "what did this account touch?" Billing (A) shows cost, not actions; DNS (D) shows lookups, not control-plane changes. First move in a cloud IR: pull the audit trail.

This was one domain. The simulator drills all 6.

This free preview covered Security (Domain 4.0, 19%). Not covered here: Operations (Domain 3.0, 17%); Troubleshooting (Domain 6.0, 12%). Cloud operations and scenario troubleshooting stay in the paid guide and practice bank. The ByteBar Practice Exam Simulator drills every domain with 1,000 exam-style questions — $9.99 one-time unlocks all 28 exams. Prefer to read? The full Cloud+ Study Guide is in the ByteBar shop on Etsy.

Practice Exam Simulator — $9.99 one-time, all 28 exams Full Study Guides on Etsy