Mock Interview Rounds 9–15
Round 9 — Security Interview
Target duration: 50 minutes
Prompts
- Threat-model an API dashboard.
- Explain XSS sinks, CSP and Trusted Types.
- Explain why CORS is not authorization.
- Review token/storage and third-party dependency risks.
Scoring rubric
- Trust boundaries 35%
- Browser security 30%
- Mitigations 20%
- Communication 15%
Pass signal
The candidate can state assumptions, derive behavior from language/host rules, identify failure modes, and explain at least one trade-off or test strategy. Senior/staff rounds require architecture and organizational consequences, not only syntax.
Round 10 — Debugging / Incident Interview
Target duration: 60 minutes
Prompts
- Production memory climbs after route changes.
- Requests duplicate after a UI refactor.
- A cyclic module fails only in one path.
- A browser release changes performance characteristics.
Scoring rubric
- Evidence gathering 25%
- Hypothesis quality 25%
- Root-cause reasoning 30%
- Regression prevention 20%
Pass signal
The candidate can state assumptions, derive behavior from language/host rules, identify failure modes, and explain at least one trade-off or test strategy. Senior/staff rounds require architecture and organizational consequences, not only syntax.
Round 11 — Library / API Design Interview
Target duration: 60 minutes
Prompts
- Design a cancellable SDK method.
- Define public errors and retry semantics.
- Plan a breaking API migration.
- Explain ESM side effects and compatibility targets.
Scoring rubric
- API contracts 30%
- Evolution 25%
- Async/error semantics 25%
- Compatibility 20%
Pass signal
The candidate can state assumptions, derive behavior from language/host rules, identify failure modes, and explain at least one trade-off or test strategy. Senior/staff rounds require architecture and organizational consequences, not only syntax.
Round 12 — Live Coding JavaScript
Target duration: 60 minutes
Prompts
- Implement a concurrency limiter.
- Implement a tiny EventBus with unsubscribe/once.
- Write a safe object-key merge policy.
- Add focused tests and discuss edge cases.
Scoring rubric
- Correctness 35%
- Tests 20%
- Complexity 15%
- API clarity 20%
- Communication 10%
Pass signal
The candidate can state assumptions, derive behavior from language/host rules, identify failure modes, and explain at least one trade-off or test strategy. Senior/staff rounds require architecture and organizational consequences, not only syntax.
Round 13 — Architecture Interview
Target duration: 75 minutes
Prompts
- Design a large modular browser application.
- Define domain/infrastructure boundaries.
- Plan runtime validation and observability.
- Handle offline/stale/race scenarios.
Scoring rubric
- Boundary design 30%
- Failure modes 25%
- Data ownership 20%
- Evolution/testability 25%
Pass signal
The candidate can state assumptions, derive behavior from language/host rules, identify failure modes, and explain at least one trade-off or test strategy. Senior/staff rounds require architecture and organizational consequences, not only syntax.
Round 14 — Staff JavaScript / Platform Interview
Target duration: 75 minutes
Prompts
- Define organization-wide JS target policy.
- Design shared-library governance.
- Set performance/security quality gates.
- Plan incremental modernization from legacy JS.
Scoring rubric
- Org-level impact 30%
- Policy + trade-offs 25%
- Migration strategy 25%
- Technical depth 20%
Pass signal
The candidate can state assumptions, derive behavior from language/host rules, identify failure modes, and explain at least one trade-off or test strategy. Senior/staff rounds require architecture and organizational consequences, not only syntax.
Round 15 — Full Final Mock Interview
Target duration: 120 minutes
Prompts
- 20-minute fundamentals/spec drill.
- 25-minute async/browser debugging.
- 25-minute live coding.
- 30-minute system design.
- 20-minute production/behavioral review.
Scoring rubric
- Fundamentals 20%
- Async/browser 20%
- Coding 20%
- Architecture 25%
- Production communication 15%
Pass signal
The candidate can state assumptions, derive behavior from language/host rules, identify failure modes, and explain at least one trade-off or test strategy. Senior/staff rounds require architecture and organizational consequences, not only syntax.