Atlassian interview questions & answers

20 real Atlassian interview questions with full model answers — System design, Behavioral, Technical, Coding. Drawn from the same verified bank ChannelPulse drills from (270 Atlassian questions in total).

BehavioralEasyAtlassian

1. Tell me about a time when you had to collaborate with a team to solve a challenging problem.

The full question

Tell me about a time when you had to collaborate with a team to solve a challenging problem. What was your role, and what was the outcome?

Model answer

Situation In my role as a software engineer at a mid-sized tech company, our team was tasked with developing a real-time data analytics platform for a major client. This project was critical as it was intended to provide advanced insights and visualizations, which were key selling points for our client. The challenge was integrating a third-party data visualization library with our custom backend solution, which required seamless collaboration across multiple teams, including frontend and backend developers, UX designers, and data scientists.

Task I was responsible for ensuring that the integration was smooth and that the platform met the client's expectations for real-time data processing and visualization. The key constraint was the tight deadline, as the client needed the platform ready for an upcoming product launch.

Action

  • I initiated a brainstorming session with all relevant stakeholders, including developers, UX designers, and data scientists, to explore different integration approaches and identify potential roadblocks early on.
  • I facilitated open communication by setting up a shared workspace where team members could continuously update progress and share insights, ensuring everyone was aligned and informed.
  • I coordinated with the UX team to ensure that the user interface was intuitive and aligned with the client's branding, while also supporting the technical requirements of the data visualization library.
  • I led the technical integration efforts, focusing on optimizing data flow between the backend and the visualization library to ensure real-time performance.
  • I organized regular check-ins and feedback sessions with the client to ensure that their expectations were being met and to make adjustments as needed based on their input.

Result We successfully delivered the real-time data analytics platform within the given timeline. The client was delighted with the platform’s user-friendly interface and the advanced visualizations it provided. This project not only met the client's needs but also strengthened our team's ability to collaborate across different disciplines. Reflecting on this experience, I learned the importance of effective communication and collaboration in overcoming complex challenges, which are just as crucial as technical skills in software development.

BehavioralEasyAtlassianGroup Product Manager

2. What product feature are you most proud of?

Model answer

Situation — The feature I’m most proud of was a self-serve account recovery flow for a subscription product. Customers who lost access often contacted support, and the existing recovery process involved several manual steps. I led the product work across design, engineering, security, analytics, and customer support.

Task — My goal was to help legitimate customers regain access quickly while protecting accounts from takeover. The tension was clear: removing friction could improve recovery, but a weak verification flow could create significant security and trust risks.

Action

  • I combined support-contact reasons, funnel data, and customer interviews to identify where people were getting stuck. A large share of recovery attempts failed because customers no longer had access to their original email address.
  • I aligned security and support on the problem before discussing solutions. We agreed on success measures: successful recovery, time to regain access, repeat support contact, and account-takeover rate as a guardrail.
  • I worked with design and engineering to explore several options. We chose a staged flow that offered alternate verification only when risk signals supported it, rather than making every recovery attempt easier in the same way.
  • I pushed for an MVP with clear instrumentation and a holdout group. We launched to a small percentage first, reviewed suspicious activity daily with security, and documented thresholds that would pause the rollout.
  • When the first experiment showed that one step confused customers on mobile, I helped the team simplify its language and layout before expanding. I also ensured support had guidance for the new flow, so the product change did not create an operational surprise.

Result — In the first quarter after launch, successful self-serve recovery increased by 22%, median recovery time fell by 35%, and recovery-related support contacts declined by 18%. Account-takeover rates remained within our pre-agreed guardrail. I’m proud of it not just because the metrics improved, but because product, security, and support made the trade-offs together. It taught me that a strong feature is not simply one customers like; it solves a real problem while earning the trust of the people responsible for its risks.

BehavioralMediumAtlassianEngineering Manager

3. Describe a situation in which your ideas met resistance and explain how you handled it.

Model answer

Situation

On a team of ten engineers, I proposed moving a high-traffic service from a tightly coupled release process toward independently deployable components. Several experienced engineers pushed back: they were concerned that the migration would add operational complexity and distract us from a reliability target we had already committed to. Their concerns were reasonable, and I did not want the discussion to become a contest over whose architecture was more elegant.

Task

I needed to establish whether the proposal addressed a real business and engineering problem, understand the risks behind the resistance, and reach a decision the team could execute—even if it was not my original proposal.

Action

  • I made the disagreement concrete by bringing deployment data: releases required coordinated changes across three teams, and a rollback in one component could force a broader rollback. I asked the skeptics to identify where the proposed design would make incidents harder.
  • I separated the goal from my preferred solution. The goal was to reduce release coordination and limit blast radius; independent deployment was one option, not a commitment.
  • I facilitated a design review where the team compared three approaches against shared criteria: reliability, delivery speed, migration cost, and on-call complexity. This gave quieter engineers room to contribute and surfaced that the largest risk was state ownership, not deployment tooling.
  • Rather than request a large migration, I proposed a time-boxed pilot for one low-risk workflow, with an explicit rollback plan and operational acceptance criteria. A skeptical staff engineer co-owned the review and could recommend stopping the pilot.
  • I communicated the decision, rationale, unresolved risks, and what evidence would change our minds. I also made clear that raising concerns was valuable; once we decided, we would align on the experiment and evaluate the result together.

Result

The pilot reduced the number of coordinated deployments for that workflow and showed that our first design needed a clearer data-ownership boundary. We adjusted the proposal before expanding it, avoiding a broader migration based on an untested assumption. I learned that resistance often contains information about hidden costs; the manager’s job is to make those costs discussable and help the team reach an evidence-based decision.

What interviewers listen for

  • Respectful engagement with dissent, not defensiveness.
  • Clear criteria, options, and a reversible test.
  • Willingness to change the plan based on evidence.
BehavioralMediumAtlassianPrincipal Engineer

4. Describe how you have worked across products and engineering teams.

Model answer

Situation

A product initiative I worked on crossed several product surfaces and multiple engineering teams. Customers experienced it as one workflow, but internally the relevant capabilities had separate roadmaps, service owners, and release cycles. That created a risk of inconsistent behavior and a fragmented launch, even if each team delivered its own component successfully.

Task

I needed to help product and engineering agree on a coherent end-to-end outcome, coordinate the technical boundaries, and preserve each team’s ownership. The challenge was to create alignment without turning the work into a centralized project where every decision waited on me.

Action

  • I mapped the customer journey across products and identified the points where data, permissions, or user expectations crossed team boundaries. I used that map to focus discussion on shared outcomes rather than implementation preferences.
  • I partnered with product leads to define the smallest end-to-end release that would be valuable. We made explicit what was required for the user experience and what could follow, so teams could sequence work without silently dropping important behavior.
  • I worked with engineering leads to document service contracts, ownership, dependencies, and failure behavior. Where teams had different assumptions, I facilitated a decision and recorded the rationale, including the cost of alternatives.
  • I encouraged teams to expose stable interfaces and own their local implementation. For example, rather than dictate a shared internal design, I focused on an API contract and compatibility expectations that allowed teams to ship independently.
  • I established a lightweight cross-team review for risks, integration tests, and rollout readiness. I asked the directly responsible engineers to present status and decisions, which built their leadership and kept me focused on systemic blockers.
  • I made trade-offs visible to product: if a dependency or quality bar changed the date, I presented options in terms of customer impact, risk, and reversibility rather than framing it as an engineering-only constraint.

Result

The teams delivered a consistent end-to-end experience in staged increments, while retaining clear ownership of their services and roadmaps. Integration issues were found before broad release, and the shared contracts reduced repeated negotiation on later work. I learned that working across products is less about coordinating every task and more about aligning the customer outcome, interfaces, decision rights, and measures of success.

CodingEasyAtlassianSoftware Engineer

5. Can Place Flowers (LeetCode)

Model answer

The task

Given a row of plots where 1 marks an occupied plot and 0 an empty one, decide whether at least n flowers can be added without placing flowers in neighboring plots.

Key idea

Scan from left to right, planting in an empty plot whenever both neighboring plots are empty or outside the row. Greedily planting at the earliest available plot cannot reduce the number of later planting opportunities.

Approach

  1. Return True immediately if n is zero.
  2. Visit each plot from left to right.
  3. For an empty plot, check its left and right neighbors, treating the row boundaries as empty.
  4. If both are empty, plant there and decrement n.
  5. Return True once n reaches zero; otherwise return whether it reached zero by the end.
from typing import List

class Solution:
    def canPlaceFlowers(self, flowerbed: List[int], n: int) -> bool:
        if n == 0:
            return True

        for i in range(len(flowerbed)):
            if flowerbed[i] == 0:
                left_empty = i == 0 or flowerbed[i - 1] == 0
                right_empty = (
                    i == len(flowerbed) - 1 or flowerbed[i + 1] == 0
                )

                if left_empty and right_empty:
                    flowerbed[i] = 1
                    n -= 1

                    if n == 0:
                        return True

        return False

Complexity:

  • Time: O(m), where m is the number of plots; each plot is checked at most once.
  • Space: O(1), using only a fixed amount of extra space.

Common follow-ups

  • What if the input must not be modified? Track the previous plot’s occupancy instead of planting in the array.
  • How would you return the planting positions? Record each plot index when the greedy rule permits planting.
  • What if plots wrap around in a circle? Handle the first and last plots as neighbors, with special care for rows of length one or two.
CodingEasyAtlassianSoftware Engineer

6. Two Sum (LeetCode)

Model answer

The task

Given a list of integers and a target, return the indices of two distinct elements whose values add up to the target. The usual version guarantees a valid pair.

Key idea

As we scan the list, store each value’s index in a hash table. For the current value, check whether its needed complement has already appeared; this finds a pair in one pass.

Approach

  1. Create a dictionary mapping previously seen values to their indices.
  2. For each element, compute the complement needed to reach the target.
  3. If that complement is in the dictionary, return its stored index and the current index.
  4. Otherwise, store the current value and index, then continue.
from typing import List

class Solution:
    def twoSum(self, nums: List[int], target: int) -> List[int]:
        # Map each value already visited to its index.
        seen = {}

        for index, value in enumerate(nums):
            complement = target - value

            # A match must come from an earlier, distinct element.
            if complement in seen:
                return [seen[complement], index]

            seen[value] = index

        # The standard problem guarantees a solution.
        raise ValueError("No two elements sum to the target")

Complexity:

  • Time: O(n), where n is the number of elements; each lookup and insertion is O(1) on average.
  • Space: O(n), for the dictionary of values seen so far.

Common follow-ups

  • What if there may be multiple valid pairs? Return the first pair found, or keep searching and collect pairs according to the required output rules.
  • What if the input is sorted? Use two pointers from opposite ends for O(1) extra space; preserve original indices if those are required.
  • What if values repeat? The dictionary stores indices, and checking before insertion ensures the current element is not paired with itself.
CodingEasyAtlassianSoftware Engineer

7. Logger Rate Limiter (LeetCode)

Model answer

The task

Build a logger that decides whether to print each message. A message is allowed if it has not been printed in the previous 10 seconds.

Key idea

Store the timestamp of the last time each message was accepted. Allow a message when it has never been printed or at least 10 seconds have elapsed since its last accepted print.

Approach

  1. Create a hash map from message text to its last accepted timestamp.
  2. For each request, look up the message’s previous timestamp.
  3. If there is no previous timestamp, or the elapsed time is at least 10 seconds, record the current timestamp and return True.
  4. Otherwise, return False without changing the stored timestamp.
class Logger:
    def __init__(self):
        # Message text -> timestamp of its last accepted print.
        self.last_printed = {}

    def shouldPrintMessage(self, timestamp: int, message: str) -> bool:
        previous = self.last_printed.get(message)

        if previous is None or timestamp - previous >= 10:
            self.last_printed[message] = timestamp
            return True

        return False

Complexity:

  • Time: O(1) average per request for hash-map operations.
  • Space: O(m), where m is the number of distinct messages stored.

Common follow-ups

  • What if requests arrive out of timestamp order? Store timestamp history per message and check whether any accepted print falls within the relevant interval.
  • How can memory use be reduced for a chronological stream? Evict entries older than the rate-limit window, using a queue or time-ordered structure.
  • How would this work across multiple servers? Use shared, atomic state in a distributed store, with a consistent rate-limit operation.
CodingEasyAtlassianSoftware Engineer

8. Best Time to Buy and Sell Stock (LeetCode)

Model answer

The task

Given daily stock prices, find the greatest profit possible from one buy followed by one later sale. If no sale would make money, return zero.

Key idea

As we scan the prices, keep the lowest price seen so far. Treat each current price as a possible sale and update the best profit using the difference from that minimum.

Approach

  1. Initialize the minimum price to a value larger than any price and the best profit to zero.
  2. Visit each price in order.
  3. Update the minimum price with the current price.
  4. Check the profit from selling today and update the best profit.
  5. Return the best profit.
class Solution:
    def maxProfit(self, prices: list[int]) -> int:
        min_price = float("inf")
        best_profit = 0

        for price in prices:
            # The current price can be a new best day to buy.
            min_price = min(min_price, price)

            # Or it can be the day to sell after the cheapest earlier buy.
            best_profit = max(best_profit, price - min_price)

        return best_profit

Complexity:

  • Time: O(n), where n is the number of prices; each is processed once.
  • Space: O(1), since only a few variables are stored.

Common follow-ups

  • What if multiple buy-and-sell transactions are allowed? Sum the gains from every adjacent price increase.
  • What if a transaction fee is charged? Track the best holding and non-holding profits, incorporating the fee when selling.
  • What if at most k transactions are allowed? Use dynamic programming over the number of completed transactions and whether a share is currently held.
Product & growthEasyAtlassianProduct Manager

9. What are your favorite user personas?

Model answer

Clarify & scope

I do not have favorite personas in the sense of preferring a personality type. I favor personas that help a team make better product decisions: grounded in observed behavior, distinct in needs, and connected to a real use case. A persona should clarify who we are solving for and what trade-offs matter—not become a fictional biography.

User segments & pain points

For example, in a collaboration product, I might distinguish:

  • The occasional contributor: Needs to complete a specific task quickly and may not know the product well. Their pain is confusing navigation and unnecessary setup.
  • The workflow owner: Coordinates work across people and tools. Their pain is missing status, repeated follow-ups, and limited visibility into blockers.
  • The administrator: Manages access, policy, and adoption across an organization. Their pain is security risk, inconsistent usage, and poor oversight.

If I had to choose an initial persona, I would usually focus on the workflow owner when they experience the problem frequently, can describe its impact, and can drive adoption among collaborators. I would validate that choice with research rather than assume it is always the right one.

Goals & success metrics

I would connect each persona to outcomes. For the workflow owner, that might mean reducing time spent coordinating work while maintaining on-time completion. Supporting measures could include time-to-first-workflow, weekly active workflows, completion rate, and collaboration depth. Guardrails might include notification overload and contributor drop-off.

Solutions

I would use personas to compare product choices: streamline task entry for occasional contributors, add status visibility for workflow owners, or provide controls and auditability for administrators. Recommendation: Prioritize the need that blocks the core user journey for the chosen segment, while ensuring the other personas can participate safely and effectively. A persona is a lens for prioritization, not permission to ignore everyone else.

Prioritization & trade-offs

I would weigh pain severity, frequency, reach, willingness to change, and strategic value. I would avoid designing for the loudest customer or treating job title as a need. Personas can also overlap: one person may be both workflow owner and administrator in a small company.

MVP, measurement & rollout

I would create lightweight, evidence-based personas from interviews, behavioral data, and support patterns; test the proposed journey with users; and update the personas when behavior contradicts assumptions. The leadership angle is making the segment choice explicit, sharing its evidence and limitations, and helping teams understand which users benefit first—and which needs we are deliberately deferring.

Product & growthEasyAtlassianProduct Manager

10. What is your favorite Atlassian product and why?

The full question

What is your favorite Atlassian product and why? How would you improve it?

Model answer

Favorite Product: My favorite Atlassian product is Trello due to its intuitive design and flexibility in project management.

Why: Trello's visual boards and card system make task management simple and accessible for teams of all sizes.

Improvement: To enhance Trello, I would focus on improving its reporting capabilities.

Clarify & scope: The goal is to provide better insights into project progress. Assume current reporting tools are basic and require manual data extraction.

User segments & pain points: Target project managers who need detailed reports to track team performance.

Goals & success metrics: The North Star metric is the frequency of report generation. Guardrails include user satisfaction and ease of use.

Solutions:

  1. Advanced Reporting Dashboard: Offer customizable dashboards with real-time data visualization.
  2. Automated Report Generation: Enable scheduled reports sent directly to stakeholders.
  3. Integration with BI Tools: Allow export to business intelligence tools for deeper analysis.

Recommendation: Implement an advanced reporting dashboard for immediate impact.

Prioritization & trade-offs: Prioritize the dashboard for its high impact and moderate effort.

MVP, measurement & rollout: Launch a beta version of the dashboard. Measure usage and gather feedback to refine the feature.

Product & growthMediumAtlassianGroup Product Manager

11. How would you prioritize features?

Model answer

Clarify the decision

I’d first clarify the objective, time horizon, and constraints. Are we optimizing for customer retention, revenue, adoption, or a strategic capability? What customer segment and product surface are in scope? I’d also distinguish committed work, reliability needs, and discretionary feature requests; they should not all compete in one undifferentiated list.

Establish outcomes and evidence

I’d translate the strategy into a small set of measurable outcomes, then assess opportunities against customer research, behavioral data, support themes, and commercial evidence. For example, if the goal is reducing early churn, a feature that improves activation may matter more than one that increases engagement among already-loyal users.

Prioritize at the opportunity level

I’d group requests into underlying customer problems before scoring them. For each opportunity, I’d estimate:

  • Customer impact: How many target users have the problem, how severe is it, and how frequently does it occur?
  • Strategic and business value: What outcome does it move, and how confidently can we link the work to that outcome?
  • Effort and dependencies: What are the engineering, design, data, support, and operational costs?
  • Risk and learning: What could go wrong, and can a small experiment resolve uncertainty?

I might use RICE—reach, impact, confidence, and effort—as a discussion aid, not an automatic ranking. I’d also reserve capacity for reliability, security, accessibility, and technical debt where the cost of neglect is material.

Make the trade-offs explicit

I’d compare a short list of coherent bets rather than pretend the score is precise. A high-reach feature with weak evidence may deserve a discovery experiment; a lower-reach accessibility or compliance improvement may be mandatory or strategically important. I’d identify opportunity cost: choosing this means delaying that. If teams disagree, I’d bring the decision back to the agreed outcome, evidence, and constraints.

Commit, measure, and revisit

I’d communicate the rationale, owner, assumptions, and what would change the decision. For each selected item, I’d define a leading metric, a lagging outcome, and guardrails—for example, activation lift, retained users after 30 days, and support contacts or error rates. I’d review results on a set cadence and re-prioritize when customer evidence, delivery estimates, or company strategy changes. At Group PM scope, the goal is not to produce one perfect backlog; it is to align teams around a portfolio of bets and make resource trade-offs visible.

Product & growthMediumAtlassianSoftware EngineerValues interview

12. How do you think about prioritization and decision-making?

Model answer

Clarify & scope

I treat prioritization as choosing the best use of limited capacity, not as ranking every request in isolation. I first clarify the goal, time horizon, and constraints: for example, are we optimizing customer value this quarter, reducing operational risk, or meeting a committed delivery date? I also distinguish reversible choices from decisions that are expensive to undo.

User segments & pain points

I identify who is affected and how often. For a collaboration product, a problem affecting many teams every day may be more valuable than a severe but rare issue for a small segment; a security or data-integrity risk can override that comparison. I look for evidence from customer feedback, support cases, usage data, and direct conversations rather than assuming the loudest request represents the largest need.

Goals & success metrics

I define a primary outcome and guardrails before choosing work. For a workflow improvement, the North Star might be successful task completion or time to complete the workflow. Guardrails could include error rate, latency, support contacts, and accessibility. I pair outcome metrics with leading indicators so we can detect whether the change is working before a long-term metric moves.

Solutions

I compare a small set of options, including doing nothing, reducing scope, and addressing the root cause. I estimate impact, confidence, effort, dependencies, and risk; a RICE-style score can help structure discussion, but I do not let a formula hide important judgment. For example, a low-effort fix with modest reach may still be the right choice if it removes a reliability risk blocking several teams.

Recommendation: I would make the assumptions and trade-offs explicit, choose the smallest option that tests the highest-value hypothesis, and name what we are not doing. If stakeholders disagree, I ask what evidence or constraint would change their view and record the decision and rationale.

Prioritization & trade-offs

I balance customer value, strategic fit, confidence, cost of delay, and operational health. I reserve capacity for reliability and technical debt when they reduce future delivery risk, rather than treating them as invisible work. I also revisit priorities when new evidence changes the expected value, while protecting teams from constant churn.

MVP, measurement & rollout

I ship behind a feature flag or to a limited cohort when practical, compare results with a baseline, and monitor guardrails. I define success and rollback criteria in advance. After the rollout, I review what we learned and either expand, iterate, or stop—so prioritization remains a learning loop, not a one-time planning exercise.

System designEasyAtlassian

13. Design a simple task management system where users can create, update, and delete tasks.

The full question

Design a simple task management system where users can create, update, and delete tasks. What components would you include?

Model answer

1. Requirements & scale

Functional Requirements:

  • Users can create, update, and delete tasks.
  • Users can view a list of tasks.
  • Tasks should have attributes like title, description, due date, and status.

Non-Functional Requirements:

  • High availability and reliability.
  • Low latency for task operations.
  • Scalability to support a growing number of users.

Estimates:

  • Assume 100,000 users, each making an average of 10 task operations per day.
  • This results in approximately 1,000,000 operations per day.
  • QPS (Queries Per Second) = 1,000,000 / (24 60 60) ≈ 11.6.
  • Storage: Assume each task is about 1 KB. With 1,000,000 tasks, storage needed is approximately 1 GB.

2. High-level architecture

flowchart TD
    subgraph Client
        A[User Interface]
    end

    subgraph Edge/CDN
        B[CDN]
    end

    subgraph Load Balancer
        C[Load Balancer]
    end

    subgraph API / Services
        D[Task Service]
    end

    subgraph Cache
        E[Redis Cache]
    end

    subgraph Datastores
        F[SQL Database]
    end

    A -->|HTTP Requests| B
    B -->|Forward Requests| C
    C -->|API Calls| D
    D -->|Read/Write| E
    D -->|Read/Write| F
    E -->|Cache Miss| F
Diagram

3. API design

  • POST /tasks: Create a new task.
  • GET /tasks: Retrieve a list of tasks.
  • GET /tasks/{id}: Retrieve a specific task by ID.
  • PUT /tasks/{id}: Update a task by ID.
  • DELETE /tasks/{id}: Delete a task by ID.

4. Data model & storage

Datastore Choice:

  • Use a SQL database (e.g., PostgreSQL) for ACID compliance and structured data storage.

Key Tables:

  • Tasks Table:
  • id (Primary Key)
  • title (VARCHAR)
  • description (TEXT)
  • due_date (DATE)
  • status (ENUM: 'pending', 'completed')
  • created_at (TIMESTAMP)
  • updated_at (TIMESTAMP)

Partitioning:

  • Use id as the primary key for partitioning and indexing to ensure quick lookups and updates.

5. Deep dive

The core functionality of the task management system revolves around CRUD operations. To ensure efficient data retrieval and updates, caching can be employed. Here's a sequence diagram illustrating the flow for retrieving a task:

sequenceDiagram
    participant User
    participant CDN
    participant LoadBalancer
    participant TaskService
    participant Cache
    participant Database

    User->>CDN: GET /tasks/{id}
    CDN->>LoadBalancer: Forward Request
    LoadBalancer->>TaskService: API Call
    TaskService->>Cache: Check Cache for Task
    alt Cache Hit
        Cache-->>TaskService: Return Task
    else Cache Miss
        TaskService->>Database: Query Task
        Database-->>TaskService: Return Task
        TaskService->>Cache: Update Cache
    end
    TaskService->>User: Return Task
Diagram

6. Scale, bottlenecks & trade-offs

Scalability:

  • Replication: Use database replication to ensure high availability and distribute read loads.
  • Sharding: Implement sharding if the dataset grows significantly, using the id field for shard keys.

Caching:

  • Use Redis to cache frequently accessed tasks to reduce database load and improve response times.

Bottlenecks:

  • The database could become a bottleneck under heavy load. Mitigate this by optimizing queries and using read replicas.
  • The cache layer could become a single point of failure. Ensure redundancy and failover mechanisms are in place.

Trade-offs:

  • Consistency vs. Availability: Opt for eventual consistency in caching to improve availability.
  • SQL vs. NoSQL: SQL is chosen for its ACID properties, but NoSQL could be considered if flexibility and horizontal scaling become priorities.

By focusing on these components and considerations, the task management system can efficiently handle user operations while being scalable and reliable.

System designEasyAtlassianEngineering ManagerSystem Design Interview

14. How does horizontal scaling differ from vertical scaling?

Model answer

1. Requirements & scale

  • Functional: Explain scaling by adding resources to a machine versus adding machines to a service. A production system often uses both.
  • Non-functional: Maintain a target latency and availability as load grows; control cost; avoid a single overloaded node; support safe capacity changes.
  • Illustrative scale: Suppose a service handles 10,000 requests/second. If one instance sustains 1,000 requests/second at the latency target, vertical scaling might move to a machine capable of 2,000 requests/second, leaving five instances needed. Horizontal scaling might use 12 instances at 1,000 requests/second each, targeting about 70% utilization: 10,000 / (1,000 × 0.7) ≈ 15 instances, including headroom and redundancy. Actual capacity must be load-tested.
  • Storage and bandwidth: Scaling compute does not automatically scale shared storage or network. For example, 10,000 requests/second at 5 KB each is about 50 MB/second of ingress before protocol overhead and response traffic.

2. High-level architecture

Vertical scaling increases the capacity of each service node, such as CPU, memory, or network. Horizontal scaling adds service nodes and distributes work among them. A real design commonly combines horizontal application scaling with appropriately scaled databases, caches, and queues.

flowchart TD
  subgraph Client["Client"]
    C[Applications]
  end
  subgraph Edge["Edge CDN"]
    E[Edge gateway]
  end
  subgraph LB["Load Balancer"]
    L[Traffic distributor]
  end
  subgraph API["API / Services"]
    A[Service instances]
    A2[Additional instances]
  end
  subgraph Cache["Cache"]
    K[Shared cache]
  end
  subgraph DB["Datastores"]
    D[Database primary]
    R[Database replicas]
  end
  subgraph MQ["Message Queue"]
    Q[Work queue]
  end
  subgraph Workers["Workers"]
    W[Background workers]
  end
  C -->|requests| E
  E -->|forwarded traffic| L
  L -->|distributed requests| A
  L -->|scale out| A2
  A -->|cache reads| K
  A -->|reads and writes| D
  D -->|replication| R
  A -->|async work| Q
  Q -->|jobs| W
Diagram

3. API design

Scaling is usually transparent to clients, but management interfaces help operators control it:

  • GET /health — readiness and liveness checks used by the load balancer.
  • GET /metrics — instance-level saturation, request rate, and latency metrics.
  • POST /admin/capacity/scale — an authenticated control-plane request to change desired instance count; not exposed to ordinary users.

4. Data model & storage

  • Keep application instances stateless where possible; store durable state in a database or object store and ephemeral shared data in a cache.
  • A relational database can serve transactional records; read replicas can increase read capacity, while partitioning or sharding may be needed when one primary cannot handle the write load.
  • A queue stores asynchronous work so a short-lived traffic spike does not require every worker to be provisioned immediately.
  • Track desired and actual capacity, deployment version, zone, and health for each instance in the orchestration/control plane.

5. Deep dive

Vertical scaling means moving a component to a larger machine: more CPU cores, RAM, disk IOPS, or network capacity. It is operationally simple for software that assumes one process or one database writer. It can also reduce coordination overhead. However, there is a hardware ceiling, upgrades can require a restart or migration, and a larger machine remains a larger failure domain. Cost may grow nonlinearly at the high end.

Horizontal scaling means adding nodes and distributing requests or data. It enables incremental capacity, fault isolation, and multi-zone availability. It requires the service to handle routing, replication, coordination, or partitioning. A stateless web tier is generally straightforward to scale out; a strongly consistent database is not, because writes need coordination and a partitioning strategy.

I would scale the bottleneck, not simply add servers. Load tests should identify whether CPU, memory, database connections, lock contention, disk, or a downstream dependency is saturated. Then I would scale in stages, verify p95/p99 latency and error rates, and preserve enough spare capacity to tolerate a node or zone failure. Autoscaling on CPU alone can react too slowly or miss queue buildup; request rate, queue age, and latency are often useful complementary signals.

6. Scale, bottlenecks & trade-offs

  • Vertical trade-off: simpler operations and less distributed coordination versus finite machine size, expensive upgrades, and a concentrated failure domain.
  • Horizontal trade-off: elastic capacity and redundancy versus network hops, load distribution, state management, and consistency complexity.
  • Availability: distribute horizontal nodes across failure zones and use health checks. Replication helps availability but does not replace backups or tested recovery.
  • Consistency: database replicas may lag; route read-after-write requests to the primary or use a consistency mechanism where the product requires it.
  • Risks: a shared database, cache, or load balancer can remain the bottleneck. Capacity planning must include these dependencies and failure headroom.
  • Leadership angle: I would set an SLO and cost envelope with product and finance, assign clear ownership for each bottleneck, and use measured capacity tests and staged rollouts rather than assuming a scaling approach is universally better.
System designMediumAtlassian

15. Design a data structure that supports the following operations: insert, delete, get_random_element.

The full question

Design a data structure that supports the following operations: insert, delete, get_random_element. All operations should be done in average O(1) time.

Model answer

1. Requirements & scale

Functional Requirements:

  • Insert: Add an element to the data structure.
  • Delete: Remove an element from the data structure.
  • Get Random Element: Retrieve a random element from the data structure.

Non-Functional Requirements:

  • Efficiency: All operations should be performed in average O(1) time.
  • Scalability: The data structure should handle a large number of elements efficiently.

Estimates:

  • Operations per second (QPS): Assume 10,000 operations per second.
  • Storage: If each element is an integer (4 bytes), storing 1 million elements requires about 4 MB.
  • Bandwidth: Minimal, as operations are primarily in-memory.

2. High-level architecture

flowchart TD
    subgraph Client
        A[Client]
    end

    subgraph API / Services
        B[Data Structure Service]
    end

    A -->|Insert/Delete/Get Random| B
Diagram

3. API design

  • POST /insert: Add an element to the data structure.
  • DELETE /delete: Remove an element from the data structure.
  • GET /get_random_element: Retrieve a random element from the data structure.

4. Data model & storage

We will use a combination of a dynamic array (or list) and a hash map (or dictionary) to achieve average O(1) time complexity for all operations.

  • Array/List: Used to store elements for quick access and random selection.
  • Hash Map/Dictionary: Maps elements to their indices in the array for quick lookup and deletion.

Data Structure Design:

  • Array/List: elements[]
  • Hash Map/Dictionary: elementIndexMap{element: index}

5. Deep dive

To achieve O(1) operations, we use the following approach:

  • Insert: Add the element to the end of the array and update the hash map with the element and its index.
  • Delete: Find the element's index using the hash map. Swap the element with the last element in the array, update the hash map for the swapped element, and then remove the last element from the array.
  • Get Random Element: Use a random number generator to pick an index within the bounds of the array and return the element at that index.
sequenceDiagram
    participant Client
    participant DataStructureService
    Client->>DataStructureService: POST /insert(element)
    DataStructureService-->>Client: Element inserted

    Client->>DataStructureService: DELETE /delete(element)
    DataStructureService-->>Client: Element deleted

    Client->>DataStructureService: GET /get_random_element
    DataStructureService-->>Client: Random element
Diagram

6. Scale, bottlenecks & trade-offs

Scalability: The data structure is designed to handle a large number of elements efficiently due to its O(1) operations.

Bottlenecks: The primary bottleneck could be memory usage if the data structure grows significantly large. However, since operations are in-memory, they are fast.

Trade-offs:

  • Consistency vs. Availability: The design is inherently consistent as all operations are atomic and in-memory.
  • Space vs. Time Complexity: The use of both an array and a hash map increases space usage but ensures time efficiency.
  • Randomness: The randomness of get_random_element is dependent on the quality of the random number generator.

Replication and Sharding: If needed, the data structure can be replicated across multiple servers for high availability. Sharding can be applied by partitioning elements based on a hash function, but this would complicate the random element retrieval process, as it would require coordination across shards.

System designMediumAtlassianSoftware EngineerOnsite

16. Design a service that crawls images starting from a set of root URLs.

The full question

Design a service that crawls images starting from a set of root URLs.

Requirements:

  • Input: one or more root URLs.
  • Crawl pages, discover links, and download image resources.
  • Support unlimited number of root URLs and unlimited crawl depth.
  • Must handle failures (network errors, timeouts, crashes) and avoid re-crawling the same URL excessively.
  • Discuss storage for downloaded images and metadata.

Deliverables:

  • High-level architecture (components, data flow).
  • Queue/scheduler design and politeness (per-host rate limiting).
  • Deduplication strategy.
  • DB schema for crawl state and results.
  • Failure/retry model and monitoring.

Model answer

1. Requirements & scale

Functional Requirements:

  • Accept one or more root URLs as input.
  • Crawl web pages starting from these URLs, discover links, and download image resources.
  • Support unlimited number of root URLs and unlimited crawl depth.
  • Handle failures such as network errors, timeouts, and crashes.
  • Avoid re-crawling the same URL excessively.

Non-Functional Requirements:

  • High availability and reliability.
  • Efficient storage and retrieval of images and metadata.
  • Rate limiting to avoid overloading web servers.

Estimates:

  • Assume we start with 100 root URLs, each leading to 1000 pages with 10 images on average.
  • Total images: 100 1000 10 = 1,000,000 images.
  • If each image is approximately 100 KB, total storage required: 1,000,000 * 100 KB = 100 GB.
  • Assuming each page takes 1 second to process, the system should handle 1000 QPS for crawling.

2. High-level architecture

flowchart TD
    subgraph Client
        A[User Interface]
    end

    subgraph Edge/CDN
        B[CDN]
    end

    subgraph Load Balancer
        C[Load Balancer]
    end

    subgraph API / Services
        D[API Gateway]
        E[Crawler Service]
        F[Scheduler]
    end

    subgraph Cache
        G[URL Cache]
    end

    subgraph Datastores
        H["Image Storage (Blob)"]
        I["Metadata DB (SQL)"]
    end

    subgraph Message Queue
        J[URL Queue]
    end

    subgraph Workers
        K[Crawl Workers]
    end

    A --> B --> C --> D --> E
    E --> F
    F --> J
    J --> K
    K --> G
    K --> H
    K --> I
    G --> K
Diagram

3. API design

  • POST /crawl: Start a new crawl with one or more root URLs.
  • GET /status/{crawlId}: Retrieve the status of a specific crawl.
  • GET /images/{imageId}: Fetch a downloaded image.
  • GET /metadata/{url}: Retrieve metadata for a specific URL.

4. Data model & storage

Datastores:

  • Blob Storage: For storing downloaded images. Chosen for scalability and cost-effectiveness.
  • SQL Database: For storing metadata and crawl state. Chosen for structured data and transactional support.

Key Tables:

  • Images: image_id, url, storage_path, download_timestamp.
  • CrawlState: url, status, last_crawled, retry_count.
  • Metadata: url, title, description, keywords.

Partition Key:

  • Use url as the partition key for deduplication and efficient retrieval.

5. Deep dive

The core of this design is the crawling and deduplication process. The system uses a URL queue to manage the crawl frontier. Each URL is processed by a crawl worker, which fetches the page, extracts image URLs, and stores them in the URL cache to avoid re-crawling.

sequenceDiagram
    participant User
    participant API
    participant Scheduler
    participant Queue
    participant Worker
    participant Cache
    participant Storage

    User->>API: POST /crawl
    API->>Scheduler: Initiate crawl
    Scheduler->>Queue: Add root URLs
    loop Crawl URLs
        Queue->>Worker: Fetch URL
        Worker->>Cache: Check URL
        alt URL not in Cache
            Worker->>Cache: Add URL
            Worker->>Storage: Download and store image
            Worker->>Queue: Add discovered URLs
        else URL in Cache
            Worker->>Queue: Skip URL
        end
    end
Diagram

6. Scale, bottlenecks & trade-offs

Scaling:

  • Replication: Use database replication for high availability and disaster recovery.
  • Sharding: Shard the URL queue and metadata database based on URL hash to distribute load.

Bottlenecks:

  • Network Bandwidth: Ensure sufficient bandwidth for downloading images.
  • Queue Size: Monitor and scale the message queue to handle high volumes of URLs.

Trade-offs:

  • Consistency vs. Availability: Opt for eventual consistency in the URL cache to improve availability.
  • Politeness: Implement per-host rate limiting to avoid overloading web servers, which may slow down the crawl process.
  • Failure Handling: Use exponential backoff for retries to handle transient network failures gracefully.

By addressing these aspects, the system can efficiently crawl and store images while managing resources and handling failures effectively.

TechnicalEasyAtlassianPrincipal Engineer

17. What is a REST API, and what types of REST APIs are there?

Model answer

REST API

A REST API is an HTTP interface designed around resources—for example, users, orders, or documents. Clients address resources with URIs and use standard HTTP methods to read or change them. REST is an architectural style, not a specific wire format; JSON is common, but not required.

A strong REST design follows these constraints:

  1. Client-server separation: clients and servers can evolve independently.
  2. Stateless requests: each request carries the context needed to process it; the server does not depend on session state held between requests.
  3. Cacheability: responses state whether they can be cached.
  4. Uniform interface: consistent resource identifiers, representations, methods, and status codes.
  5. Layered system: clients need not know whether a proxy, gateway, or service handled a request.
  6. Code on demand: an optional constraint that lets a server provide executable code to clients.

For example, GET /orders/42 retrieves an order, while PATCH /orders/42 updates selected fields. POST /orders creates an order. Good APIs use HTTP semantics deliberately: GET is safe, PUT is generally idempotent, and 201 Created can include a Location header.

What people mean by “types”

There is no single formal taxonomy of REST API types. In practice, the phrase usually refers to one of two classifications:

  • By audience/access: public (open to external developers), partner (shared with selected organizations), private/internal (used within one organization), and sometimes composite (an endpoint that combines data from multiple services). These describe governance and access, not different REST rules.
  • By REST maturity: the Richardson Maturity Model distinguishes Level 0 (HTTP as a tunnel), Level 1 (resources), Level 2 (HTTP verbs and status codes), and Level 3 (hypermedia controls, or HATEOAS). Level 3 most closely reflects the full REST style; many practical APIs stop at Level 2.
flowchart LR
  C[Client] -->|HTTP request to resource URI| A[REST API]
  A -->|JSON representation and status| C
  C -->|GET, POST, PUT, PATCH, DELETE| A
Diagram

In an interview, I would clarify which meaning the question intends, then explain that public/private is an access model while REST maturity is an architectural model. I would also distinguish REST from merely “JSON over HTTP”: an API can use HTTP and JSON without honoring REST constraints.

TechnicalEasyAtlassian

18. What is the purpose of using version control systems in software development?

Model answer

Purpose of Version Control Systems in Software Development

  1. Collaboration and Coordination - Version control systems (VCS) enable multiple developers to work on the same project simultaneously without overwriting each other's changes. This is crucial for team collaboration, especially in large-scale projects.
  2. History and Traceability - VCS maintains a complete history of changes made to the codebase, allowing developers to track who made changes, what changes were made, and why. This is essential for auditing and understanding the evolution of the project.
  3. Branching and Merging - Developers can create branches to work on features or bug fixes independently. Once completed, these branches can be merged back into the main codebase. This supports parallel development and helps manage different versions of the software.
  4. Backup and Recovery - VCS acts as a backup system by storing snapshots of the project at various points in time. In case of data loss or corruption, developers can restore previous versions of the code.
  5. Conflict Resolution - When multiple developers make changes to the same part of the code, VCS provides tools to resolve conflicts, ensuring that the final code integrates all changes correctly.
  6. Continuous Integration and Deployment - VCS is integral to CI/CD pipelines, automating testing and deployment processes. This ensures that code changes are continuously integrated and deployed, reducing the time to market and improving software quality.
  7. Consistency and Reliability - By maintaining a single source of truth, VCS ensures that all team members are working with the most up-to-date and consistent version of the code, enhancing the reliability of the software development process.
  8. Facilitating Code Reviews - VCS supports code review processes by allowing developers to review changes, comment on them, and suggest improvements before they are merged into the main codebase.

In summary, version control systems are essential for managing code changes, facilitating collaboration, ensuring code quality, and maintaining a reliable and efficient software development process. They provide the necessary tools to handle the complexities of modern software engineering, making them indispensable in any development environment.

TechnicalMediumAtlassianEngineering Manager

19. How would you prioritize a critical bug against product enhancements?

Model answer

  1. Triage by risk, not by who is asking. First establish severity and scope: user impact, affected traffic or customers, data loss/security implications, availability, and whether a workaround exists. A production security exposure, data corruption, or broad outage generally outranks an enhancement; a minor, contained defect may not.
  2. Compare against explicit decision criteria. I use a simple severity rubric, then consider customer impact, contractual or regulatory commitments, revenue risk, and time sensitivity. I also account for the cost of delaying the enhancement: a committed launch, a blocked customer, or a narrow seasonal window can change the priority. The bug’s estimated fix time matters, but should not outweigh its risk.
  3. Choose the smallest safe response. For a severe bug, stop or roll back the risky change, mitigate with a feature flag or traffic control where possible, and assign an owner to investigate and communicate. In parallel, decide whether the enhancement can continue without pulling responders away. Avoid declaring the whole roadmap blocked if the work is genuinely independent.
flowchart TD
    A[New bug reported] --> B[Assess impact and scope]
    B --> C{Security, data loss, or broad outage?}
    C -->|Yes| D[Mitigate and prioritize bug]
    C -->|No| E{Material customer or commitment risk?}
    E -->|Yes| F[Compare urgency and enhancement cost]
    E -->|No| G[Schedule through normal backlog]
    F --> H[Agree on owner and priority]
    D --> H
    H --> I[Communicate decision and review]
Diagram
  1. Make the trade-off visible. I would bring Engineering, Product, and—when relevant—Support or Security together briefly, state what we know and what is uncertain, and make the decision and rationale explicit. For example: “We’ll use one engineer to mitigate the production issue now; the rest of the team continues the launch work. We’ll reassess in 30 minutes when we know the affected cohort.”
  2. Set measures and reassess. Track time to mitigate, affected users or transactions, error rate, data integrity, and recovery. For the enhancement, track the cost of delay and whether its delivery date changes. After resolution, run a blameless review for systemic causes and add prevention work to the backlog.

Leadership angle: I own a clear decision and communication path, protect responders from unnecessary context switching, and revisit priorities as evidence changes. A common pitfall is treating every bug as an emergency—or letting a roadmap commitment override a severe customer or safety risk.

TechnicalMediumAtlassianSenior Engineering ManagerOne-on-one Round 1

20. What is the most challenging project you have handled in your career?

Model answer

Use a technically demanding project where your own decisions and leadership are visible. For example, adapt the following outline to a real project from your career; replace the context and metrics with facts you can defend.

  1. Set the stakes and your ownership. Describe a project such as moving a high-traffic service off a monolith while continuing to ship product features. Give scale: for example, millions of daily requests, multiple dependent teams, and a hard reliability or launch constraint. Be precise about what you owned as the engineering leader versus what the team delivered.
  2. Explain the difficult engineering problem. Show why this was not simply a rewrite: data ownership crossed service boundaries, consumers expected stable APIs, and downtime or inconsistent writes could affect customers. Quantify the baseline, such as deployment frequency, p99 latency, incident rate, or time required to make a change.
  3. Describe your technical judgment. Explain the options you considered—big-bang replacement, strangler migration, or introducing a compatibility layer—and why you chose an incremental path. Cover the important mechanisms: API contracts, data migration and reconciliation, idempotent events, observability, and rollback. State what you deliberately did not solve in the first phase.
  4. Show leadership through execution. Explain how you divided ownership across teams, aligned product and operations on sequencing, and surfaced risks early. Give one concrete disagreement or setback and how you resolved it. For example, a team may have preferred dual writes; you might have required a reconciliation process and a clear source of truth before expanding traffic.
  5. Close with evidence and learning. Report customer and engineering outcomes using before-and-after metrics: availability, latency, deployment lead time, incident frequency, or migration coverage. Include an honest trade-off—such as added operational complexity—and what you would change next time.

A strong answer is a concise story, not a list of technologies. Tie each technical choice to a risk or outcome, distinguish your decisions from the team’s work, and make the result measurable. Avoid claiming a migration was successful solely because it launched; explain how you verified correctness and sustained reliability afterward.

flowchart LR
  A[Existing service] -->|Incremental traffic| B[Compatibility layer]
  B --> C[New service]
  A -->|Reconcile records| D[Migration checks]
  C --> D
  D -->|Verified cutover| E[Retire old path]
Diagram

Practice these out loud, don't memorise them

Reading an answer is not the same as being able to give one under pressure. ChannelPulse plays the interviewer, asks the follow-ups, and scores each answer with feedback and a model answer so you can hear the gap between what you said and what lands.

Get ChannelPulse Browse all questions