
Real Interview Questions for the Cloud Engineer at Logitech
NewPractice MCQs
Answers count toward the Cloud Engineer and overall leaderboards; your latest answer to each question is the one that counts.
MCQ-1A stateless API serving EU users must remain available if one Availability Zone fails, keep p99 latency under 80 ms, and use the lowest-cost setup meeting both. Evening traffic spikes tenfold. Which deployment topology should the team choose?
Answer to see the discussion.
MCQ-2A Logitech firmware service must push new mouse firmware to 4 million devices across three hardware models, with no physical access for recovery. A 1% canary shows higher disconnects, and devices lose power during flashing about 0.1% of the time. Which rollout design should the team choose?
Answer to see the discussion.
MCQ-3Logitech's store expects a flash sale driving ten times normal checkout traffic, with limited stock for a featured mouse and a payment gateway that slows under load. Orders must never oversell stock, yet checkout should not block on payment latency. Which inventory and payment design fits?
Answer to see the discussion.
MCQ-4A fleet of 4 million Logitech mice reports battery percentage every 10 minutes over MQTT, and owners must be alerted in real time below 20% without repeated alerts for a device hovering at 19-21%. Raw reports are retained for 7 days for debugging. Which alerting rule should the team implement?
Answer to see the discussion.
MCQ-5A checkout API runs 10 instances and receives 2,000 requests per minute. A flash sale announced one minute beforehand drives it to 40,000 requests per minute instantly, while new instances need four minutes to become healthy and the database allows 500 connections in total. Which change best prevents failure during the spike?
Answer to see the discussion.
MCQ-6At 14:00 users report checkout p99 rising from 120 ms to 900 ms, with no rise in errors. CPU is 35% across 10 instances, database active connections sit at its 500 limit, and a 13:55 deploy doubled connections opened per request. What is the first mitigation?
Answer to see the discussion.
MCQ-7A Go service handling 5,000 req/s has p99 latency of 380 ms against a 150 ms target. CPU profiling shows 68% of time in JSON encoding, heap stays at 900 MB of a 2 GB limit, and the team can ship one change this week. Which optimization should the team ship first?
Answer to see the discussion.
MCQ-8A Logitech storefront must serve personalized recommendations at 20,000 requests per second with a 50 ms p99 budget and a fixed compute budget. The catalog has 5,000 products, but only 200 users account for most traffic. Which retrieval and ranking design fits these constraints?
Answer to see the discussion.
MCQ-9A Logitech checkout monolith is being split into orders, payments, inventory, and notifications services. Checkout must complete when the notifications provider is down, but must not complete when payment authorization fails, and inventory rules change weekly. Which boundary gives that isolation?
Answer to see the discussion.
MCQ-10A C helper sets `int x = 42; int *p = &x; int **pp = &p;` then reassigns `p = NULL;` before evaluating `**pp` in a printf. What does that evaluation do?
Answer to see the discussion.
MCQ-11A C helper allocates `table` plus 100 separate row allocations, then shutdown runs `for (i = 0; i < 100; i++) free(table[i]); free(table); free(table);` What is the result of that shutdown sequence?
Answer to see the discussion.
MCQ-12A C++17 service holds a stack `Config cfg` and calls `loadConfig` to update its fields in place from a file. When the file is missing there is no config to update and the call must do nothing. Which parameter type lets the function handle both calls?
Answer to see the discussion.
MCQ-13A C parser does `buf = malloc(4096); cfg->buf = buf; free(buf); cfg->buf[0] = '\0';` and returns `cfg` to the caller, which never frees `cfg->buf`. What is the primary defect in this sequence?
Answer to see the discussion.
MCQ-14A checkout API must respond within 200 ms, while the customer must receive payment, shipment, and delivery emails in that exact order. Each email provider call takes about 300 ms, and parallel calls finish in varying order. Which execution model should the team use?
Answer to see the discussion.
MCQ-15A firmware service searches a sorted `versions` array of 1,000,000 entries for a target that may be absent, with `lo = 0`, `hi = len(versions)`, looping while `lo < hi` and returning `lo`. It computes `mid` from `lo` and `hi` each iteration. Which `mid` and bound updates preserve the `[lo, hi)` invariant and guarantee termination?
Answer to see the discussion.
MCQ-16A service compares two 20,000-character strings for their longest common substring under a 64 MB memory budget for the computation. A full table would hold one integer per pair of positions. Which dynamic programming state should the implementation keep?
Answer to see the discussion.
MCQ-17A gateway receives mouse events at 1,000 per second per device and must flag a double-click within 500 ms, but it can keep only a few fields per device in memory. Which detection approach fits these constraints?
Answer to see the discussion.
MCQ-18A nightly job must compute the top 10 similar products for each of 20,000 users against a catalog of 50,000 products with 64-dimensional preference vectors. It runs on one machine with 16 GB of RAM and must finish within six hours, and product vectors change daily so precomputed pair scores go stale. Which approach should the job use?
Answer to see the discussion.
MCQ-19A catalog lists `mouse` with tags `wireless, usb, black`, `keyboard` with `wireless, usb, white`, `headset` with `wireless, bluetooth, black`, and `speaker` with `wired, usb, black`. A query requires `wireless` and `usb` and excludes `black`. Which products should the function return?
Answer to see the discussion.
MCQ-20An MX Master on a USB receiver disconnects three to five times per hour. Options+ logs show its background service restarting two seconds before each disconnect, while receiver logs show no packet loss, battery at 80%, and firmware current. What does the log sequence indicate?
Answer to see the discussion.
Curated: · Written: · Reviewed: