Scrivio Interview library
LeadershipAdvanced6 min read · updated 12 November 2026

How would you roll out mandatory MFA across all internal and customer-facing applications in a large company?

I would centralise authentication in one identity provider so MFA is built once, then roll it out group by group in order of risk, with phishing-resistant factors such as passkeys and security keys for staff and high-risk users. Recovery, lost devices and users who cannot use a given factor get a planned path before launch. Every bypass, from legacy protocols to API keys and service accounts, gets its own control, and adoption and support load are measured at each step.

Why this question is asked

Mandatory MFA is one of the most effective security changes a company can make, and also one of the easiest to get wrong: a rollout that ignores recovery floods the help desk, and one that ignores legacy protocols leaves the front door locked and the back door open. Interviewers ask this leadership question to hear how we sequence a change that touches every employee and customer. In this answer, we will see why central identity comes first, choose the factors, plan recovery, sequence the rollout, close the bypasses, and decide what to measure.

1Why MFA Belongs in One Place

If each application implements MFA itself, we get dozens of implementations with different factors, different recovery rules and different bugs, and users enrol a phone ten times. A large company may have hundreds of applications, so this does not scale. The first step is to make sure applications authenticate through a central identity provider, using OIDC or SAML, so MFA is implemented once, in the provider, and every connected application gets it.

That makes MFA partly a migration project. We list every application and how it authenticates today. Those already behind the identity provider get MFA with a policy change. Those with their own logins need to be connected first, which can take months, so this list drives the timeline.

2Choosing the Factors

Not all second factors are equal. SMS codes can be intercepted through SIM swapping. Codes from an authenticator app and push approvals are better, but they can be phished: a fake login page asks for the code and replays it within seconds, and push approvals can be abused by sending prompts until a tired user accepts one. Passkeys and hardware security keys are phishing resistant, because they sign a challenge bound to the real website's origin, which a fake site cannot obtain.

So we set factor levels by risk. Administrators, finance staff, developers with production access and executives must use phishing-resistant factors. Other staff start with an authenticator app or passkey. Customers get a choice, with passkeys encouraged and SMS allowed only as a fallback where nothing else is practical.

Factor choices by user group
GroupRequired factorAllowed fallback
Admins, production access, financesecurity key or passkeysecond registered key
All other staffpasskey or authenticator apprecovery via IT with identity check
Customers, high valuepasskey or authenticator appSMS with extra fraud checks
Customers, generaloffered and encouragedSMS or email code

3Planning Recovery Before Launch

Every factor will be lost at some point: phones break, keys go through the washing machine, people leave for a trip and forget their laptop. Recovery is therefore part of the design, not an afterthought. For staff, we require two registered factors where possible and set up an IT process that verifies identity, for example a video call with a manager or an in-person check, before resetting MFA. For customers, recovery codes, a second passkey and a careful support process with identity checks.

Recovery is also where attackers go. A help desk that resets MFA after a convincing phone call undoes the whole programme, so the reset process needs checks that resist social engineering and alerts when an account's factors change. Some users cannot use a particular factor at all, for example because of an accessibility need or because they have no smartphone. We plan alternatives such as a hardware key, rather than granting exemptions that never end.

4Rolling Out by Risk and Group

We start with a pilot, the IT and security teams themselves, to find problems while the users are forgiving. Then the highest-risk groups, then department by department, and customers last and more gradually. Each wave gets communication in advance: why, when, how to enrol, where to get help. An enrolment period lets people register before enforcement starts, and a short grace period after the deadline catches stragglers without locking anyone out of payroll on day one.

Step throughRollout waves
  1. Pilot with IT and securitytwo to four weeks, fix the rough edges
  2. Admins and privileged accessphishing-resistant factors only
  3. Staff by departmentannounce, enrol, enforce after a grace period
  4. Adoption and support load on target?
    YesNext waveNoPause, fix, communicate again
  5. Customers, graduallyoffer, encourage, require for risky actions

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

5Closing the Bypasses

MFA on the login page is useless if attackers can log in another way. Legacy protocols such as basic authentication for email (IMAP, POP, old SMTP authentication) accept a password alone, so they must be disabled or restricted. VPNs and remote desktop gateways need the same MFA. API keys and personal access tokens are passwords in another form: we give them short lifetimes, scope them narrowly and require MFA to create them. Service accounts cannot do MFA, so we replace their passwords with workload identity or certificates, restrict where they can log in from, and monitor them closely.

We find these paths by looking at the identity provider's and the applications' logs for successful logins without a second factor after enforcement. Every such login is either a bypass to close or an exception to document with an owner and an end date.

6What to Measure

We track enrolment rate per group, the share of logins that used MFA, the share using phishing-resistant factors, help desk tickets about MFA per thousand users, average time to recover a lost factor, and the number of logins that still bypass MFA. Account compromise incidents before and after are the outcome measure leadership cares about. When support load jumps after a wave, we pause the next wave and fix the cause, usually unclear communication or a confusing enrolment page.

7Follow-up questions

Should we use SMS codes at all?

For staff, no, except perhaps as a short-lived fallback during enrolment. For customers, SMS is still better than no second factor for people who cannot use anything else, but we treat it as the weakest option and add fraud checks around it.

How do we handle a senior executive who refuses?

By making the case in their terms, the risk to the company and to them personally, and by making it easy, for example a security key set up by IT in five minutes. Exceptions for executives are dangerous because they are the most targeted accounts, so any exception needs an owner, a reason and an end date.

What about applications that cannot connect to the identity provider?

We put them behind an identity-aware proxy that enforces login with MFA before forwarding requests, restrict their network exposure, and give them a retirement or replacement date.

8Conclusion

In this answer, we planned a company-wide MFA rollout: central authentication in an identity provider so MFA is built once, phishing-resistant factors for staff and high-risk users, recovery and accessibility planned before launch, waves by risk with communication and grace periods, bypasses through legacy protocols, API keys and service accounts closed with their own controls, and metrics on adoption, support load and remaining bypasses that decide the pace.

What to say in the interviewAbout 80 seconds aloud

Open with

I would start by centralising authentication, because MFA built into every application separately never ends well. So step one is an inventory of applications and getting them behind one identity provider with OIDC or SAML; those that cannot move go behind an identity-aware proxy.

Then, if they want more

Then I would choose factors by risk: phishing-resistant passkeys or security keys for admins, people with production access, finance and executives; passkeys or authenticator apps for other staff; and for customers passkeys encouraged, with SMS only as a fallback.

Before launch I would design recovery, because lost devices are guaranteed and the help desk is where attackers try: two registered factors per person, an identity-checked reset process and alerts on factor changes, plus alternatives for people who cannot use a given factor.

The rollout goes in waves: a pilot with IT and security, then privileged users, then departments, then customers gradually, each with clear communication, an enrolment period and a short grace period. I would close bypasses: legacy email protocols, VPNs, API keys and service accounts, which need short-lived scoped credentials or workload identity instead of passwords.

Throughout I would measure enrolment, the share of logins with MFA and with phishing-resistant factors, support tickets, recovery time and remaining bypass logins, and pause a wave when support load spikes.

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 "How would you roll out mandatory MFA across all internal and customer-facing...": https://scrivio-interview-library.netlify.app/spring-boot/authentication/e2beea4ecc/