Dragos · Software Engineer
Updated · 2026-10-02

Dragos Software Engineer
Interview Guide

THE 60-SECOND BRIEF

The Software Engineer role at Dragos is pivotal for the development and enhancement of software solutions that secure critical infrastructure against cyber threats. As part of a team focused on innovative cybersecurity technology, you will be responsible for building robust applications that contribute directly to the security and reliability of essential services used by various industries. This role is not only about coding; it involves working closely with product managers, data scientists, and security analysts to design systems that protect users and organizations from emerging threats. The complexity and scale of the challenges you will tackle at Dragos are significant. You will engage with advanced technologies, contribute to the development of state-of-the-art security tools, and play a role in shaping the future of cybersecurity.

This guide is scoped to a Software Engineer candidate at Dragos.

No round sequence has been reported for Dragos. Confirm the format with your recruiter.

Security product understanding (domain knowledge)Professionalism in technical screeningRecruiter communication / stakeholder updates

22 min read

Browse Software Engineer questions

See the practice prompts

14Practice promptsAcross five skill areas

The Software Engineer role at Dragos is pivotal for the development and enhancement of software solutions that secure critical infrastructure against cyber threats. As part of a team focused on innovative cybersecurity technology, you will be responsible for building robust applications that contribute directly to the security and reliability of essential services used by various industries. This role is not only about coding; it involves working closely with product managers, data scientists, and security analysts to design systems that protect users and organizations from emerging threats. The complexity and scale of the challenges you will tackle at Dragos are significant. You will engage with advanced technologies, contribute to the development of state-of-the-art security tools, and play a role in shaping the future of cybersecurity. The work you do will have a direct impact on our products, users, and overall business objectives, making this position critical to our mission of safeguarding critical infrastructure.

01

Preparation focus

editorial

No round sequence has been reported for this company, so confirm the format with your recruiter and work the reported questions below.

What to demonstrate

  • Breadth across the topics this company reports testing
  • Whether you confirm the format before preparing for it

How to prepare

  • Ask the recruiter for the sequence, the duration of each stage and whether you will be writing code
  • Work the reported questions below and time yourself
PracHub preparation framework ↗

PracHub editorial advice for the preparation topics above.

01

Be Clear and Concise

When answering questions, provide clear and concise responses. Avoid unnecessary jargon unless asked for specifics.

02

Show Enthusiasm for Cybersecurity

Share your passion for the field, as this can resonate well with interviewers at Dragos.

03

Research the Company

Familiarize yourself with Dragos's products and mission. This knowledge will help demonstrate your genuine interest in the company.

04

Prepare Questions

Have thoughtful questions ready to ask your interviewers. This shows your engagement and interest in the role and company.

05

Practice Coding Challenges

If applicable, practice coding problems on platforms like LeetCode or HackerRank to sharpen your skills before technical interviews.

Choose a category, try a prompt, then open its approach, worked solution or follow-up when you need it.

11 technical prompts0 include a worked solution

Can you explain the difference between synchronous and asynchronous programming?

medium
Technical / Domain Questions

Can you explain the difference between synchronous and asynchronous programming?

Approach
  1. Say what the runtime actually does before reasoning about the code.
  2. Name what is shared across threads and what owns each piece of state.
  3. Identify the window where an invariant is briefly untrue.
  4. Distinguish a value from a reference to it, and say which one you handed out.
Follow-up
  • What happens if two callers reach this at the same time?
  • Where could this allocate more than you expect?

Collapse a redelivered event batch into per-aggregate high-water marks

easy
hashingat-least-onceaggregation

You drain a batch of up to 5,000,000 events, each (aggregate_id BIGINT, aggregate_version INT, event_type, payload). The log guarantees order within one aggregate only; the batch merges 64 partitions, and a relay failover has redelivered a range, so an older version for an aggregate can appear after a newer one. Given a map of last_applied_version per aggregate, produce the events worth applying, at most one per (aggregate_id, version), plus the count discarded. Target O(n) time. State the memory for 2,000,000 distinct aggregates and what you do when it does not fit.

Approach
  1. One pass, one hash map from aggregate_id to the highest version kept, and a discard counter. An event whose version is at or below last_applied_version for its aggregate is dropped without further work, which is the whole reason the event carries its version rather than a delta. O(n) expected time, O(d) space in distinct aggregates.
  2. Keep the maximum, never the last occurrence. The redelivered range means the final appearance of an aggregate in the batch can be an older version than one seen earlier in the same batch, so last-wins applies stale state over newer state and the projection regresses with no error anywhere.
  3. Cost the memory instead of calling it large: an 8-byte key plus a 4-byte version is 12 bytes of payload, and an open-addressed table held at a 0.7 load factor costs roughly 17 bytes per entry before per-slot metadata, so 2,000,000 aggregates is tens of megabytes in a native layout and several times that in a runtime that boxes both key and value.
  4. If the distinct set exceeds memory, partition on hash(aggregate_id) mod P and reduce each partition independently. Every event for one aggregate hashes to the same partition, so the per-partition result is exact and the merge is concatenation rather than a second reduction.
Follow-up
  • The payload is a patch rather than a snapshot, so applying only the highest version loses the intermediate changes. What changes in your reduction?
  • How do you detect that version 7 arrived while version 6 was never delivered, and what should the consumer do about the gap?

Find overlapping job attempts and peak concurrency from lease records

medium
sweep lineintervalsleases

A day of job_run history yields about 50,000,000 attempt records: (job_run_id, job_type, attempt, started_at, finished_at which is NULL when the worker died, lease_expires_at). Leases expire on a clock, so a job that outran its lease ran twice. Produce (a) every job_run_id whose attempts overlapped in wall-clock time and (b) the peak number of simultaneously running attempts per job_type with the minute it occurred. Target O(n log n). State how you treat a NULL finished_at and what clock skew does to your answer.

Approach
  1. Define the interval before sorting anything: an attempt occupies [started_at, COALESCE(finished_at, lease_expires_at)). finished_at is observed and lease_expires_at is only a promise, so every attempt without a finish contributes an estimate and the whole result is a lower bound on overlap rather than an exact count.
  2. For peak concurrency, sweep: emit 2n endpoints, sort by (timestamp, kind) with ends ordered before starts at equal timestamps, then walk the sequence maintaining a counter per job_type and record each type's maximum with its timestamp. O(n log n) dominated by the sort, O(n) space, or O(1) extra if the sort is external and the walk streams.
  3. For overlap detection, do not compare attempts pairwise. A single global sort by (job_run_id, started_at) gives both the grouping and the order; within a group, keep the maximum end seen so far and report an overlap exactly when the next start is less than that running maximum, which is one linear pass after the sort.
  4. Half-open intervals matter and are easy to get wrong: with closed intervals an attempt ending at the same millisecond another begins reads as concurrency two, and across 50,000,000 records that artefact swamps the real signal.
Follow-up
  • A handler is not idempotent and you have found 400 overlapping jobs. Which of them actually caused damage, and what would you query to find out?
  • Peak concurrency for one job_type is 4 against a configured cap of 4. Is the cap working, or is the data hiding attempts that never started?

Built from the topics and questions Dragos candidates report; no round sequence has been reported.

Small steps. Visible outcomes.0 / 7 completed
ONE WEEK · YOUR PACE

Prepare, practise & reflect

One practical outcome each day. Spend longer where you need it.

0 / 7 done
01Establish the Dragos format
  • No round sequence has been reported, so ask your recruiter for the sequence, the duration of each stage and whether you will write code.

Deliverable: A written reply from your recruiter confirming the format.

02Work Security product understanding (domain knowledge)
  • Spend the session on Security product understanding (domain knowledge), which Dragos candidates report being tested on.
  • Write one worked example in Security product understanding (domain knowledge) and time yourself on it.

Deliverable: One timed worked example in Security product understanding (domain knowledge).

03Work Professionalism in technical screening
  • Spend the session on Professionalism in technical screening, which Dragos candidates report being tested on.
  • Write one worked example in Professionalism in technical screening and time yourself on it.

Deliverable: One timed worked example in Professionalism in technical screening.

04Work Recruiter communication / stakeholder updates
  • Spend the session on Recruiter communication / stakeholder updates, which Dragos candidates report being tested on.
  • Write one worked example in Recruiter communication / stakeholder updates and time yourself on it.

Deliverable: One timed worked example in Recruiter communication / stakeholder updates.

05Answer out loud: Technical / Domain Questions
  • Answer aloud, timed: What programming languages are you most proficient in, and why?
  • Answer aloud, timed: Can you explain the difference between synchronous and asynchronous programming?

Deliverable: Spoken answers to 2 reported Technical / Domain Questions question(s), under time.

06Answer out loud: System Design / Architecture
  • Answer aloud, timed: How would you design a system for real-time data processing?

Deliverable: Spoken answers to 1 reported System Design / Architecture question(s), under time.

07Dry run for Dragos
  • Run one full mock under time, then write down the two questions you most want to ask your interviewers.

Deliverable: A completed timed mock and two questions to ask.

Expand any day for tasks and deliverables. Your progress is saved on this device.

Behavioural rounds judge the decision you made and what it cost.

Tell callers you do not own that their integration breaks

medium
deprecationcompatibilitystakeholders

A field in a write endpoint's response must change shape. You own the endpoint; you do not own the four internal callers or the outbound webhook consumers who read it. Describe a deprecation you were responsible for: what you shipped first, how you established who was actually reading the field, the window you gave and what set its length, what you did about the consumer who never moved, and how you decided removal was safe. Name the signal you used, not the announcement you sent.

Approach
  1. Establish the reader set empirically rather than from a wiki of owners: per-field usage counters keyed by principal, or access logs attributed to a consumer. State the blind spot of whichever you pick, since a consumer that reads the field only on a monthly job will not appear in a week of logs.
  2. Ship additive first. Populate the new field alongside the old one so no reader is forced to move, which is also what keeps a rolling deploy safe, because old and new instances answer the same requests at the same time and a rollback must still find the old shape present.
  3. Set the window from the slowest legitimate consumer's release cadence, not from your calendar, and decide separately what to do for a consumer with no release process at all, such as an external webhook endpoint you can only email.
  4. Convert silence into evidence before you rely on it: a short, low-traffic removal window that makes a still-dependent consumer fail visibly and loudly while you are watching, rather than at three in the morning after you have moved on.
Follow-up
  • How would you detect a consumer that reads the field only during a monthly export?
  • One caller refuses to move and has a commercial relationship behind it. What changes in your plan and what does not?

Turn a code review disagreement into a decision

easy
code reviewoptimistic concurrencycommunication

A colleague's change updates a row with UPDATE resource SET version = version + 1 WHERE resource_id = $1 AND version = $2 and treats an affected-row count of zero as a successful no-op. You read that as a silently lost update; they think returning 200 is friendlier to clients than returning a conflict. Describe how you have handled a review disagreement of this shape: what goes in the comment, when you leave the thread, and who decides. Then write the comment you would leave here, in under 80 words.

Approach
  1. Sort the disagreement before writing anything. A silently discarded write is a correctness claim about data; the choice between 409 and 412 is taste. Only the first justifies blocking a merge, and saying which one you are doing is most of the value of the comment.
  2. Make the claim reproducible in the comment itself with an interleaving rather than a principle: A reads version 7, B reads version 7, B commits version 8, A's predicate matches zero rows, A is told it succeeded and A's edit is gone.
  3. Offer the alternative with its cost attached: return 409 carrying the current version and the revision that won, so the client can re-read and re-apply. Note that automatic retry is not the fix, because a retry re-reads the winner's state and reapplies an intent formed against data that no longer exists.
  4. Apply an escalation rule you can state: two round trips on the thread, then a call, and the service's owner decides rather than the reviewer. A reviewer who cannot be overruled is a bottleneck with extra steps.
Follow-up
  • Where would you put the test that fails if someone reintroduces the swallowed zero rowcount?
  • The author says clients cannot handle a 409. How do you check whether that is true?

Unblock an engineer without taking the keyboard

easy
mentoringleasesat-least-once

A teammate has spent two days on a job handler that occasionally writes duplicate rows. They are certain the queue is delivering twice by mistake. You suspect a lease expiring under a slow handler, so the job is running concurrently with itself. Describe how you have unblocked someone in this position: what you asked before offering a hypothesis, what you showed them rather than told them, and what you left them owning. Then say what you would do if their theory turned out to be the right one.

Approach
  1. Ask before diagnosing, and ask for things answerable from data they already have: the attempt count on the job rows that produced duplicates, the handler's observed duration against its lease expiry, and whether the duplicate rows share a natural key that a unique constraint could have caught.
  2. Teach the shape rather than the answer. A lease cannot distinguish a dead worker from a slow one, so a handler that outruns its lease is running twice by design, and deploys deliver the other half by killing handlers mid-run on every rollout. Both of their candidate theories produce identical duplicate rows, which is why the evidence has to come from timings rather than from argument.
  3. Hand over a checklist they execute: a natural key on every write the handler performs so the second copy collides rather than appends, the record of intent written before any external effect, a lease heartbeat while running, and the metric that shows it working.
  4. Keep ownership with them deliberately. Pair on the first write, then step back; if you finish it yourself you have closed one ticket and left the same person stuck on the next redelivery.
Follow-up
  • How would you distinguish a genuine double-delivery from a lease expiry using only the data already stored?
  • Their handler calls an external endpoint before recording that it did. What do you tell them to change first?
  • 01

    A field in a write endpoint's response must change shape. You own the endpoint; you do not own the four internal callers or the outbound webhook consumers who read it. Describe a deprecation you were responsible for: what you shipped first, how you established who was actually reading the field, the window you gave and what set its length, what you did about the consumer who never moved, and how you decided removal was safe. Name the signal you used, not the announcement you sent.

  • 02

    A colleague's change updates a row with UPDATE resource SET version = version + 1 WHERE resource_id = $1 AND version = $2 and treats an affected-row count of zero as a successful no-op. You read that as a silently lost update; they think returning 200 is friendlier to clients than returning a conflict. Describe how you have handled a review disagreement of this shape: what goes in the comment, when you leave the thread, and who decides. Then write the comment you would leave here, in under 80 words.

  • 03

    A teammate has spent two days on a job handler that occasionally writes duplicate rows. They are certain the queue is delivering twice by mistake. You suspect a lease expiring under a slow handler, so the job is running concurrently with itself. Describe how you have unblocked someone in this position: what you asked before offering a hypothesis, what you showed them rather than told them, and what you left them owning. Then say what you would do if their theory turned out to be the right one.

PracHub preparation framework ↗
How difficult is the interview process?

The interview process can range from moderate to challenging, depending on your level of experience and the specific team. Preparing for both technical and behavioral questions will help you feel more confident.

Dragos Software Engineer candidate reports ↗
What differentiates successful candidates?

Successful candidates demonstrate a strong technical foundation, effective problem-solving skills, and a clear alignment with Dragos's values. Showing enthusiasm for the cybersecurity mission and a willingness to collaborate will also set you apart.

Dragos Software Engineer candidate reports ↗
What is the culture and working style like at Dragos?

Dragos fosters an inclusive and collaborative culture that emphasizes teamwork and innovation. Candidates should be prepared to engage with diverse perspectives and contribute to a respectful and dynamic work environment.

Dragos Software Engineer candidate reports ↗
What is the typical timeline from initial screen to offer?

The timeline can vary significantly, but candidates may expect a process that lasts a few weeks to a couple of months, depending on scheduling and the number of candidates being interviewed.

Dragos Software Engineer candidate reports ↗
What topics does Dragos test in interviews?

Dragos interviews most often cover Systems Engineering, OT/ICS Security (Operational Technology / Industrial Control Systems), Marketing Analytics, Sales discovery, and Platform Architecture. The exact emphasis depends on the specific role you apply for.

Dragos Software Engineer candidate reports ↗
Sources & methodology 3 sources ↗

No official company page is cited. Rounds and questions come from candidate reports and PracHub editorial material; each source shows the date it was read.