skip to content

An engineer left a month ago and their production cloud access still worked — which access review failed, and what evidence would prove it now runs?

level: seniorimportance: should knowfreq 38%

answer

  1. the directory disable was only half
  2. in-account principals outlive the person
  3. event-driven leg against periodic reconciliation
  4. match every principal to a current owner
  5. a dated list, a named reviewer, removals

basics

~20 s

The leaver leg of joiner-mover-leaver failed: nothing reconciled the account's own principals back to the company directory, so something created inside the account outlived the person. Evidence is a dated reconciliation naming every principal, its matched owner, the reviewer, and what was removed.

solid answer

~50 s

Two reviews are implicated and they fail differently. The **leaver** leg of joiner-mover-leaver is event-driven: departure disables the directory account, which stops federated sign-in but touches nothing created *inside* the account — a local login, a static key, an integration credential. The **periodic recertification** exists to catch exactly that residue and evidently did not run, or ran without reconciling. The fix is a reconciliation: list every principal the account itself holds, match each to a current person or a named owning system, and remove or claim the unmatched. The evidence an auditor or an interviewer will accept is not a message saying it was done — it is a dated list of every principal with its matched owner, the reviewer's name, the exceptions with an owner and an expiry, and the record of what was actually removed as a result.

go deeper

for a junior

Know that removing someone's directory account is not the end of offboarding, because anything created inside a cloud account itself keeps working until somebody looks for it.

for a middle

Distinguish the two mechanisms: an event-driven leaver step that follows a departure, and a periodic reconciliation of every principal an account holds against current people.

for a senior

Show what you would actually run — enumerate the account's own principals, match each to an owner, remove the unmatched — and state the evidence standard: dated list, named reviewer, disposition per line.

for a principal

Decide how much this control costs the organisation. Reviews consume senior attention and decay into rubber stamps, so the lead's job is to shrink what must be reviewed rather than to review more often.

## Why access outlives the person Offboarding usually starts and stops at the company directory: the directory account is disabled, every federated sign-in path stops, and the checklist is ticked. That is genuinely most of the job, and it is also why the residue is invisible. Anything that authenticates **against the account itself** never consults the directory and is therefore untouched by the disable: a local platform login created before federation arrived, a long-lived static key made by one, a credential handed to an integration on someone's behalf, or an exception granted directly to a person during an incident and never withdrawn. A month later, that is what is still working. Nothing malfunctioned; the process simply never looked in the account. ## Which review this is | Leg | Trigger | What should happen | The usual failure | |---|---|---|---| | Joiner | a person starts | added to the groups their role implies; no account is edited | over-granting on day one by copying someone senior | | Mover | a person changes role | old groups removed as new ones are added | the old access is never removed, so access accretes | | Leaver | a person departs | directory account disabled, then the accounts reconciled | only the first half happens | | Recertification | a calendar date | every principal matched to a current owner | it runs as a rubber stamp, or not at all | The leaver leg is **event-driven** and fast but only reaches what the directory knows about. Periodic recertification is **slow and complete**: it is the only one that looks at what the account holds and asks who owns it. You need both, and this incident is what it looks like when the second one is missing. The mover leg is worth naming too, because it is where access quietly accumulates on people who are still there — a review that only ever looks at leavers will keep finding nothing while the real problem grows. ## The reconciliation that closes it 1. **Enumerate what the account itself holds**: every local login, every static key with its age and last use, every grant made directly to a person rather than through a group, and every credential held by an integration. 2. **Match each one to a current directory person or a named owning system.** Anything that cannot be matched is the finding. 3. **Act on the unmatched** — remove it, or give it a named owner and an expiry date if it genuinely must stay. 4. **Feed the leaver process** with what you learned, so the next departure checks the same places automatically instead of relying on the quarterly sweep. 5. **Keep the output**, because the output is the evidence. Run the same reconciliation in the other direction as a sanity check: for a sample of recently departed people, actively try their old paths. A review that only reads lists will miss a path that is not on any list you thought to pull. ## What counts as evidence The question 'how do you know the review happened' has a specific, checkable answer, and in a regulated business somebody will ask it: - **A dated record** for each account, naming the account and the period it covers. - **The complete list** of principals as they were on that date — not a summary, and not only the ones that changed. - **A named reviewer** who is accountable for the account, and who is not the same person as the one whose access is being reviewed. - **The disposition of every line**: kept, removed, or kept as an exception with an owner and an expiry. - **The removals actually carried out**, traceable to the record of management calls that performed them. A chat message saying 'reviewed, all looked fine' is not evidence of anything except that someone was asked. A review that removed nothing is not automatically wrong, but it is the result that deserves a second look, because on a real estate of any age the first honest reconciliation almost always finds something. ## What an interviewer listens for The weak answer is 'someone forgot to delete the user'. The answer that lands separates the two mechanisms — the event-driven leaver leg against the periodic reconciliation — explains *why* the directory disable was not enough (it only governs the federated path), and then produces the evidence standard without being asked. A candidate who adds 'and I would fix the leaver process so the quarterly review stops being the thing that catches this' is describing the actual repair, since a control that only detects is a control you will be relying on for a month at a time.

  • Which leg of joiner-mover-leaver leaks the most on a long-lived team, and why?
    The mover leg. Departures are noticed because someone hands back a laptop, but a role change is quiet: the new access is granted because the person needs it to work, and the old access is removed by nobody in particular because nothing breaks when it stays. Over a few moves a long-serving engineer accumulates an access profile nobody would have approved in one go.
  • A quarterly review produced no removals at all. Is that good news?
    It is the result that deserves a second look. It is possible on a small, young, fully federated estate. It is unlikely on an old one, and the common explanation is that the reviewer was shown a summary rather than the full list of what the accounts actually hold. Check what was reconciled against, not what was reported.
  • How would you stop this happening again rather than just catching it sooner?
    Remove the places the residue can live: no local logins in the account, no long-lived static keys held by people, and every remaining grant made through a group rather than to an individual. Then departures are handled entirely by disabling the directory account, and the periodic reconciliation becomes a check on that rather than the control that does the work.

saying these in an interview costs you the question

  • Disabling the directory account is the whole of offboarding
  • An annual review is enough for a team that changes every month
  • A review that removed nothing proves the access was correct
  • Reviewers can approve their own team's access in bulk to save time
  • The evidence is the chat message saying the review was done
  • Only leavers need reviewing, since people who stay were already approved