Real Interview Questions for the Data Engineer at Mercado Libre
NewPractice MCQs
Answers count toward the Data Engineer and overall leaderboards; your latest answer to each question is the one that counts.
MCQ-1A last-mile courier in Buenos Aires handles about 4,000 parcels a day, and 6% miss their promised delivery slot. A model trained on three months of scan logs can flag likely misses, but a wrong van reassignment wastes about 40 driver minutes, while a wrong customer notice costs one text message. Which first use of AI fits this situation?
Answer to see the discussion.
MCQ-2A checkout store is sharded by buyer_id across eight Postgres shards. A flash sale offers 200 units of one listing to 5,000 buyers within a minute. Each checkout must add the item to a cart on the buyer's shard and decrement stock without overselling. Which placement keeps the 200-unit count exact while carts stay on buyer shards?
Answer to see the discussion.
MCQ-3A Node.js 20 endpoint takes a JSON body with a DNA string and returns how many times the motif `ATA` occurs, overlapping matches included. A client posts `ATATA` and the handler counts with `s.split('ATA').length - 1`, which returns 1. Which change makes the endpoint return 2 for this input?
Answer to see the discussion.
MCQ-4A Node.js 20 API runs four identical processes behind a round-robin load balancer. Each process enforces a fixed-window limit of 100 requests per minute per API key, held in an in-memory `Map` with no shared store. One key sends a steady 200 requests inside a single one-minute window. How many requests does the limiter admit and how many does it reject?
Answer to see the discussion.
Curated: · Written: · Reviewed: