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.
Walk me through how you would turn a requirement like 'restrict access to sensitive data' into controls. What is the control objective, how many technical controls might it take to meet it, and how would you test each one?
Sample Answer
Direct answer
A requirement such as "restrict access to sensitive data" is a goal, not a control. First write a control objective (a plain statement of the outcome a set of controls must achieve), then pick controls (specific activities or technical mechanisms that each reduce part of the risk), then give each control its own test. There is no fixed number of controls: it takes as many as it needs to close every way the objective could fail. For the example below, seven, of which only some are technical: C2, C4 and C6 are technical mechanisms (software or network settings), C3 is a mix of a technical permission and a human approval, and C1, C5 and C7 are mostly procedural (people following a process). A requirement usually needs both kinds, because a technical control with no process to keep it accurate decays.
Step 1: Turn the requirement into an objective
Requirement: "restrict access to sensitive data". Objective (illustrative): Only authenticated, authorized people and services can read or change customer personal data in the production database, access is removed when no longer needed, and inappropriate access is detected. Good objectives say who, what, and what failure looks like, so they can be tested.
Step 2: Ask how the objective could fail, then add a control for each gap
| # | Control | Type | What it covers |
|---|---|---|---|
| C1 | Inventory and classify data stores holding customer personal data | Preventive | You cannot restrict what you have not found |
| C2 | Single sign-on with multi-factor authentication for database and admin access | Preventive | Proves who is asking |
| C3 | Role-based access granted only after manager approval, least privilege (minimum access needed for the job) | Preventive | Only the right people get in |
| C4 | Database in a private network with no public endpoint | Preventive | Removes a path around C2 and C3 |
| C5 | Quarterly review of who holds access, by the data owner | Detective | Catches access that accumulated over time |
| C6 | Access logging with an alert on bulk exports | Detective | Notices misuse that got past C1 to C5 |
| C7 | Access removed within one business day of someone leaving or changing role | Corrective | Closes stale access found by C5 or HR events |
Preventive controls stop the event, detective controls notice it after the fact, corrective controls fix what was found. Count check: 7 rows, C1 to C7.
Step 3: Many-to-many mapping
One objective maps to many controls (here, all seven), and one control can serve many objectives. C2 also supports an objective like "administrative actions are attributable to a person". Keep this mapping in a control matrix (a table linking each control to its objective, risk, owner, and requirement), so a change to one control shows what it affects. One filled-in row (illustrative): C5 | Quarterly review of who holds access | objective: only authorized people can read customer personal data | risk: access accumulates after role changes | type: detective | control owner (the person accountable for the control working): Head of Platform | data owner (the person who decides who may use the data): Director of Customer Data | requirement: the client contract's access clause | evidence (the records that prove the control ran): the signed review sheet for each quarter, with the removal tickets it raised.
Step 4: Test each control two ways
Design test: if the control operates exactly as written, would it meet its part of the objective? Operating test: did it actually run, consistently, over the period? When a control runs many times, you cannot check every run, so you take a sample: a small set of items drawn from the population, which is every occurrence of the control in the period. For example (illustrative), if 240 access grants were made in the quarter, the population is those 240 grants, and a test plan might pick 25 at random (so no one chooses only the tidy ones) and trace each to its approval. The size and method come from your test plan or auditor.
| Control | Design test | Operating test |
|---|---|---|
| C1 | Does the process cover all environments? | Compare the inventory with a cloud-account scan for unlisted stores |
| C2 | Is MFA enforced by policy, not optional? | Inspect the identity-provider setting; try a login without MFA on a test account |
| C3 | Does the approval step block access until approved? | Sample access grants and trace each to an approval |
| C4 | Is there any public route in the network rules? | Inspect current network configuration and run an external reachability check |
| C5 | Is the reviewer independent of the people reviewed, with a deadline? | Inspect each quarter's review evidence (open the signed review sheet, check the reviewer was not reviewing their own access, and check that each account marked for removal has a closed removal ticket) |
| C6 | Do thresholds fit normal export sizes? | Trigger a test export and confirm the alert and its response |
| C7 | Is the leaver list tied to HR records? | If 12 people left in the period, test all 12 (a population this small needs no sampling) and compare each person's HR leaving date with the date their access was removed; the control needs removal within one business day |
Trade-offs and pitfalls
- Stopping at C2 and C3 is the common weak answer: nothing then detects access that drifts over time.
- A control with no test is an assumption. Automated controls (C2, C4) are cheap to re-test; manual ones (C3, C5, C7) need samples and evidence.
- More controls is not better. Each one costs owner time, so drop a control whose risk another already covers.
- A framework or auditor may require specific controls; where it does, take their list as a floor and ask them to confirm.
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.
Your company is migrating a core business system from on-premises to a cloud SaaS. Which controls change or disappear in the move, what happens to assurance already gathered on the old system, and how would you plan the control transition through cutover?
Sample Answer
Direct answer. In a move to SaaS (software the vendor runs for you), the controls over the underlying infrastructure move to the vendor and you lose direct visibility; the controls over your users, your configuration and your data stay with you; and some controls are new (vendor oversight, integrations, exit). Assurance gathered on the old system does not carry over: it described a different system. I would plan the transition in three phases (before cutover, at cutover, after cutover) and build fresh assurance on the new system.
What changes.
| Control area | After the move |
|---|---|
| Physical security, hardware, OS patching, database administration, backups of the platform | Vendor's job. You rely on the vendor's independent report |
| User provisioning, role design, access reviews, segregation of duties (SoD: no single person can complete a sensitive action alone, such as creating and approving the same payment) inside the application | Still yours, and the role model must be rebuilt for the SaaS |
| Configuration changes | Yours, with change control; vendor releases are changes you do not schedule |
| Data migration completeness and accuracy | New one-time control |
| Vendor management, single sign-on, API keys, data location, exit plan | New |
Relying on the vendor. Request the vendor's SOC 2 report (an independent auditor's report on controls against the Trust Services Criteria) or SOC 1 where the system affects financial reporting (SOC 2 covers security-type criteria; SOC 1 covers controls relevant to the customer's financial statements). Check the audit period, the scope, exceptions found, and the complementary user entity controls (CUECs): controls the report assumes you perform yourself. Ask for a bridge letter (a vendor statement that its controls have not materially changed since the report's end date) covering the gap between that date and today.
Old-system assurance. Past test results stay valid for the past period on the old system. They are not evidence the new system works. For a period containing the cutover, an auditor tests the old controls until the cutover date and the new ones after it. Keep the old evidence for the retention period (set by your records policy and applicable law; illustrative: seven years for financial-system evidence) and archive the old system's logs and records, even after decommission.
Control transition plan.
- Before cutover: map each old control to keep, replaced by vendor, redesigned, or retire. Review the vendor reports and CUECs. Design the new controls and walk through them with owners. Define success criteria and a rollback decision date.
- At cutover: reconcile data (record counts and control totals (sums or counts such as total invoice value, computed on both systems to prove nothing was lost) agree between old and new, with exceptions explained), freeze changes, review the migrated access list line by line (migrated access should be re-approved rather than copied blindly), and keep an interim manual or detective control where a new one is not ready.
- After cutover: test the new controls for operating effectiveness after at least one full operating cycle (long enough for each control to have run enough times to test; illustrative: a monthly reconciliation needs at least two month-ends on the new system, and the assessor sets the real minimum), close CUEC gaps, and decommission the old system through a change record.
Pitfall. Assuming the vendor's report means you have no controls left. The CUECs are your obligations.
Assessors keep finding repeated weaknesses in change management and privileged access on systems that feed financial reporting. How do you decide how severe these deficiencies are, what makes them pervasive, and what do you tell leadership and the audit committee about them?
Sample Answer
Direct answer
Some terms first. A misstatement is an error in the financial statements (revenue overstated, a liability missing). Materiality is the size of error big enough to change a reasonable investor's decisions; management and the auditor set it as a dollar figure. Internal control over financial reporting (ICFR) is the set of controls meant to keep those statements reliable. An assertion is a claim the statements make, such as "all revenue is recorded" or "balances are accurate". The audit committee is the board committee that oversees financial reporting and the external auditor.
Severity depends on whether there is a reasonable possibility that the control failure could let a misstatement in the financial statements go unprevented or undetected, and how large that misstatement could be. It does not depend on whether a misstatement actually happened. In the SEC's rules (17 CFR 210.1-02), a material weakness is a deficiency, or combination of deficiencies, in internal control over financial reporting such that there is a reasonable possibility that a material misstatement of the annual or interim financial statements will not be prevented or detected on a timely basis. A significant deficiency is less severe than that yet important enough to merit attention by those overseeing financial reporting. In plain terms, the line between them is the size and likelihood of the error that could slip through: one that could reach materiality is a material weakness, a smaller one is at most a significant deficiency. Management and the external auditor each reach conclusions; security supplies the facts.
Severity factors
- Likelihood side (qualitative): how reliable the control is, how complex or subjective the area is, susceptibility to fraud, how many other controls depend on this one, and whether other deficiencies interact with it.
- Magnitude side (quantitative): the amount of transactions or balances flowing through the affected system compared with the materiality threshold.
- Compensating controls count only if they operate precisely enough to catch a material problem.
What makes it pervasive
Change management and privileged access are IT general controls (the controls over the environment that applications rely on). A weakness there touches every automated control, report and data feed on that system, so one root cause can undermine many controls at once. That spread is what I mean by pervasive: the deficiency is not confined to one control or one process, because many other controls depend on the one that failed. Pervasiveness raises severity because the usual safety net (a second control catching the first one's miss) is itself affected, so it pushes the judgment toward the more serious classification. Repeated findings with the same root cause also signal that previous fixes did not work.
Aggregation and worked example (illustrative numbers)
Three findings on one system: 7 of 25 production changes lacked approval, four shared admin accounts exist, and quarterly admin reviews were skipped twice. The system processes about 120 million a year of revenue against a materiality of 6 million: exposure is 120 / 6 = 20 times materiality. There is no rule that a given multiple means a material weakness; the ratio only shows scale. It says that errors in just 5% of what this system handles (5% of 120 million = 6 million) would already reach materiality, so the system is large enough for a modest error rate to matter. Likelihood comes from the three findings: 7 of 25 changes (28%) went live without approval, so any report or calculation could have been altered unreviewed; four shared admin accounts mean no action can be tied to a person; and two skipped reviews mean the detective check that should catch both did not run. Because all three deficiencies affect the same system and assertion, I evaluate them together, and unless a precise compensating control exists the combination points toward a material weakness. I also check logs for any actual unauthorised change; finding none does not remove the deficiency.
What I tell leadership and the audit committee
- The classification, the reasoning and who decides it.
- The root cause and which systems share it.
- Whether any actual unauthorised activity or misstatement was found.
- A remediation plan: owners, dates, interim compensating controls, and when the fix will have operated long enough to test.
- Status of every unresolved deficiency at each meeting, plus any decision needed (funding, ownership).
I do not soften wording to avoid a label; counsel and the auditor settle the formal disclosure.
Your team wants to replace a manual quarterly access review with an automated check. What do you gain and lose in control terms, what new risks does the automation introduce, and how would you convince an assessor that the automated version actually works?
Sample Answer
Direct answer. Automating the quarterly access review gains completeness (every account, every time, not a sample or a skim), consistency and timeliness, and produces evidence as a by-product. It loses human judgment about whether access makes sense for a person's job and the accountability of a manager signing a statement. It adds new risks in the automation itself. I would recommend a hybrid: automate detection and evidence, keep a human decision on ambiguous and privileged cases, and prove the automation works with design and operating tests.
Gains and losses in control terms.
| Manual quarterly review | Automated check | |
|---|---|---|
| Coverage | Reviewers skim long lists and rubber-stamp | Every account evaluated against rules |
| Frequency | Four times a year | Daily or weekly, so exposure windows shrink |
| Judgment | Manager knows the role | Only as good as the rules |
| Evidence | Spreadsheets, sign-offs | Logs and tickets generated automatically |
| Accountability | Named human attestation (a manager's signed statement that they reviewed the list) | Must be rebuilt (rule owner, exception approver) |
New risks from automation.
- Wrong rules: a logic error silently approves what it should flag.
- Bad or incomplete data: if the HR feed omits contractors, the check never sees them.
- Silent failure: the job stops and nobody notices, so a missing alert looks like clean results.
- Change to the check itself: whoever edits the rules or schedule can weaken the control, so it needs change management and separation of duties (the person who edits rules should not be the one who approves exceptions).
- Alert fatigue if the rules are noisy.
Convincing an assessor. I show design effectiveness (the rules match the stated objective) and operating effectiveness (it ran as designed across the period). Tiny example: design asks whether the rule "flag any account unused for 90 days" fits the requirement; operating asks whether the job really ran each scheduled day and flagged the dormant accounts that existed.
- Walk through the rules and the data sources against the requirement. Reconcile source counts, for example accounts in the directory versus accounts the check evaluated.
- Plant known violations in test accounts, say 12 across four rule types (terminated user still active, dormant over 90 days, privileged without ticket, shared account), three per type, and show all 12 are flagged. This proves those rule types work, not that no other cases exist. If all 12 are flagged, that is evidence the rules detect those four types. If, say, 9 of 12 are flagged and all three misses are one type, that rule has a design defect, so I fix it and repeat the plant test before relying on the check.
- Re-perform a sample of the check's own outputs by hand and trace flagged items to remediation tickets with dates.
- Show monitoring for job failure and evidence of the job running on schedule across the period.
- Show the general controls over the automation operated: the controls around the system rather than inside it, such as change management, who can edit the rules or schedule, and logging. An automated control runs the same logic every time, so unlike a person it does not vary from day to day, and a single successful test of it can stand for the whole period as long as nobody could have changed it unnoticed. The general controls are the proof that nobody did. Assessors typically accept testing an automated control once only when these hold, so I test them.
Pitfall. Declaring the automation equivalent because it produces more output. Output volume is not effectiveness.
Unlock Full Question Bank
Get access to all 33 Internal Controls Design and Effectiveness Testing interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.