Skip to main content

Mock Interview Rounds 9–15

Round 9 — Security Interview​

Target duration: 50 minutes

Prompts​

  1. Threat-model an API dashboard.
  2. Explain XSS sinks, CSP and Trusted Types.
  3. Explain why CORS is not authorization.
  4. 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​

  1. Production memory climbs after route changes.
  2. Requests duplicate after a UI refactor.
  3. A cyclic module fails only in one path.
  4. 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​

  1. Design a cancellable SDK method.
  2. Define public errors and retry semantics.
  3. Plan a breaking API migration.
  4. 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​

  1. Implement a concurrency limiter.
  2. Implement a tiny EventBus with unsubscribe/once.
  3. Write a safe object-key merge policy.
  4. 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​

  1. Design a large modular browser application.
  2. Define domain/infrastructure boundaries.
  3. Plan runtime validation and observability.
  4. 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​

  1. Define organization-wide JS target policy.
  2. Design shared-library governance.
  3. Set performance/security quality gates.
  4. 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​

  1. 20-minute fundamentals/spec drill.
  2. 25-minute async/browser debugging.
  3. 25-minute live coding.
  4. 30-minute system design.
  5. 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.