Scrivio Interview library
LeadershipPrincipal6 min read · updated 12 November 2026

Regulators and auditors expect least-privilege access and regular access certification for all systems. How would you build an authorization governance programme across hundreds of applications?

We build it in layers: a central inventory of every application with its roles, permissions and owners; joiner, mover and leaver processes connected to the identity provider so access follows employment automatically; periodic certification where owners confirm access and anything unconfirmed is removed automatically; deny-by-default in the application frameworks with tests that prove it; and a small set of metrics, such as overdue reviews and privileged accounts, reported to leadership every month.

Why this question is asked

Auditors do not ask whether our code checks roles. They ask who has access to the payment system, who approved it, and how we know the people who left last quarter lost it. With hundreds of applications, answering by spreadsheet and email takes weeks and is wrong by the time it is finished. Interviewers ask this question at senior levels to see whether we can turn a compliance demand into an engineering programme that sustains itself. In this answer, we will recap what least privilege and access certification mean, then build the programme step by step: inventory, lifecycle automation, certification, enforcement in code, and the reporting that keeps it funded.

1A Quick Recap: What Regulators Actually Expect

Least privilege means each person and system has only the access their current job needs, and no more. Access certification, also called an access review or recertification, means that at regular intervals a responsible person looks at who has access to their system and confirms or removes it, leaving evidence that they did. Frameworks such as SOX for financial reporting, PCI DSS for card data and ISO 27001 all ask for some form of both.

The hard part is not the principle. It is scale and drift. People change teams, contractors leave, emergency access granted for an incident is never removed, and roles pile up. A programme must make the right state the default and make drift visible, rather than relying on heroic yearly clean-ups.

2Step One: An Inventory Everyone Trusts

Nothing can be reviewed that is not listed. We start with a register of every application: its business owner, its technical owner, its data classification (for example public, internal, confidential, regulated) and the roles or permissions it grants, each with a plain description. We also record how access is granted: through identity provider groups, local accounts or API keys.

In practice we get there by combining sources: the CMDB or service catalogue, the identity provider's application list, cloud accounts and a questionnaire for whatever is left. Then we rank. Of 400 applications, perhaps 60 hold regulated data or money movement; those go first and get the strictest treatment, while the long tail follows a lighter process. Trying to do all 400 at the same depth on day one is the most common way such programmes stall.

Step throughThe governance cycle
  1. Inventory apps, roles, ownersranked by data classification
  2. Connect to identity providergroups drive access
  3. Automate joiners, movers, leaversHR events change access
  4. Quarterly certification by ownersconfirm or revoke
  5. Confirmed in time?
    YesAccess stays, evidence keptNoRemoved automatically
  6. Report metrics to leadershipoverdue reviews, privileged accounts

6 steps in order. Play them, or step through them one at a time.

The loop repeats each quarter; the inventory is updated as applications change.

3Step Two: Access That Follows Employment

Most excess access comes from life events, not from bad decisions. So we connect the HR system to the identity provider and drive access from it. A joiner gets a baseline set of groups from their department and job code. A mover, someone changing teams, gets the new team's access and, importantly, loses the old team's access after a short overlap, because movers are where privilege accumulates. A leaver is disabled in the identity provider on their last day, which ends single sign-on to every connected application at once.

This only works for applications that take their access from the identity provider through SSO groups or SCIM provisioning. So part of the programme is a standard: every new application must integrate with the identity provider, and existing applications with local accounts are migrated in priority order. For the ones that cannot migrate, we reconcile their account list against HR data every week and open a ticket for every account whose owner has left.

4Step Three: Certification That Removes Access by Default

Classic reviews fail because the default is to keep access: the owner receives a 2,000-line spreadsheet, clicks approve all, and the auditor gets a signature but no real review. We change two things. First, reviews are smaller and smarter: a manager reviews their own reports, an application owner reviews only privileged roles, and the tool highlights the risky lines, such as access not used in 90 days or access that does not match the person's department. Second, the default flips: anything not confirmed by the deadline is removed automatically.

Frequency follows risk. Privileged access to regulated systems is reviewed quarterly, ordinary access to internal tools yearly. Removing access a few people still needed is a real cost, so we give a clear warning two weeks before the deadline and a quick self-service way to request access again. Teams accept automatic removal much more easily when getting access back takes ten minutes, not ten days.

5Step Four: Deny by Default in the Code

Governance of who holds which role is worthless if the applications do not enforce roles properly. So the platform team provides framework defaults: in Spring Boot, a shared security configuration where every SecurityFilterChain ends in denyAll() or authenticated(), method security is enabled, and endpoints must declare their rule. A test in every service's build proves it, for example by calling every mapped endpoint without credentials and with a user lacking roles and asserting refusals.

This is also where least privilege for machines lives: service accounts and API clients get narrow scopes per purpose, and their credentials are part of the inventory and reviews, because in many audits machine identities outnumber people.

6Step Five: Metrics That Keep Leadership Engaged

A programme like this lasts years and competes with product work, so leadership must see that it is working. We report a few numbers monthly per business unit: percentage of in-scope applications onboarded to the identity provider, reviews completed on time versus overdue, number of privileged accounts and how many have no owner, average time to remove a leaver's access (target under 24 hours), and access removed through certification.

Notice that these metrics tell a story an executive can act on: unit X has 40 overdue reviews and 12 orphaned admin accounts. Naming owners and trends turns governance from a yearly audit scramble into ordinary operational work. In my experience the first year shows large removals, often 20 to 30 percent of reviewed access, and later years show small, steady numbers, which is the sign that the default has changed.

7Follow-up questions

How do you get application owners to take reviews seriously?

Keep reviews small and focused on risky access, show usage data next to each line so the decision is easy, and make inaction remove access. When doing nothing has a consequence, owners engage. Reporting overdue reviews by name to their leadership does the rest.

Should we buy an identity governance tool?

For hundreds of applications, usually yes. Identity governance products handle campaigns, evidence and connectors to many systems. The tool does not replace the inventory work, the HR integration or the framework defaults, so the programme is still ours; the tool just makes the cycle cheaper to run.

What about emergency or break-glass access?

It should exist, because incidents happen, but it must be time-limited, logged and reviewed after each use. A common pattern is just-in-time elevation that expires after a few hours, with the request and approval recorded automatically.

8Conclusion

In this answer, we built an authorization governance programme as a cycle rather than a yearly event. We started with a ranked inventory of applications, roles and owners, connected access to the identity provider so joiners, movers and leavers change access automatically, made certification small and removal the default, enforced deny-by-default in the application frameworks with tests, and reported a few clear metrics to leadership to keep the programme funded and honest.

What to say in the interviewAbout 80 seconds aloud

Open with

I would treat it as a programme with five parts, and start with the riskiest systems rather than all of them. First, an inventory: every application with its business and technical owner, data classification and the roles it grants, built from the service catalogue and the identity provider.

Then, if they want more

Second, lifecycle automation: HR events drive the identity provider, so joiners get baseline access, movers lose their old team's access after a short overlap, and leavers are disabled on their last day, which cuts SSO everywhere. That requires a standard that applications integrate with the identity provider, and weekly reconciliation for those that cannot.

Third, periodic certification: managers and owners review small, risk-focused lists with usage data, quarterly for privileged access to regulated systems and yearly otherwise, and anything not confirmed by the deadline is removed automatically, with an easy way to request it back.

Fourth, enforcement in code: shared framework configuration with deny-by-default and tests in every build proving that unauthenticated and unprivileged calls are refused, and machine identities included in the inventory. Fifth, monthly metrics per business unit, like overdue reviews, privileged and orphaned accounts and leaver removal time, so leadership sees progress and owners are accountable.

About this answer

Last updated
12 November 2026
Checked
Its structure and format are checked automatically. Use it as a carefully prepared study note: where a detail matters, confirm it against the documentation below. What the checks cover
Where the question comes from
Written by Scrivio for practice. It is not taken from an interview.
Official documentation
Spring Security reference
Report an issue with this answer

Copy the line below and send it to the author with what you found. It carries the address of this page.

Issue with "Regulators and auditors expect least-privilege access and regular access certification...": https://scrivio-interview-library.netlify.app/spring-boot/authorization/33b6011062/