Skip to content
Tech Interview Prep
Technical interview guide

Cloud Security Posture Management (CSPM)

Continuously scanning cloud environments for misconfigurations before they're exploited.

Minutes to read
3
Practice MCQs
25
Interview Q&A
25
Edition
v5
Editorial status
Reviewed

Scope: AWS Security Hub CSPM, Microsoft Defender for Cloud, Google Security Command Center, and NIST SP 800-137 guidance current 2026-09-01.

Overview

Curated: · Written: · Reviewed:

Cloud Security Posture Management (CSPM)

In one line

CSPM continuously reads cloud control-plane configuration through read-only APIs and evaluates it against policy benchmarks, so public storage, open network edges and disabled audit logs get found before anyone uses them. Reach for it when the question is whether the estate matches policy, not whether anything was exploited.

Key definitions

  • Control-plane configuration: declarative resource settings read through provider APIs. This is the only thing CSPM evaluates.
  • Connector: a cross-account read-only role or service principal the tool assumes to make those calls.
  • Coverage: the accounts, regions, resource types and ephemeral assets actually enrolled. A quiet dashboard is a hypothesis until coverage is proven.
  • Disposition: false positive, not applicable, mitigated or accepted risk. Each needs different evidence and a named owner.
  • Drift: live state that differs from the reviewed IaC baseline, including console edits.
  • Attack path: a chain of identity, resource and exposure hops from an entry point to a sensitive target.

Formulas and complexity

risk=misconfiguration×exposure×value\text{risk} = \text{misconfiguration} \times \text{exposure} \times \text{value}

Vendor severity is only the misconfiguration term. Use the formula to justify ordering findings by exposure path, data sensitivity and privileged reach.

How it works

The connector calls read-only APIs such as get-public-access-block, get-bucket-policy-status and describe-security-groups. Periodic sweeps run on a schedule, typically 1 to 24 hours. Change-triggered rules fire on CloudTrail API calls, so a bucket made public at 14:02 is flagged within minutes. A public-bucket check reads all four BlockPublicAccess settings and the policy status, because checking one setting misses a public policy. Controls map from benchmarks such as CIS, ISO 27001, SOC 2, PCI-DSS and HIPAA onto provider rules. Coverage and connector freshness get checked before any score is trusted.

yes no Read-only connector Periodic sweep CloudTrail change event Findings Exposed and sensitive? Owner, short SLA, quarantine Owner, normal queue Fix root cause in IaC

When to use and when not to

DecisionUse CSPM outputLook elsewhere
Is a bucket or security group misconfiguredYesNot needed
Was the misconfiguration exploitedNoAudit logs and incident response
Is a workload process behaving badlyNoCWPP tooling
Can an identity escalate privilegePartly, configuration onlyCIEM
Who read objects from a bucketNo, unless CloudTrail data events are enabledData events, which are off by default and billed per 100,000 events
Auto-fix a newly public bucketYes, quarantineDestructive IAM, network and key changes need a preview first

Traps interviewers probe

  1. Reading a clean dashboard as proof of safety. Fix: check coverage, connector last-scan time and the suppression list before trusting zero findings.
  2. Sorting by vendor severity. Fix: score by exposure, data and privileged reach. A HIGH on an empty sandbox bucket loses to a MEDIUM role with an external trust policy on production data.
  3. Blanket muting of a finding class. Fix: scope every suppression with a reason, approver, evidence and expiry. The 2019 Capital One breach ran SSRF through a misconfigured WAF into an over-privileged IAM role and out through an S3 bucket.
  4. Auto-fixing a load-bearing configuration at 02:00. Fix: quarantine public exposure fast, but preview dependencies, set concurrency limits and verify rollback for destructive changes.
  5. Closing the ticket instead of the cause. Fix: group findings by root cause, fix the Terraform module, and enforce the same rule in CI. Mark resolved only when the scanner confirms health.

Interview tips

Open with the boundary: CSPM evaluates declarative configuration through read-only APIs and does not show exploitation or runtime behaviour.

Expect these follow-ups: how you prioritize a backlog, how you catch console drift, how you prove coverage, which fixes should never be automatic, and how you handle an accepted risk.

30-second outline:

  1. One sentence definition with its boundary.
  2. Two concrete misconfigurations from different clouds.
  3. Ordering by exposure path and data sensitivity, not vendor severity.
  4. Fix the root cause in the IaC module and enforce it in CI.
  5. Name the metrics: coverage, overdue exposed risk, and recurrence.

Feedback on this overview

Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.