Real Interview Questions for the Software Engineer at Atlassian
NewPractice MCQs
Answers count toward the Software Engineer and overall leaderboards; your latest answer to each question is the one that counts.
MCQ-1A Jira-like system has 50 million issues and 200k tags, with tags created ad-hoc by users and searched with AND/OR filters. Deleting an issue must not leave unused tags, and tag search must stay fast as tags grow. Which storage model should the team choose?
Answer to see the discussion.
MCQ-2An agent-rating service records 20 million scores from 1 to 5 for 5,000 named agents, with new scores arriving continuously and ranking by average descending requested 100 times per second. Rankings must reflect the latest score immediately. Which storage design keeps updates and ranking fast at this scale?
Answer to see the discussion.
MCQ-3A rate limiter allows 5 requests per 10-second sliding window per key, storing each allowed timestamp. Requests at t=0, 2, 4, 6, 8 seconds are allowed, and another arrives at exactly t=10 seconds. What should an exact sliding-window log decide for the t=10 request?
Answer to see the discussion.
MCQ-4A balanced binary tree holds 1,000,000 nodes and both target nodes are present. A recursive LCA visits each node once, recursing to the deepest level before returning. What are its time and stack-space complexities?
Answer to see the discussion.
MCQ-5A multi-app service issues globally unique IDs through `generateRandom()` and `generatePreferred(id)`, where clients supply an exact external ID they will reference later. A preferred ID may already be issued to another app, and random IDs must never collide with any issued ID. What should `generatePreferred(id)` do when its ID already exists?
Answer to see the discussion.
MCQ-6A Jira-like service fans out one issue update to 20,000 watchers via email and push, using two providers whose deduplication windows last five minutes. Provider retries after timeouts can arrive hours later, email recipients have no client app to deduplicate on, and dropping a notification is worse than a rare duplicate. Which delivery design prevents duplicates without losing notifications?
Answer to see the discussion.
MCQ-7A file service holds 10 million files in nested folders and must return a folder's total size including subfolders in under 50 ms, while folder moves must not rewrite every descendant file. Which metadata layout should the team use?
Answer to see the discussion.
MCQ-8A spreadsheet holds 20,000 cells where `B2` feeds `C2`, which feeds `D2`, and so on through a long chain, while most cells are unrelated constants. A user edits `B2` and expects dependent totals to update without freezing the sheet. Which recalculation strategy should the engine use for this edit?
Answer to see the discussion.
MCQ-9An image service must handle 20,000 uploads per minute, each up to 10 MB, and serve originals plus three resized versions through a CDN. Uploads must not block on resizing, and the app tier should not relay image bytes. Which upload flow should the team build?
Answer to see the discussion.
MCQ-10A team poll ranks teams by total votes, breaking ties by the earlier time a team reached its final total, then alphabetically. Alpha and Beta both finish on 12 votes, Alpha reaching 12 at 10:02 and Beta at 10:05, while Gamma finishes on 9 votes. What is the final ranking?
Answer to see the discussion.
MCQ-11A space grants the `Viewer` role permission to view pages to all staff. Page `Oncall` has a resource-level ACL allowing only the `SRE` group, and Maya is staff but not in `SRE`. She requests `Oncall` directly, so which evaluation model should the authorization service use for her?
Answer to see the discussion.
MCQ-12A Confluence feed must return the top 20 posts from the last 24 hours, scoring views as 1, likes as 5 and comments as 10, with engagement decaying as it ages. It receives 50,000 events per minute and must answer within 100 ms for any configurable window. Which storage and scoring design meets both constraints?
Answer to see the discussion.
MCQ-13Two threads concurrently move the same user between Group A and Group B in opposite directions, each locking its source group before its destination group. Both operations must leave membership consistent without deadlocking, and unrelated group updates must proceed concurrently. Which locking discipline should both threads follow?
Answer to see the discussion.
MCQ-14A capacity-3 LRU cache runs `put('A',1)`, `put('B',2)`, `put('C',3)`, `put('B',20)`, `get('A')`, then `put('D',4)`. After the final put, which key was evicted and what is the most-to-least recent order?
Answer to see the discussion.
MCQ-15A service merges `k = 100` sorted lists of 1,000 integers each into one sorted list, so `N = 100,000` elements total. It must run repeatedly in a hot path. Which complexity does a min-heap merge achieve for this workload?
Answer to see the discussion.
MCQ-16A snake on a 20x20 grid moves right each tick, and its head's next cell is currently occupied by its tail segment. No food is eaten this tick, so the tail will move away as the snake advances. What should the move logic do about collision detection?
Answer to see the discussion.
MCQ-17A trading feed emits price ticks for one symbol with event timestamps arriving out of order by up to 5 seconds and duplicate ticks for the same timestamp. The service must answer the maximum price in the trailing 60-second window within 5 ms at 100,000 ticks per second. Which structure should it maintain?
Answer to see the discussion.
MCQ-18A feed sends commodity ticks out of order, and a repeated timestamp is a correction replacing the earlier price, higher or lower. Queries for the current maximum arrive interleaved at high volume. Which in-memory structure should the service maintain?
Answer to see the discussion.
MCQ-19Your prototype showed a latency regression, but you disagreed with your lead's rewrite plan without testing your migration assumptions. The lead proceeded, the rewrite shipped late, your concern proved valid, and the prototype data and decision rationale are already in the shared doc. The retrospective must produce one process change for the next migration, which starts next week with no time for a follow-up experiment. What should you propose?
Answer to see the discussion.
MCQ-20An AI coding agent refactors retry logic in an unfamiliar payments service and reports success. Its diff touches 14 files, including one test file, and the original suite passes locally. The release is due tomorrow and the agent's summary lists no edge cases checked. What should the engineer do before merging?
Answer to see the discussion.
Curated: · Written: · Reviewed: