Code Review and Working with Existing Codebases Questions

Reviewing others' code and navigating unfamiliar systems: giving and receiving actionable review feedback, spotting correctness and design issues, and reading and understanding large or legacy codebases before changing them. Covers collaborative coding norms, incremental change in shared repositories, and verifying changes against existing behavior. The team-facing side of day-to-day engineering.

HardTechnical
62 practiced

Advanced technical domain: A long-running monitoring agent has a memory leak in production. As a reviewer of the agent's codebase, describe the steps you would take to identify leaking code during review: which profilers and CI checks to add, which code patterns to look for (circular refs, global caches, goroutine leaks), and what automated tests or metrics would catch regressions early.

MediumTechnical
77 practiced

As part of a code review, you are asked to ensure that a change respects the team's API stability policy. Describe how you would verify backwards compatibility, what kind of tests you'd want in place, and how you'd document and communicate an intentional breaking change to downstream consumers.

MediumTechnical
67 practiced

Medium: Create a short rubric (4–6 criteria) you would use to evaluate code clarity during code review that balances readability, performance, and maintainability. Explain how you weight conflicting criteria when they trade off.

MediumTechnical
74 practiced

You are reviewing a new REST endpoint PR. Describe a complete test strategy to validate behavior, including unit tests, integration tests, contract tests, load tests, and edge case tests. For each test type give a concrete example case that must be covered and what the reviewer should verify in the test code.

MediumTechnical
70 practiced

When reviewing code that touches user data storage and retrieval, what privacy and data-protection checks should you perform, and what would you want to see as concrete verification (not just an assurance) for each one?

Unlock Full Question Bank

Get access to all Code Review and Working with Existing Codebases interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.