Skip to content
Tech Interview Prep

Real Interview Questions for the Software Engineer at Allegro

New

Practice MCQs

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

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

MCQ-1A candidate with three years building checkout and seller tools for Polish SMEs is interviewing for an Allegro Software Engineer role focused on marketplace seller experience. Which motivation shows genuine fit for Allegro's mission?
Difficulty: Easy
MCQ-2A product team tests Redis caching for product pages. The canary cuts p95 latency from 420 ms to 180 ms and DB CPU from 78% to 41%, but 0.4% of requests show stale prices because entries live 10 minutes. Which decision does the data support?
Difficulty: Medium
MCQ-3A software engineer fixing a checkout timeout notices the order-status query scans a large table on every request, yet no ticket covers it and the service owner is on leave. A release freeze starts in two days, and the fix is a small indexed query change. What is the best proactive action?
Difficulty: Medium
MCQ-4A seller team sets a goal to raise activation, defined as a seller listing a first item within seven days of signup. Baseline is 42% over the last month, target is 55% by end of quarter, and returns must not rise. Which measurement definition should they adopt?
Difficulty: Easy
MCQ-5A worker thread builds a `Config`, sets its plain `int limit`, then sets a plain static `boolean ready` to true. A reader thread polls `ready` without `volatile` or synchronization while G1 periodically traces from roots to decide reachability. What can the reader observe?
Difficulty: Hard
MCQ-6A Java service submits one million increment tasks to an 8-thread `ExecutorService`, each doing `counter++` on a shared `long`, and the final total is consistently below one million. Pool threads must never block on each other, extra memory must stay constant, and any task may run on any pool thread. Which fix guarantees the exact total?
Difficulty: Medium
MCQ-7A checkout caller has a 1200 ms end-to-end budget and calls a pricing service over HTTP. That service's p95 rose from 180 ms to 850 ms, and retries currently have no timeout or backoff. Which timeout and retry setting keeps the caller within budget without amplifying load?
Difficulty: Medium
MCQ-8A `DiscountService.apply(total, percent)` returns `total - total * percent / 100` with no validation, and a review cart with total 100 and percent 150 returned -50, which finance flagged as a negative charge. Which test should block the merge?
Difficulty: Easy
MCQ-9A marketplace has 80,000 sellers polling `GET /seller/orders/count` every 3 seconds, and each request runs `COUNT(*)` on a 400M-row orders table, pushing DB CPU to 95% at peak. Counts must be fresh within 1 second and a seller must never see another seller's total. Which design meets both constraints?
Difficulty: Medium
MCQ-10A product-page chat stores each buyer message, then acknowledges the client. A buyer on a flaky mobile connection retries after a timeout on a new connection, and the seller receives the same text twice because the first send had already been stored, although the buyer also sends identical short texts as separate messages. Which mechanism prevents the duplicate in this retry path?
Difficulty: Hard
MCQ-11A seller publishes an offer on Allegro and expects buyers to find it via search within about a minute, while publication must not wait for search indexing. The catalogue has millions of offers and search traffic is far higher than publication traffic. Which path should the team build?
Difficulty: Medium
MCQ-12A buyer messages a seller about delivery for order `A-1042`, then reopens the same thread after delivery to dispute a missing item. The seller has many orders under the same offer, and support must retrieve only this shipment's messages. Which conversation scope should the design use?
Difficulty: Medium
MCQ-13A checkout service receives `POST /payments` with `Idempotency-Key: pay-8841` for order `A-1042`. The gateway accepts no idempotency key, its status lookup lags charges by minutes, Redis is an evicting cache, and the client sends two concurrent retries after the first times out post-charge. What server behavior ensures one charge?
Difficulty: Medium
MCQ-14A marketplace promises a delivery date at checkout from a carrier estimate. After purchase but before dispatch, the carrier reports a hub delay that moves arrival three days later, and buyers can cancel free until dispatch. What should the delivery-date service do with the promised date?
Difficulty: Medium

Curated: · Written: · Reviewed: