Compliance Frameworks and Certification Standards Questions
The major security compliance frameworks and certification standards and how to achieve and maintain them: SOC 2 (Type I and II, Trust Services Criteria), ISO/IEC 27001 and 27701, NIST CSF and SP 800-53, CIS Controls, PCI DSS (scoping, the cardholder data environment, segmentation and card-on-file architecture, staying compliant as software ships), and FedRAMP (baselines, authorization boundary and authorization paths). Covers what each framework governs, mandatory regulation versus voluntary standard (including regulated product standards versus a voluntary certification), prescriptive versus principles-based approaches, how control families map to organizational practices, choosing and sequencing frameworks and making the cost case, which framework mandates versus merely expects a practice such as penetration testing, reading vendor attestations, scoping and gap analysis including which gaps block certification, certification roadmaps, sustaining compliance after the first report, and harmonizing overlapping requirements across standards and laws into one traceable control set. Excludes designing and testing individual controls, building audit evidence packages, compliance tooling, and the detailed text of privacy laws, which are covered elsewhere.
A key customer requires your company to be PCI DSS compliant within nine months, and you have never been assessed. Build the program plan: how you set scope first, how you sequence the work, who you need involved, and how you tell the customer honestly whether nine months is achievable.
Sample Answer
Direct answer. Set scope first, because it decides cost and time more than anything else. Then run gap assessment, remediation, readiness checks and assessment in order, with a nine-month plan that is only honest if scope can be reduced. Terms: PCI DSS is the Payment Card Industry Data Security Standard (current version 4.0.1); CDE is the cardholder data environment; QSA is a Qualified Security Assessor; AOC is the Attestation of Compliance you give the customer; ASV is an Approved Scanning Vendor.
1. Scope first. Ask the customer exactly what they need: an AOC from a QSA-led assessment (an outside assessor validates you and signs off), or a self-assessment (you complete a PCI questionnaire yourself). Also settle which role you play: a merchant (you accept card payments for your own goods or services) or a service provider (you store, process or transmit card data for other companies, or can affect its security), because service providers face more requirements. Map every place card data is stored, processed or transmitted, then reduce scope by using a validated payment provider's tokenization (the provider returns a token in place of the card number) or hosted fields (card entry boxes served from the provider), and by segmenting networks (separating the card systems from the rest so the rest falls out of scope).
2. Plan (39 weeks, since nine months is about 39 weeks)
| Phase | Weeks |
|---|---|
| Scope and customer requirement | 4 |
| Gap assessment against v4.0.1 | 4 |
| Remediation | 20 |
| Readiness: scans, penetration test, evidence check | 4 |
| QSA assessment and report | 6 |
| Buffer | 1 |
The six phases sum to 4 + 4 + 20 + 4 + 6 + 1 = 39 weeks. The durations are planning assumptions, not measurements. The 20 weeks for remediation is a placeholder for a first assessment after scope reduction. Replace it once the gap assessment gives a list. A gap item might read: "Multi-factor authentication missing on two admin tools: 2 weeks, owner infrastructure lead." Summing owner-assigned items across workstreams, with engineers working in parallel, turns the list into the real remediation figure. The 6 weeks for the QSA covers fieldwork, evidence requests and report writing, so confirm it with the assessor's quote. The 1-week buffer is thin, which is another reason the date needs a checkpoint.
3. Who is involved. An executive sponsor, a program owner (security architect or compliance lead), engineering and infrastructure, a payments product owner, HR and legal for policies and vendor contracts, and a QSA engaged early.
4. Tell the customer honestly. Start with the facts: scope reduction determines if nine months is realistic. Some activities repeat periodically, for example external vulnerability scans by an ASV every three months, so they set a minimum evidence timeline. In 39 weeks the plan has room for about three scan cycles: if the first passing scan is in week 12, the next ones fall near weeks 25 and 38. For a first assessment the standard does not require four passing scans in a row, provided the assessor verifies the most recent scan passed, quarterly scanning is documented in policy, and any scan findings were fixed and rescanned. So the practical rule is to start scanning early, long before the readiness phase. Say what the plan achieves if scope can be reduced, what slips if not, and agree on a checkpoint after scoping and gap assessment to confirm or reset the date. In words: "Our plan reaches assessment in week 33 and a report by week 38 if card entry moves fully to our payment provider. If it cannot, we expect the date to move out. We will confirm or reset the date with you in week 8, when the gap assessment is done, and you will see the scope diagram and gap list then."
What changes my call. If you cannot reduce scope, nine months is probably unrealistic for a first assessment, and the right message is a longer date, or a narrower first commitment that the customer's security team agrees in writing.
You hold ISO 27001 and sales now needs a SOC 2 report and a NIST CSF view too. How would you map the same controls across all three without running three programs? Show how user authentication and authorization would appear in each.
Sample Answer
Direct answer
Build one control library and map it to each framework, instead of three programs. Write each control once in plain language, set it to the strictest requirement across the frameworks, test it once, keep one evidence set, and record which ISO 27001 control, SOC 2 criterion and NIST CSF outcome it satisfies. SOC 2 is an auditor's report, ISO 27001 is a certification of a management system, and CSF is a voluntary outcome framework, so mapping is judgement, and the auditors still decide.
Authentication and authorization, mapped (illustrative control set)
| Control (written once) | ISO/IEC 27001:2022 Annex A (the list of 93 controls) | SOC 2 | NIST CSF 2.0 |
|---|---|---|---|
| IAM-1: SSO with MFA for all workforce and production access | 8.5 secure authentication, 5.17 authentication information | CC6.1 (restrict logical access: who may log in to and use systems) | PR.AA-03 (users, services and hardware are authenticated), in the Protect function, category PR.AA (Identity Management, Authentication, and Access Control) |
| IAM-2: role-based access (permissions follow a person's job role) approved by the data owner (the person accountable for that data), reviewed quarterly | 5.15 access control, 5.16 identity management, 5.18 access rights | CC6.2 (register and authorize users before granting access, remove when no longer needed), CC6.3 (role-based access, least privilege) | PR.AA-01 (identities and credentials managed), PR.AA-05 (permissions defined, enforced and reviewed, least privilege) |
| IAM-3: privileged access just-in-time (granted only for the task and then removed) and logged | 8.2 privileged access rights | CC6.1 and CC6.3, plus CC7 (system operations: monitoring) | PR.AA-05 in Protect, and the Detect function's Continuous Monitoring category (DE.CM) |
All three also roll up to a policy under the Govern function in CSF (category GV.PO, Policy) and to the ISMS (information security management system, the set of policies, risk assessments and processes that ISO 27001 certifies) documents in ISO.
The control sentence for IAM-1, written once so all three audiences accept it: "Every workforce and production login goes through the company SSO and requires a second factor; no local accounts exist except two sealed break-glass accounts." Its test step: each quarter, export the identity provider's user list with each user's MFA status, confirm zero users without MFA, and file the export as the evidence.
Mapping record fields
Control ID and statement, owner, framework references (one column per framework), coverage (full, partial, gap), status, evidence location (link to the access review ticket or SSO export), test frequency, last tested date, and notes. Those let an analyst verify coverage and an auditor trace a control to proof.
Working method
- Pick the strictest version of each requirement (for example MFA for everyone, not only admins). A parameter example, illustrative: ISO asks for access rights to be reviewed at planned intervals without a number, the SOC 2 auditor tests whatever interval you state, and one customer contract demands quarterly. The control says quarterly, and all three are satisfied by one review.
- Map, then mark partial matches honestly rather than forcing full coverage.
- Collect evidence once, tag it with all frameworks it supports.
- Assign each control one owner and one test schedule.
Pitfalls
Do not treat a mapping as equivalence: SOC 2 may sample over a period while ISO asks for management review records. Version-stamp the mapping so a framework revision is traceable.
Customers and your SOC 2 auditor both keep asking whether you do penetration testing, and your payment processor has its own expectations. Which of the frameworks you work under mandate it versus merely expect it, and how would you set scope and cadence to satisfy them without disrupting a production SaaS?
Sample Answer
Direct answer. Only PCI DSS mandates penetration testing with a stated cadence. SOC 2 mentions it without requiring it, and ISO 27001 leaves it to your risk assessment. I would run one annual, scoped test that meets the strictest annual requirement (service providers that rely on segmentation add a segmentation test every six months) and report it three ways. Terms: penetration test is an authorized simulated attack by a qualified tester; SOC 2 is an audit report on controls against the Trust Services Criteria, a numbered list published by the AICPA (the US accountants' body); ISO 27001 is the certifiable standard for an information security management system.
Mandate versus expectation
| Source | Penetration testing |
|---|---|
| PCI DSS v4.0.1 (Requirement 11.4) | Mandated. Internal and external tests at least every 12 months and after significant change (an upgrade or change big enough to alter the card-data environment or its protections), a documented methodology, retesting of fixed findings, segmentation tests (11.4.5: proving the network rules that separate card systems from everything else really hold), and every six months for service providers (companies that handle card data for others) that use segmentation to isolate the card-data environment from other networks (11.4.6) |
| SOC 2 | Not required by the criteria. CC4.1 (the criterion on evaluating whether controls keep working) lists it among possible monitoring activities and CC7.1 (detecting new vulnerabilities and configuration changes) covers vulnerability scans, but most auditors and customers expect an annual test in practice |
| ISO 27001 | No prescribed test or cadence. Annex A (the standard's catalogue of controls) includes technical vulnerability management (A.8.8) and security testing in development and acceptance (A.8.29); whether and how you apply them follows your risk assessment and Statement of Applicability (the document listing which controls you selected and why) |
| Customer contracts | Whatever the contract says, often annual with a summary letter |
PCI DSS is enforced through your payment processor and card brand contracts rather than by statute, so confirm with them which validation applies.
Scope and cadence
- External perimeter and authenticated application and API testing, including the payment path.
- Internal or cloud-network testing and segmentation testing if you scope by segmentation.
- One full test a year timed ahead of the audit window, plus a targeted retest after any significant change. If you are a PCI service provider that isolates the card-data environment by segmentation, add a segmentation test every six months (11.4.6), so the annual test is the baseline of the schedule and not all of it.
Without disrupting production. Test a production-like staging copy for anything destructive. For production, agree rules of engagement (the written agreement on what the tester may and may not do): dedicated test accounts, rate limits, a quiet window, a named contact and a stop word (a pre-agreed phrase that makes the tester halt at once), plus verified backups.
Worked example: scope for a sample invoicing SaaS. In scope: the public web app and API at the production domain, the login and password-reset flows, the card payment page, the admin console, and the cloud network holding the database. Out of scope: the payment provider's hosted pages, which the provider tests, denial-of-service attempts, social engineering of staff, and other customers' data (tests use two dedicated tenant accounts). Rules: testing 22:00 to 04:00 UTC, no more than 20 requests per second, contact is the on-call engineer, and any sign of real customer data stops the test. A finding line then reads: "High: an authenticated user can read another tenant's invoices by changing the invoice ID. Fix: check tenant ownership on the server. Retested and closed on 12 March."
Reporting. One test, three outputs: the full report to PCI and the auditor, an executive summary to customers (scope, dates, method, finding counts by severity and the fact that high findings were fixed and retested, without exploit detail), and findings tracked to closure.
What changes my call. If your processor only needs an annual self-assessment, the same annual test still covers it.
A 200-person SaaS company with no management system wants to be ISO 27001 certified within six months. Lay out your roadmap: how you sequence the work, what must exist before an external auditor will show up, who needs to be involved, and where the schedule is most likely to slip.
Sample Answer
Direct answer. Six months (about 26 weeks) is achievable for a 200-person SaaS company only if the scope is narrow (the production product and the people and systems that run it), an executive sponsor is named in week one, and the certification audits are booked early. The schedule is driven less by writing documents than by producing records that prove the system actually runs.
ISO/IEC 27001 is the international standard for an information security management system (ISMS): a managed, repeating process for deciding which risks matter and which controls address them. A certification body (an accredited auditing firm) certifies you in two audits: Stage 1 (a readiness review of your documented system) and Stage 2 (a test that the system is implemented and working).
Illustrative 26-week sequence
| Weeks | Work | Output |
|---|---|---|
| 1-3 | Name sponsor and ISMS lead, draw the scope boundary, approve the security policy, book the certification body | Scope statement, signed policy, audit dates |
| 3-8 | Build the asset inventory, choose a risk method, run the risk assessment (recorded in a risk register, the list of risks with owner, score and treatment), write the risk treatment plan (what you will do about each risk that is too high: reduce, accept, avoid or transfer it) and the Statement of Applicability (SoA) (the list of Annex A controls with "applies or not" and why). Annex A is the standard's reference list of 93 controls in four themes (organizational, people, physical, technological) | Risk register, treatment plan, SoA |
| 6-18 | Close control gaps, write procedures, train staff | Working controls, training records |
| 14-20 | Operate the system and keep records, run the internal audit (an audit by someone independent of the work), hold the management review (leadership formally reviews the ISMS) | Audit report, management review minutes |
| 20 | Stage 1 | Findings to fix |
| 24 | Stage 2 | Audit report, then certificate decision |
That puts four weeks between the two audits and two weeks of slack before month six. That slack is the number to defend. It exists because a minor nonconformity needs a corrective action plan, and a major one must be closed before a certificate issues, which may need a short follow-up audit; two weeks covers one such round, not two. The ISMS lead owns defending it, with the sponsor refusing requests that would use it up.
What an SoA row looks like (illustrative):
| Annex A control | Applies | Reason | Status | Evidence |
|---|---|---|---|---|
| A.5.15 Access control | Yes | Customer data lives in production | Implemented | Access policy, quarterly review records |
| A.8.13 Information backup | Yes | Availability commitments to customers | Implemented | Backup schedule, restore test report |
A control marked "No" needs a reason too, for example a physical-security control for a server room the company does not have because the data centers belong to the cloud provider.
What a record of operation looks like (illustrative): ticket SEC-142, "Q2 production access review", reviewer named, three stale accounts removed, closed on a dated day, export attached. One such record per quarter is what an auditor samples; the policy alone proves nothing.
What must exist before the auditor shows up (Stage 1). The scope, information security policy, risk assessment method and results, risk treatment plan, SoA, security objectives, and evidence staff are competent. The internal audit and management review must be complete before Stage 2, and some certification bodies want them before Stage 1, so ask yours; that is why they sit at weeks 14-20, not at the end.
Who is involved.
- Executive sponsor: owns the scope decision, risk acceptance (the formal decision by a named owner to live with a risk) and the management review.
- ISMS lead (security architect or analyst): runs the program and the register.
- Engineering and IT: implement access, logging, backup and change controls.
- HR: onboarding, offboarding, background checks, training.
- Legal/procurement: supplier contracts and legal requirements.
- Control owners in each team: the people accountable for running one control and who will be asked for its evidence.
Where it slips (most likely first).
- Remediation engineering (for example single sign-on and MFA coverage, centralized logging) competes with the product roadmap. Fix: get the sponsor to rank it.
- Scope creep: adding offices or a second product doubles the evidence. Fix: certify the core, extend at the next surveillance audit (the yearly follow-up audit that keeps the certificate valid).
- Records of operation: a procedure written in week 8 has few months of evidence. Fix: start recurring controls (access reviews, supplier reviews) by week 10.
- Auditor availability and findings: a major nonconformity (a significant or systemic failure to meet a requirement, as opposed to a minor, isolated lapse) must be closed before a certificate issues, so a bad Stage 2 can push you past month six.
What would change my call. No existing practices (no SSO, no ticketed change process) or a request to scope the whole company: I would say nine to twelve months and certify in phases.
A prospective enterprise customer asks whether you can provide a SOC 2 Type I or a Type II report. Explain the difference, what each tells the customer about your controls, why customers tend to insist on one over the other, and which a young company should pursue first.
Sample Answer
Direct answer
Both are SOC 2 (System and Organization Controls 2) reports: an independent CPA firm (a licensed accounting firm) examines your controls against the AICPA Trust Services Criteria and issues an opinion. The criteria are the AICPA's published control requirements, grouped into Security (always included) and optional categories such as Availability and Confidentiality; for example, a Security criterion expects that access to systems is restricted to authorized people. A Type I report says your controls were suitably designed at one point in time. A Type II report says they were designed and operated effectively over a period. Enterprise customers prefer Type II because it shows the controls actually ran. A young company should usually start the Type II observation window (the period the auditor tests, set out below) as early as it can, and use a Type I only as a bridge when a deal cannot wait.
What each tells the customer
| Type I | Type II | |
|---|---|---|
| Question answered | Are the controls designed properly on this date? | Did the controls work, every time they were supposed to, across the whole period? |
| Auditor work | Inspects policies, configurations and a description of the system | Does that, plus tests samples of the control operating throughout the period |
| Weakness | A snapshot: says nothing about whether anyone follows the process | Costs more and takes longer |
Operating effectiveness, and why evidence spans the window
Operating effectiveness means the control worked consistently in practice, not just on paper. The auditor picks samples (a selection of real instances, such as a few tickets or a few months of logs, instead of every one) from across the whole observation window (the stretch of time the report covers; commonly three to twelve months, with a first report often covering three to six, and the length agreed with your auditor). A quarterly access review done once in the final week does not prove it ran in each quarter. Typical operational controls examined: user access provisioning and removal, change management (peer-reviewed, approved deployments), vulnerability management, backups, incident response and vendor management.
Worked example: new-hire access
Type I: the auditor reads the onboarding procedure and sees that access requires a manager-approved ticket. Type II: over a six-month window the auditor pulls several new hires from different months and checks that each had an approved ticket before access was granted. One hire with no ticket is an exception (a test result where the control did not work as described, which the report discloses). Illustrative sizing: with 24 hires in the window, an auditor might test 5 or so; the sample size is the auditor's call and grows with how often the control runs.
Which to pursue first
Recommendation: if the deal can wait a few months, skip Type I and start the Type II window once controls are stable, because most enterprise buyers will ask for Type II anyway and a Type I can cost an extra audit. If a customer needs something now, ask whether they accept a Type I plus a commitment date for Type II. Window length is chosen with your auditor; confirm what your target customers accept. What flips the call: a customer who accepts only Type II (then there is no shortcut), or a controls set still changing weekly (then fix it before any report, because exceptions in a Type II are disclosed to every customer and prospect who receives the report (SOC 2 reports are restricted-use documents, usually shared under an NDA, not public)).
Pitfalls
- SOC 2 is an attestation report (a CPA firm's signed opinion on your controls), not a certification.
- Reports describe what you scoped, so read the scope and the listed exceptions, not just the cover letter.
Unlock Full Question Bank
Get access to all 30 Compliance Frameworks and Certification Standards interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.