Security, Privacy and Compliance Risk Assessment Questions
Identifying, analyzing, prioritizing, and treating information-security, compliance, and privacy risk. Covers qualitative and quantitative assessment methodologies, including expected-loss models and sensitivity to assumptions, scoping a first assessment of a new application or data platform, asset identification and valuation, threat and vulnerability identification, likelihood and impact (and severity-of-harm) scoring, risk registers, risk appetite and tolerance, residual risk, and treatment decisions (accept, mitigate, transfer, avoid), including cyber insurance as risk transfer and formal risk acceptance. Includes privacy-specific assessments such as DPIAs and PIAs: when one is required, how to structure it, and how to weigh likelihood and severity of harm to individuals, plus dataset privacy risk scoring. Also covers turning technical findings into business risk, quantifying reputational impact, compliance risk in a new market, risk-based prioritization under budget limits, lightweight assessment gates in delivery, and ongoing risk monitoring. Emphasizes structured, repeatable methodology tied to business context. Service reliability and operational risk, disaster recovery, incident handling, vendor selection and third-party risk, technical attack analysis, presenting risk to executives, governance decision rights, compliance tooling, audit preparation, and vulnerability scanner triage are covered elsewhere.
When would you rely on a qualitative heat-map style risk rating and when would you insist on quantitative numbers? Use the risk of a large data breach at a SaaS company as your example, and tell me where each approach misleads.
Sample Answer
Short answer
Use a qualitative rating (a heat map: each risk gets a likelihood and an impact on an ordinal 1-5 scale (a ranking where 5 is worse than 4, with no promise that the gaps between steps are equal), and the product is coloured red/amber/green) to screen a long list quickly, when data is thin, and to decide what deserves a closer look. Insist on quantitative numbers (dollar ranges and an annualized loss, the expected dollars lost per year) when a spending, insurance or accept-or-transfer (keep the risk, or pass it to an insurer or supplier) decision depends on whether a risk is worth a given cost, or when several risks all land in the same red cell and you must order them.
Worked example: large data breach at a SaaS company
- Qualitative: likelihood 3 ("possible") x impact 5 ("severe") = 15, red. The scale behind that: likelihood 1 to 5 runs from "rare" to "almost certain", with 3 meaning roughly 5% to 20% a year; impact 5 means a loss of roughly $500k or more; red means a score of 15 or higher. Those anchors are illustrative.
- Quantitative: single loss expectancy (SLE, the cost of one event) of $500k to $4M, and annualized rate of occurrence (ARO, expected events per year) of 5% to 20%. Annualized loss expectancy (ALE) is SLE x ARO, so the range runs from 0.05 x $500k = $25,000 to 0.20 x $4M = $800,000. A single central figure, for example 0.10 x $1.5M = $150,000 (a rough central pick, not the arithmetic midpoint of the loss range, which would be $2.25M), is useful only if shown beside that range.
Where each approach misleads
| Approach | How it misleads |
|---|---|
| Heat map | Ordinal labels are not quantities, so multiplying them invents a number. 3 x 5 and 5 x 3 both score 15 yet describe a possible catastrophe (a 5% to 20% yearly chance of a $500k-plus loss) and a near-certain moderate loss. Undefined words like "likely" mean different things to different assessors. Two red cells can differ tenfold in dollars, and scores cannot be added up or compared with a control's cost. |
| Dollar model | The output looks like a measurement but rests on guessed inputs. A breach history of zero events says little about the true rate. Omitted loss categories (customer churn, legal, response labor) silently lower the total, and a single point value hides a 30x spread, as the $25k to $800k range above shows. |
How to use both
Score the whole register with defined qualitative scales (each level anchored to a probability band and a dollar band), then model only the top few risks in dollars, as ranges with stated assumptions and a confidence note. When the quantitative range straddles the cost of the control, say so: that is the honest answer, and it tells you which estimate to refine first.
You added several layers of technical controls in front of a critical customer database. How would you quantify the residual risk now, what data would you need to estimate how much those controls actually reduced it, and how would you present the uncertainty to the board?
Sample Answer
Short answer. Residual risk (what is left after controls) is estimated as the chance the controls fail times what a failure costs. The honest evidence for the first part is test data on how often attacks still got through, not a count of layers. With little data, I report a range from a statistical model, not a point.
Method (FAIR style). FAIR (Factor Analysis of Information Risk) splits risk into how often a loss event happens and how large it is. Loss event frequency = targeted attempts per year x probability an attempt succeeds. Controls act on that probability. The loss size per event is estimated separately.
What data I need to know what the controls really did
- Control-effectiveness tests: run the same set of attack-path simulations (scripted attempts to reach the database by each realistic route, such as red-team exercises where internal or hired testers act as attackers) before and after the controls (here 20 paths: 14 succeeded before, 3 after).
- Detection and response timings from those exercises: how long monitoring took to notice the attacker and how long to cut off access.
- Logs and incident history for attempts per year.
- Loss-size inputs: record counts, past incident costs, benchmark sources such as the Verizon DBIR (Data Breach Investigations Report) and IBM's Cost of a Data Breach report, and insurer claims data.
| Control layer | What it reduces | Evidence |
|---|---|---|
| network segmentation and web application firewall | exposure of the database to attack paths | path tests, rule review |
| strong authentication on database access | credential-based access | access tests, review of accounts |
| activity monitoring | time to detect misuse | detection tests |
Layers are not independent. Three layers each stopping 70% would leave 0.3 x 0.3 x 0.3 = 2.7% if they failed independently. The tests show 15%, because layers share failure modes (for example stolen valid credentials bypass the network layers). The bases differ slightly: 2.7% assumes all attempts start from the layers, whereas the tests began from the 70% that already got through before the new controls, so independent layers would give about 0.7 x 0.027 = 1.9%. Either way the measured 15% is far worse than independence predicts. Use the measured rate, not the multiplied one.
Sparse data handled honestly. Twenty tests is a small sample, so I use a Beta distribution to carry the uncertainty into the loss estimate. In plain terms, it gives a spread of plausible success rates instead of one: starting from no opinion (a uniform prior, every rate equally likely), 3 successes in 20 gives a spread centred near 0.18 (not 0.15) with a 90% range of roughly 0.07 to 0.33, and 14 in 20 gives a centre near 0.68 and a range of roughly 0.51 to 0.83. Each round draws a success rate for the before state and one for the after state from those spreads, then one loss size from a triangular range (low, most likely, high) that both states share (the same event costs the same either way), and multiplies each by attempts per year; repeating 100,000 times produces the P5, median and P95 (the 5th percentile, middle and 95th percentile of the results). Attempts per year (0.3) and loss size (triangular $1M to $15M, mode $4M) are illustrative assumptions.
import random
random.seed(11)
N = 100_000
# Evidence: the same 20 attack-path simulations run before and after the new controls
before_success, before_n = 14, 20
after_success, after_n = 3, 20
ATTEMPTS_PER_YEAR = 0.3 # illustrative: serious targeted attempts per year
MAG = (1_000_000, 4_000_000, 15_000_000) # illustrative loss per event: low, mode, high
before, after, p_lower = [], [], 0
for _ in range(N):
pb = random.betavariate(1 + before_success, 1 + before_n - before_success) # uniform prior
pa = random.betavariate(1 + after_success, 1 + after_n - after_success)
loss = random.triangular(MAG[0], MAG[2], MAG[1]) # one loss size, shared by both states
before.append(ATTEMPTS_PER_YEAR * pb * loss)
after.append(ATTEMPTS_PER_YEAR * pa * loss)
p_lower += pa < pb
before.sort(); after.sort()
def show(label, s):
q = lambda x: s[int(x * N)] / 1e6
print(f"{label}: P5 ${q(.05):.2f}M median ${q(.5):.2f}M P95 ${q(.95):.2f}M")
show("annual loss BEFORE controls", before)
show("annual loss AFTER controls ", after)
print(f"chance the after success rate is lower than before: {p_lower / N:.4f}")
print(f"point estimate P(success): before {before_success/before_n:.2f}, after {after_success/after_n:.2f}")
print(f"three layers each stopping 70%, if independent: residual {0.3**3:.3f}")
print(f"observed after-controls success rate: {after_success/after_n:.2f} (layers share failure modes, e.g. stolen valid credentials)")
Output:
annual loss BEFORE controls: P5 $0.48M median $1.26M P95 $2.58M
annual loss AFTER controls : P5 $0.09M median $0.31M P95 $0.83M
chance the after success rate is lower than before: 0.9998
point estimate P(success): before 0.70, after 0.15
three layers each stopping 70%, if independent: residual 0.027
observed after-controls success rate: 0.15 (layers share failure modes, e.g. stolen valid credentials)
Presenting uncertainty to the board. Show the range: modeled annual loss falls from a median of $1.26M (P5 to P95, the 5th and 95th percentiles: $0.48M to $2.58M) to $0.31M ($0.09M to $0.83M). The chance that the after-state success rate is truly lower is above 99.9% (0.9998 here): in each of the 100,000 rounds the after draw is compared with the before draw, and the loss size is shared so that the unknown size of an event does not blur the comparison. The spread in the dollar figures, not doubt that the controls helped, is the uncertainty to show. Say what is measured (the test results) versus assumed (attempt frequency, loss size), and note that the tests were designed by the defenders, which biases the result favorably.
Three metrics for the budget request
- Modeled annual loss for this database with its range.
- Share of tested attack paths that reached the data, with the number of tests (3 of 20).
- Median time to detect and revoke access in the exercises.
For residual compliance risk, add the count of open control gaps against the requirements that apply to this database.
Pitfall. Presenting 0.15 as if it were precise, or crediting each layer separately.
A breach would expose a dataset of 10M users: emails, hashed passwords, and purchase history. Build a quantitative estimate of the annual financial exposure, state your key assumptions, and show which ones the answer is most sensitive to.
Sample Answer
Short answer. Model the exposure bottom-up as (chance of a breach per year) x (loss per breach), build the loss from named cost components with ranges, run it as a Monte Carlo simulation (repeatedly draw a random value for each assumption from its range, recompute the loss, and read the spread of results), and report the result as a range with a ranked list of the assumptions that move it. Every figure below is an illustrative assumption, not a benchmark.
Scoping the data. Emails plus purchase history are personal data. Hashed passwords are not plaintext, but how bad they are depends on the hash: slow, salted hashes (bcrypt, Argon2; a salt is random data added per password so identical passwords hash differently) resist cracking; fast unsalted ones do not. I assume a strong hash, so the cost is forced resets (making every user choose a new password) and support, not mass account takeover. No payment card data is included, so no card-brand costs.
Cost components per breach
- Direct: forensics and legal, user notification, forced password reset and support contacts, regulatory fine (with a chance it happens at all), and litigation (also a chance).
- Indirect: customers lost (churn, meaning users who leave) times yearly contribution margin per customer (the revenue left after the direct cost of serving them).
Fines: under GDPR (the EU General Data Protection Regulation), security-of-processing failures sit in the lower fine tier of Art. 83(4), up to EUR 10M or 2% of worldwide annual turnover, whichever is higher. The 4% / EUR 20M tier of Art. 83(5) covers other infringements, such as breaches of core principles and data subject rights. These are caps, not expectations, and counsel decides which applies. The model treats a fine as a probability times a size range. The tail of the distribution means the rare, very large outcomes (the P90 end), which a single average would hide.
Each assumption is a range written (low, mode, high), where the mode is the most likely value, a triangular distribution. Its mean is (low + mode + high) / 3, which is how the code gets one "average" value per assumption. The code does three things: it computes the loss per breach from the mean of every assumption; it swings one assumption at a time from its low to its high with the rest held at their means, to show which assumption moves the answer most (a one-at-a-time sensitivity test); and it runs the Monte Carlo simulation to get the spread.
import random
random.seed(7)
USERS = 10_000_000
P_BREACH = 0.04 # illustrative annual probability
# (low, mode, high) per-event assumptions, all illustrative
A = {
"forensics_legal_usd": (300_000, 600_000, 1_500_000),
"cost_per_user_usd": (0.10, 0.30, 0.80), # notice, forced reset, support
"churn_fraction": (0.005, 0.015, 0.04), # users lost
"margin_per_user_usd": (10, 25, 40), # yearly contribution margin
"p_fine": (0.1, 0.3, 0.6),
"fine_usd": (500_000, 2_000_000, 10_000_000),
"p_suit": (0.2, 0.4, 0.7),
"suit_usd": (500_000, 3_000_000, 15_000_000),
}
def mean3(t): return sum(t) / 3 # mean of a triangular distribution
def loss(v):
return (v["forensics_legal_usd"] + USERS * v["cost_per_user_usd"]
+ USERS * v["churn_fraction"] * v["margin_per_user_usd"]
+ v["p_fine"] * v["fine_usd"] + v["p_suit"] * v["suit_usd"])
base = {k: mean3(t) for k, t in A.items()}
print("expected loss per breach (means): $%.2fM" % (loss(base) / 1e6))
print("annual exposure at 4%%: $%.2fM" % (P_BREACH * loss(base) / 1e6))
# Sensitivity: swing one assumption from low to high, others at mean
print("\nOne-at-a-time swing in loss per breach ($M):")
rows = []
for k, (lo, mo, hi) in A.items():
a = dict(base); a[k] = lo; b = dict(base); b[k] = hi
rows.append((loss(b) - loss(a), k, loss(a) / 1e6, loss(b) / 1e6))
for sw, k, l, h in sorted(rows, reverse=True):
print(f"{k:22s} {l:6.2f} -> {h:6.2f} swing {sw/1e6:5.2f}")
# Monte Carlo: p_fine / p_suit are chances, so draw an event for each
N = 100_000
sims = []
for _ in range(N):
d = {k: random.triangular(lo, hi, mo) for k, (lo, mo, hi) in A.items()}
fine = d["fine_usd"] if random.random() < d["p_fine"] else 0
suit = d["suit_usd"] if random.random() < d["p_suit"] else 0
sims.append(d["forensics_legal_usd"] + USERS * d["cost_per_user_usd"]
+ USERS * d["churn_fraction"] * d["margin_per_user_usd"] + fine + suit)
sims.sort()
q = lambda p: sims[int(p * N)]
print("\nMonte Carlo loss per breach ($M): P10 %.2f P50 %.2f P90 %.2f mean %.2f"
% (q(.1)/1e6, q(.5)/1e6, q(.9)/1e6, sum(sims)/N/1e6))
for p in (0.01, 0.04, 0.08):
print("annual exposure at breach probability %.0f%%: mean $%.2fM" % (p*100, p*sum(sims)/N/1e6))
Output:
expected loss per breach (means): $13.86M
annual exposure at 4%: $0.55M
One-at-a-time swing in loss per breach ($M):
churn_fraction 10.11 -> 18.86 swing 8.75
cost_per_user_usd 10.86 -> 17.86 swing 7.00
suit_usd 11.41 -> 17.69 swing 6.28
margin_per_user_usd 10.86 -> 16.86 swing 6.00
fine_usd 12.64 -> 15.81 swing 3.17
p_suit 12.42 -> 15.51 swing 3.08
p_fine 12.89 -> 14.97 swing 2.08
forensics_legal_usd 13.36 -> 14.56 swing 1.20
Monte Carlo loss per breach ($M): P10 7.78 P50 13.09 P90 21.00 mean 13.83
annual exposure at breach probability 1%: mean $0.14M
annual exposure at breach probability 4%: mean $0.55M
annual exposure at breach probability 8%: mean $1.11M
Reading the results
- Expected loss per breach is about $13.9M (13.86 from the means, 13.83 simulated), with a P10 to P90 range (the 10th and 90th percentiles of the simulated outcomes) of $7.8M to $21.0M.
- At a 4% annual breach probability, the exposure is about $0.55M a year.
- Most sensitive assumptions: the breach probability (1% to 8% moves exposure from $0.14M to $1.11M, an 8x range) matters more than any single loss assumption once both are on the same annual basis. The loss swings in the table are per breach, so at a 4% probability multiply them by 0.04: churn $8.75M becomes about $0.35M a year, cost per user $7.0M becomes $0.28M, forensics $1.2M becomes about $0.05M, against about $0.97M a year for the probability swing. Among loss assumptions, churn (swing $8.75M per breach) and cost per user (swing $7.0M) lead; the forensics cost matters least (swing $1.2M).
Model inversion as a niche add-on. If the purchase history trained a recommender, an attacker with model access might extract or confirm records (membership inference or model inversion). I would add it as a separate low-probability scenario, not in the base estimate.
Direct versus indirect, and what to do with it. Direct costs are fairly knowable from past incidents; indirect costs are the least certain, so show them separately. Take the probability from your own control tests, incident history and industry data sources such as the Verizon DBIR (Data Breach Investigations Report), rather than assertion. Present the P10, P50 and P90, and the three assumptions to firm up first: breach probability, churn and per-user cost.
You are asked to security-assess a new internal application next week. What is the minimum you need to learn first, and how do you decide where to spend your limited time?
Sample Answer
Direct answer. With one week I would learn six things first: what the application does and who uses it, what data it handles, how it is exposed, how it authenticates and authorizes, what it depends on, and what controls and past findings already exist. Then I would spend most of the time where a failure would hurt most and where a quick test is most likely to find something, instead of trying to cover everything.
The minimum to learn (about a day)
- Purpose and users: who uses it (employees, contractors, admins), and what business process depends on it.
- Data: what it stores or touches, especially personal, financial or credentials. Sensitive data raises the stakes.
- Exposure: internal only, behind VPN, or reachable from the internet? Which networks and which other systems connect.
- Authentication and authorization: single sign-on or local accounts, roles, and whether users can reach each other's data.
- Architecture and dependencies: components, hosting, third-party libraries and services, where secrets are kept.
- Existing assurance: earlier reviews, scan results, logs and monitoring, owner, and when it must go live.
Deciding where to spend the time
Rank areas by impact (how bad if it fails) and exposure (how easy to reach). Illustrative 40-hour plan for an internal app holding employee data:
| Activity | Hours |
|---|---|
| Scoping and interviews | 6 |
| Threat modelling (listing what could go wrong at each data flow) | 6 |
| Authentication and access control testing | 10 |
| Data handling: storage, encryption, logging | 6 |
| Dependency and configuration scan, triage of results | 6 |
| Write-up and walkthrough with the team | 6 |
| Total | 40 |
Access control gets the largest share because broken authorization is both common in internal apps and high impact. If the app turned out to be internet-facing or to hold payment data, I would move hours from the scan toward testing the exposed surface.
A small scoring rubric
Score each finding likelihood 1-3 x impact 1-3. A score of 6 or 9 blocks release until fixed or formally accepted; 3 or 4 is fixed within an agreed window; 1 or 2 is logged. Acceptance criteria for go-live: no blocking findings open, an owner named, logging in place and a re-test for every fixed blocker.
Report what you did not cover. State plainly what was out of scope so nobody reads "no findings" as "secure".
Pitfall. Running a scanner first and reporting its output unfiltered, without knowing which findings matter for this app.
You have budget for only a few initiatives next half, against a backlog of vulnerabilities, architecture debt, and compliance gaps that all feel urgent. How do you build a repeatable way to choose what to fund, what inputs and scoring would you use, and how do you handle a gap the auditors care about that scores low on risk?
Sample Answer
Direct answer
Build one scoring method that every candidate initiative passes through: estimate how much residual risk each removes, divide by cost, rank, and fund down the list until the budget runs out. Handle compliance with a floor for legal and contractual obligations and a minimum-scope rule for auditor-driven gaps, rather than by letting urgency decide.
Inputs and scoring
For each item: exposure (internet-facing? what data class?), exploitability (known to be exploited?), size of the control gap, compliance obligation (legal, contractual, or auditor preference), cost in person-weeks, and dependencies. Priority = risk reduction (in register-score points, illustrative) divided by cost.
Risk reduction is the register score before the work minus the score after, where score = likelihood x impact, each rated 1 to 5. For item B: an attacker taking over an admin console without MFA is likelihood 4 x impact 4 = 16 today and likelihood 1 x impact 4 = 4 once MFA is enforced, so the reduction is 16 - 4 = 12. For item D: a logging gap scored 2 x 2 = 4 drops to 3 with minimum-scope logging (a 1 x 3), so the reduction is 1.
Worked example: 34 person-weeks of budget
| Item | Risk reduction | Cost (pw) | Ratio |
|---|---|---|---|
| B: MFA on cloud admin consoles | 12 | 4 | 3.00 |
| A: Replace unpatched internet-facing VPN | 12 | 6 | 2.00 |
| F: Dependency vulnerability backlog | 7 | 10 | 0.70 |
| E: Privacy deletion gap (personal data not erased on request) in 3 data stores | 8 | 12 | 0.67 |
| D: Auditor-flagged logging gap, minimum scope | 1 | 2 | 0.50 |
| C: Segment the flat network (architecture debt) | 9 | 30 | 0.30 |
| G: Insider-threat monitoring | 4 | 20 | 0.20 |
Funding in order: B 4, A 10, F 20, E 32, D 34. That uses exactly 34 pw and removes 12 + 12 + 7 + 8 + 1 = 40 points. C (cost 30) and G (cost 20) no longer fit and wait for next half. Total backlog is 84 pw, so most of it waits.
The gap auditors care about but that scores low
Split it. If it breaks a law or contract, it goes above the line regardless of score. If it is an auditor expectation, ask what evidence satisfies them, since the cheapest sufficient scope (item D above, 2 pw) is usually far below a full rollout. If even that does not fit, record a formal risk acceptance with a date and tell the auditor in advance. Also add any commercial effect, such as a customer who requires the certification, to the impact side.
Privacy work triage
Rate each privacy finding by severity of harm to individuals, and set remediation targets by tier (illustrative: critical plan within 7 days, high 30, medium 90, low reviewed quarterly). Fixed legal deadlines, such as response times for data-subject requests (when a person asks to see or delete the data held about them), are outside the scoring.
Pitfalls
Scoring that favors the loudest team, ignoring dependencies, and rescoring only once a year. Re-run the list each quarter and after any incident.
Unlock Full Question Bank
Get access to all 30 Security, Privacy and Compliance Risk Assessment interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.