All jobs / Embedded / hardware / Firmware Architecture
Embedded / hardware interview question · 5+ years
What is in an OTA threat model you will sign?
The strongest answer
Who can sign, what happens if we lose the key, and what a hostile image must not be able to do — I do not skip this because “it is just an update”
Why it works
Exactly. Signers, loss, hostile image. HTTPS-only and CDN-trust are 2016 answers.
What a good answer covers
- Signers, key-loss, hostile image.
- HTTPS ≠ the whole model.
- No single fleet key in CI.
- Do not outsource trust to the CDN.
Answers that fall short
- Close, but not the strongest: A hope that HTTPS is enough forever
Transport is not the whole chain. - Weak: A single fleet key in CI
One CI key is one leak. - Red flag: No model; we trust the CDN
CDNs have been surprised before.
Who gets asked this
More Firmware Architecture questions
- What boundary do you set, and what do you hold the team to?
- A third-party blob must go in the image. What do you require?
- When do you stop OTA-supporting a SKU?
- An update will disable a feature people paid for. What do you do?
- A device must live ten years in a closet. What do you plan now?
- You wait for a bit in a `while (1)` with no timeout. What is wrong?
- When is `delay_ms(100)` acceptable, and when is it a smell?
- Describe how a super-loop firmware should be structured.