Internal Controls Design and Effectiveness Testing Questions
How to design controls and prove they work. Covers control objectives, preventive vs detective vs corrective vs compensating controls and what makes a compensating control legitimate, building and maintaining a control matrix that maps controls to risks, owners and requirements, control ownership and segregation of duties, the COSO internal control framework, entity-level vs process-level controls, the three lines of defence, design-effectiveness vs operating-effectiveness testing, choosing test methods, test cadence and re-tests, sampling and interpreting exceptions, control self-assessment, judging whether controls are improving or decaying over time, evaluating control deficiencies and their severity, reliance on IT general controls, retiring, consolidating or automating controls without losing coverage, control changes in a cloud migration, and corrective and preventive action when a control fails. Applies to security, IT and compliance controls, including the IT general controls that support financial reporting, at the level of the control discipline itself. Excludes finance-process controls (payables, reconciliations, month-end close), the technical mechanics of any one security tool or attack technique, the content of specific certification frameworks, audit logistics and evidence handling, and compliance tooling and automation.
You are asked to prove the patching control works across 2,000 servers. Lay out a test plan: what you sample, what counts as a pass, and what result would make you call the control ineffective.
Sample Answer
Direct answer. I would test the patching control in four steps: confirm the population is complete, test the whole population by analytics, reperform a statistical sample against independent evidence, and set the pass rule in advance. Illustrative policy being tested: critical patches installed within 14 days of release, or an approved, unexpired exception.
Terms used below. The population is the full list of 2,000 servers. A deviation is a sampled server that breaks the rule (a critical patch not installed within 14 days and no approved, unexpired exception). Reperformance means redoing the check yourself from raw evidence instead of trusting a report. Crown jewels are the systems whose compromise would hurt the business most.
1. Population completeness. Reconcile the 2,000 against the CMDB (configuration management database, the official list of servers), cloud account inventory and a network scan. A server missing from inventory is never patched, so unknown servers are a design finding.
2. Whole-population analytics. Use scanner data on all 2,000 servers to measure how many have critical patches past due without an exception. Add 100% review of the highest-risk servers (for example internet-facing or crown jewels, say 100 of the 2,000).
3. Sample for reperformance. Scanner reports can be wrong (agents offline, stale data), so I test a sample directly. I choose two risk thresholds in advance: the highest deviation rate I will tolerate (10%, a judgment about how much non-compliance the business can live with) and the confidence I want (95%). The question the sample answers is: if the control were really that bad, would a clean sample be likely? Suppose exactly 10% of the 2,000 (200 servers) deviate. Drawing servers one at a time without replacement (the hypergeometric distribution, the exact method for a finite list), the chance the first server is clean is 1800/2000, the second 1799/1999, and so on. Multiplying 29 of these fractions, (1800/2000) x (1799/1999) x ... x (1772/1972), gives 4.60% (computed). Since 4.6% is under 5% (1 minus 95%), seeing zero deviations in 29 would be unlikely if the true rate were 10% or worse, so I can say with at least 95% confidence the rate is below 10%. With 28 servers the chance is 5.12%, just above 5%, so 29 is the smallest sample that works. For each server: check package history or OS patch logs, not just the scan, and confirm date versus the 14-day rule.
4. Pass and fail rules
| Result | Conclusion |
|---|---|
| 0 deviations in 29 | Effective: deviation rate under 10% at 95% confidence |
| 1 deviation in 29 | Extend the sample to 46 servers in total (17 more, drawn the same way). The same arithmetic adds the chance of exactly one deviation: if 10% of servers deviate, P(0 in 46) = 0.74% and P(exactly 1 in 46) = 3.88%, together 4.62%, under 5%. So a single fixed sample of 46 with 1 or fewer deviations meets the 95% rule, and 46 is the smallest fixed sample where that holds (at 45 the total is 5.06%). The staged plan is slightly weaker: it passes on 0 in 29, or on 1 in 29 followed by 0 in the 17 extra, and if 10% of servers truly deviate that happens with probability 4.60% + 2.45% = 7.05% (computed), about 93% confidence rather than 95%. To keep 95% for the staged plan, extend to 63 servers in total (false-accept 4.995%), or state the 93% openly |
| 2 or more deviations in 29, or 2 or more in the extended 46 | Ineffective for this period: cannot support the 10% bound |
| Any crown-jewel server past SLA with no exception | Deficiency regardless of the sample |
| Servers found outside inventory | Design deficiency |
A "pass" at 29 means "likely under 10% deviation", not "no deviations".
Continuous monitoring and retest. After a failure, retest on a fresh sample once a full patch cycle has passed. Between tests, track weekly the percent past SLA from the scanner and alert when it rises above the threshold.
Evidence trail. Save scanner exports, queries and sample evidence in a write-once store (storage that cannot be edited or deleted after saving) with timestamps, the tester's name and a file hash (a fingerprint such as SHA-256 that changes if the file is altered) so results can be reproduced for an auditor or regulator.
Pitfall. Testing only the scanner's report: that proves the scanner, not the patching.
What makes a compensating control legitimate rather than just a workaround, and what would an assessor need to see before accepting one in place of the required control? Give an example.
Sample Answer
Direct answer. A compensating control is a substitute control used when a real constraint stops you meeting a requirement as written. It is legitimate when that constraint is genuine and documented (technical or business, not mere cost or convenience), and the substitute provides at least equivalent protection against the same risk, is documented and owned, and is tested over time. A workaround skips that analysis: it is convenient, undocumented and never reviewed.
What makes it legitimate (and what an assessor needs to see)
- A real, documented constraint: a technical or business limit, not cost or inconvenience alone.
- Meets the intent of the original and gives a similar level of defence against the same risk (PCI DSS, the Payment Card Industry Data Security Standard that governs organisations handling card payments, states this in its Appendix B on compensating controls).
- Above and beyond other requirements: meeting other requirements anyway does not count as compensation.
- Addresses the extra risk created by not meeting the requirement as written.
- Documented residual risk (the exposure left after the substitute), an owner, and approval.
- An expiry or review date and ongoing tests to show it keeps working.
- Not retroactive: it cannot cover a task that should have been done and was not; it is a planned substitute in place before the assessment, not a way to excuse a past miss.
Example. A fleet of legacy handheld scanners cannot support encryption of data stored on the device (the requirement: protect data at rest, meaning data sitting in storage rather than moving across a network). Compensating controls: the app is reconfigured so no sensitive data is kept on the device (only a token, a meaningless stand-in value that maps to the real card number held in a secure system elsewhere), devices are on an isolated network that reaches one server, locked in a cabinet outside use, and enrolled for remote wipe (the ability to erase a lost device's contents over the network). The assessor (the qualified reviewer who decides whether the substitute is accepted) gets the constraint statement, the risk analysis, test evidence (a check that no data is left after use), owner and a review date tied to the device replacement plan.
Workaround, by contrast: "we turned off the check because the old device could not do it" with no replacement control, owner or date.
Pitfall. Using compensating controls to avoid fixing the underlying system forever.
A key security control failed during a real incident and the board asks why stronger controls were not in place. How would you determine whether the control failed in design or in operation, what evidence would you gather, how would you document the earlier decision to accept that level of control, and what corrective actions and ownership changes would you propose?
Sample Answer
Direct answer
I would not answer the board until I had established three things from evidence: whether the control, working exactly as written, would have stopped or caught this event (a design question), whether it actually ran as written when the event happened (an operating question), and what decision originally set its strength. Then I would report the cause plainly, show the earlier decision was or was not reasonable with the information available, and assign corrective actions with named owners.
Step 1: Preserve evidence and build a timeline
Secure logs, configuration history, tickets and alerts first. Build a timeline: when the control was designed, last changed, last tested, and what it did during the incident.
Step 2: Design or operation?
| Question | If the answer is no | Result |
|---|---|---|
| Would the control as written have covered this asset, attack path and threshold? | The written control left a gap | Design failure |
| Was it running, scoped and monitored as written when the incident occurred? | It was off, drifted, or its alerts were ignored | Operating failure |
Both can be true, and the fix differs: design failures need a redesigned control, operating failures need ownership, monitoring and enforcement.
Illustrative example. The control said "every server in the asset inventory runs an endpoint-protection agent". 17 of 212 inventoried servers had no agent, so 195 of 212 were covered (about 8.0% not covered): an operating failure. But the compromised host was not in the inventory at all, so the written control could never have covered it: a design failure as well.
Step 3: Evidence to gather
- The control description and its owner of record
- Configuration and change history around the incident
- The control's own logs, alert records and any exceptions granted
- Previous test results and findings, and whether remediation was closed
- The original risk assessment and any risk-acceptance record
Step 4: Document the earlier decision to accept that level of control
Reconstruct the decision record: the risk as understood then, the options considered, their cost, the residual risk (what remained after the chosen control), who approved it, and the date it should have been revisited. Judge the decision against what was known at the time, not hindsight, and say so in the write-up. If no record exists, state that fact; do not create one after the event. A missing record, or an acceptance with no review date, is itself a governance finding. Risk acceptance means a named person formally agreeing to live with a risk instead of reducing it further. Who may accept risk is set by your risk appetite (how much risk the organization will take) and delegations (the written limits on what each role may approve, for example a team lead up to a low rating, a director up to medium, only the executive committee above that). A governance finding is a weakness in how decisions are made and tracked, as opposed to a weakness in a technical setting. Illustrative record: Risk R-14, servers without endpoint protection, rated medium. Option chosen: agent on inventoried servers only; cloud-account discovery deferred (cost). Residual risk: medium-low. Approved by: Head of Infrastructure, within delegation. Review by: 30 June.
Step 5: Corrective and preventive actions (CAPA)
- Corrective: fix this instance (install agents on the 17 servers, add the missed host to inventory).
- Preventive: change the cause (discover assets from the cloud account, not from a hand-kept list; alert when coverage drops below a stated level; set an expiry on risk acceptances).
- Ownership: one accountable owner per control plus a named backup, and a metric reviewed on a schedule (for example, agent coverage: servers with a working agent divided by servers found by cloud-account discovery, reviewed weekly. In the example above, if discovery had found the 212 listed servers plus the one unlisted compromised host, 195 / 213 is 91.5% (the inventory-only figure, 195 / 212, is 92.0% and would have hidden the unlisted host), against a stated floor of 98%, which would have raised an alert; discovery may of course find more than one unlisted host, which would lower the figure further).
- Verify the fix with a reperformance test after remediation.
What goes to the board
Plain cause, whether the decision was reasonable at the time, what changes, who owns each change, and when it will be verified. Illustrative wording: "The endpoint control was designed to cover only servers in the inventory. One compromised server was not in the inventory, so the control could not have protected it; separately, 17 of 212 listed servers had no agent. The 2025 decision to cover inventoried servers only was within the approver's delegation and based on the information then available. We are adding automatic discovery, assigning one named owner and a backup, and will re-test in six months. Evidence is preserved." Legal and the incident lead decide what is shared externally.
Pitfalls and what would change my call
- Blaming an individual when the process lacked a coverage check.
- Declaring "design failure" to excuse the owner, or "operating failure" to avoid funding a redesign: the evidence decides.
- If the original decision was documented and reasonable, the finding becomes a review-cadence gap, not negligence.
A vendor says its detective control worked because an alert fired, but the response was slow and incomplete. Do you agree? What else do you need to see before you say the control is effective?
Sample Answer
Direct answer. No, not yet. An alert firing shows the control operated; it does not show the control is effective. A detective control (one designed to find problems after they happen) exists to enable timely, adequate response. Its control objective, what it is meant to achieve, is therefore a response, not just a notification. If response was slow and incomplete, the control objective was not met, even though the technology worked.
What else I need to see
- A stated objective and criteria. For example (illustrative): acknowledge within 15 minutes, contain within 4 hours, complete the runbook (the step-by-step response procedure). Without a target, "slow" is an opinion.
- Timeline evidence. Alert at 02:10, first human acknowledgement at 09:40 is 7.5 hours = 450 minutes against a 15-minute target. I would pull timestamps from the ticketing system, not the vendor's summary.
- More than one case. One alert proves little. I would test a sample of alerts across the period (for instance 25) and report how many met the criteria (for example 19 of 25 = 76% within 15 minutes).
- Coverage and false negatives. Did the control cover all in-scope systems? Look for false negatives (real events the control missed). Run a seeded test (a harmless simulated event) or an exercise to see what it misses; success on the case that fired says nothing about the ones that did not.
- Completeness of response. Was scope assessed, was the account disabled, was the follow-up closed?
- Root cause of the slowness. Staffing, alert fatigue (staff so swamped by alerts that they slow down or ignore them), unclear runbook, or paging failure; each is a design or operating deficiency with a different fix.
- Responsibility split. If the vendor runs the monitoring but we own response, the vendor's assurance report (an independent auditor's report on the vendor's controls, for example SOC 2) lists complementary user-entity controls (things the customer must do); we must show we did them.
Conclusion I would write. Operated, but not effective for the stated objective: a deficiency in operating effectiveness (the control was well specified but was not carried out as specified) or in design (the control as written could not meet the objective, for instance because the runbook never specified timing). Severity depends on what the delay exposed: illustratively, a 7.5-hour delay on an alert about a test server holding no sensitive data might rate low, while the same delay on an alert about an administrator account on a production system would rate high. I would require corrective action with an owner and date, then retest on a fresh sample.
Pitfall. Accepting a vendor's definition of "worked". The customer's risk defines success.
You own testing for a few hundred controls across a year. How do you decide how often each is tested and when, how do you re-test fixed controls, and how do you avoid overloading control owners at peak times?
Sample Answer
Direct answer. I would tier the controls by risk, give each tier a test frequency, and fill a year calendar that avoids owners' peak periods and batches requests per owner. Fixed controls are re-tested only after they have operated long enough to sample. The rules, not my memory, drive the schedule, so it can be rebuilt each year.
Frequency by risk. Score each control on inherent risk of what it protects, importance to key requirements (a key control is one that, if it failed, would not be caught by others), whether it is manual or automated, recent changes, and past results. Inherent risk means the risk before any control is applied. A worked score (illustrative, 1 to 3 on each of four factors, total 4 to 12; recent changes and past results are folded into one history factor, so the five factors above become four scored columns): a quarterly privileged-access review has inherent risk 3, key control 3, manual 3, history of problems 2, total 3+3+3+2 = 11. An automated disk-encryption configuration check has inherent risk 2, not a key control 1, automated 1, clean history 1, total 2+1+1+1 = 5. Cut-offs of 10 or more for Tier 1, 7 to 9 for Tier 2 and 6 or less for Tier 3 put the first control in Tier 1 and the second in Tier 3; applying such cut-offs across all 300 controls is how a split like the one below arises. Illustrative tiers for 300 controls:
tiers = {"Tier 1 (quarterly)": (60, 4), "Tier 2 (twice a year)": (120, 2), "Tier 3 (annual)": (120, 1)}
total = sum(n * freq for n, freq in tiers.values())
print("test executions per year", total) # 600
print("per month at even load", total / 12) # 50.0
normal, peak = 60, 30 # peak months at half capacity
print(8 * normal + 4 * peak) # 600
Printed: 600, 50.0 and 600. Capacity is 8 normal months at 60 tests plus 4 peak months at 30 tests (illustrative quarter-end months), which fits all 600 with no spare capacity, so in practice I would hold some back for re-tests of fixed controls and for failed tests. With 40 owners (illustrative), that is about 1.5 tests per owner in a normal month (60 tests across 40 owners), which batching turns into a single request per owner per cycle. Automated controls with stable configuration and effective general controls over them (the baseline access and change controls on the system the automated control runs on) can sit in a lower tier, subject to the assessor's rules.
Timing. Test earlier in the period for controls with a history of problems, so there is time to fix and re-test. Avoid quarter-end close, major releases and holidays for the owners involved, using blackout dates (dates on which no test requests go out) for each owner. Batch all of an owner's controls into one request per cycle, and cap the monthly load per owner.
Re-testing fixed controls. A fixed control is re-tested after it has operated for enough occurrences to sample, for example one full cycle for a quarterly control or a few weeks for a daily one (illustrative; follow the assessor's guidance). Move it up one tier (for example from annual to twice a year) until it passes two tests in a row, because one pass can be luck while two show the fix holds; then return it to its normal tier.
Owner testing and independent testing. Owners self-test lower tiers and send evidence (first-line assurance). An independent tester re-performs a sample from every tier and tests Tier 1 directly.
Global scale and tests-as-code. For a global company, use one calendar with regional blackout dates (local holidays, regional closes), time-zone-aware evidence requests, and local-language templates. For automated controls, write the tests themselves as scripts (tests-as-code) that run daily against configuration, store results with timestamps and open a ticket on failure. Treat the test code as a controlled asset: version control, review and change approval, since a flawed check gives false comfort.
Pitfall. Equal testing for all controls: it overloads owners with low-value requests and leaves the risky ones under-tested.
Unlock Full Question Bank
Get access to all 28 Internal Controls Design and Effectiveness Testing interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.