Skip to content
Tech Interview Prep

Real Interview Questions for the Product Engineer at Constellation Software

New

Practice MCQs

Answers count toward the Product Engineer and overall leaderboards; your latest answer to each question is the one that counts.

18 questions · Flow follows Relevance until this set has a learning order.

MCQ-1A function must reverse `1 -> 2 -> 3` in place, reusing the same nodes, and return the new head. It is also called with `null` and with a single node, and must not crash on either. What list and head does it return for the three-node list?
Difficulty: Easy
MCQ-2A mobile client needs a new stateless JSON endpoint with no cookies, session, or ViewState, and the team must unit test it without running a page lifecycle. The existing admin area is Web Forms with postbacks. Which framework choice fits the new endpoint?
Difficulty: Easy
MCQ-3A bank partner will integrate `transferFunds` as an RPC-style operation and requires a formal WSDL contract plus WS-Security message signing for audit. The team needs generated stubs from that contract and does not need cacheable resource GETs. Which protocol design fits this integration?
Difficulty: Easy
MCQ-4A product page runs one query for the product and then one review query per review, 51 queries in total, taking 800 ms while the product query plan is an index scan taking 3 ms. Database CPU is 12% and the review queries each take 4 ms. What change most directly cuts the page latency?
Difficulty: Medium
MCQ-5A payments service has pricing logic copied across three modules, and recent 600-line pull requests without tests keep introducing defects in the copied branches. The team can fund one practice this sprint before release. Which practice most directly prevents the recurrence?
Difficulty: Medium
MCQ-6A product engineer answers a challenge question: checkout p99 was 900ms, root cause was N+1 review queries, fix batched them. The draft states all three but never says what latency became, and the interviewer asks how they knew it worked. Which revision best answers that probe?
Difficulty: Easy
MCQ-7Your teammate, the sole approver for this API, has rejected your pull requests without explanation for two days. He is online only this afternoon before a week of leave, and the release ships in three days, and you have not yet spoken to him directly. What do you do this afternoon?
Difficulty: Medium
MCQ-8You are the product engineer for a billing release due Friday, when a regulatory fix must ship or the company faces a fine. A key customer feature is also promised for Friday, but its scope can be cut without breaking the contract, and both cannot be finished by one engineer. What should you do first?
Difficulty: Easy
MCQ-9A product engineer can join a small autonomous team owning one product for several years, with success measured by customer retention and little day-to-day supervision. The alternative pays a quarterly bonus for feature count with frequent reassignment between projects. Which choice best sustains strong performance?
Difficulty: Easy
MCQ-10A payments service deployed v2 at 14:00 and now returns 500s on 12% of checkouts. Rolling back the application to v1 left errors unchanged, and logs show v1 inserts failing on a new `region` column added by v2's migration, which is `NOT NULL` without a default. What is the safest next action?
Difficulty: Medium
MCQ-11A legacy order system handles all checkout traffic and has almost no automated tests for its pricing rules. Pricing code is tightly coupled to checkout database writes, and rule changes are pushed as global config to every server. The team must replace the pricing engine without a checkout outage, and a faulty new rule must be reversible within minutes. Which rollout fits those constraints?
Difficulty: Hard
MCQ-12A checkout service's p99 rose from 120ms to 950ms after a deploy, while database p99 stayed at 30ms and the error rate stayed flat. Traces show the extra time inside a new recommendation call returning 4MB payloads for 10% of sessions, and those sessions account for almost all slow checkouts. What should the engineer do next?
Difficulty: Medium
MCQ-13A product engineer ships a reporting dashboard the client approved from a mockup, but on handover the client says the numbers refresh hourly, not live as they assumed from the demo. The release is live, the client is frustrated, and the contract allows a two-week correction window. What is the best first response?
Difficulty: Medium
MCQ-14A catalogue service serves 20,000 reads per second for 100 hot SKUs and 200 writes per second, with database CPU at 98% and a cache hit rate near zero. Traffic will triple next quarter and the team cannot shard the database this quarter. What change most directly relieves the database?
Difficulty: Easy
MCQ-15A service scans `s = "abca"` with a sliding window and a map from each character to its last index. When the second `a` is reached, the window still holds the first `a` at its left edge. How should the left pointer move to keep the window repeat-free?
Difficulty: Medium
MCQ-16A lookup service searches sorted `arr = [10, 20, 30, 40, 50]` for `35` with `lo = 0`, `hi = 4`, `while lo < hi`, `mid = (lo + hi) // 2`, narrowing to `lo = mid + 1` or `hi = mid`, then returns `lo` only if `arr[lo] == 35`, otherwise a not-found sentinel. What does the search return for `35`?
Difficulty: Medium
MCQ-17A service indexes orders by a mutable `Order` object used as a hash-table key, computing the hash from its total. After totals are updated in place, existing orders can no longer be found, though no entries were removed. Which change restores reliable retrieval for updated orders?
Difficulty: Medium
MCQ-18A service ingests batches of 20,000 IDs, and for each ID runs `seen.includes(id)` on an array `seen` before pushing it. Latency is fine at 2,000 IDs but p99 rises roughly 100x at 20,000 IDs. Which change fixes the scaling?
Difficulty: Easy

Curated: · Written: · Reviewed: