A service account is the easy answer and the wrong one. The interviewer wants both identities visible in every call, scoped to the task, and revocable by the user.
What would you say before reading the answer?
- 01 State the assumptions your answer depends on.
- 02 Explain the mechanism and choose a control.
- 03 Name a condition that would change your decision.
The worked answer includes an approach, scoring criteria and follow-up questions. Compare the reasoning with your own.