All jobs / Mobile developer / Security
Mobile developer interview question · 5+ years
When does the org require certificate pinning?
The strongest answer
On the few hosts that carry high-value sessions, with a rotation runbook and an owner — not “pin the internet,” and not “never pin because it is hard”
Why it works
Exactly. Pinning is a scoped control with an owner. Ideology either way is how you brick or leak.
What a good answer covers
- Scope pins to high-value hosts.
- Name an owner and a rotation.
- Do not pin third parties.
- Do not leave it as a debug toy.
Answers that fall short
- Close, but not the strongest: On every host including CDNs and crash reporters
Broad pins are an outage generator. - Weak: Never; pinning is obsolete in 2026
Pinning is still used for high-value channels; it is not magic and not dead. - Red flag: Only in debug so QA can catch MITM on coffee-shop Wi-Fi
Debug-only pinning protects nobody in the field.
Who gets asked this
More Security questions
- Growth wants a new attribution SDK that wants IDFA, a full photo dump, and its own WebView. What is the bar?
- When do you ask for camera permission?
- A junior wants to “add certificate pinning to everything” this week. What is the right first move?
- A partner API needs a secret key, and a teammate puts it in a constants file in the app. What do you say?
- You will pin your API. What else ships in the same change?
- Camera grant rate is poor and denied-forever is high. How do you work it?
- A pin mismatch will brick the app on a bad deploy. What is your break-glass?
- You need to prove the device still holds a user key after a biometric. Where does the key live?