cswork / libraryOpen practice workspace

Interview guides · Usa Jobs

Usa Jobs Software Engineer Interview Guide

Usa Jobs Software Engineer interview guide: reported rounds, questions and how candidates describe the process.

The 60-second brief

A Software Engineer hired through the Usa Jobs pipeline plays a critical role in building, maintaining, and modernizing the technology infrastructure that powers public safety, federal operations, and defense systems. Engineers in these roles are responsible for developing highly resilient systems that handle massive datasets, real-time streaming information, and highly secure cloud environments. Whether you are working on public safety communication systems, machine learning pipelines, or mission-critical military logistics applications, your work directly impacts millions of citizens and public servants. At Usa Jobs, engineering is characterized by an uncompromising focus on reliability, security, and scalability. The software you build must operate seamlessly under extreme conditions, where downtime is not just an inconvenience but a critical failure.

This guide is scoped to a Software Engineer candidate at Usa Jobs.

Focus areas

  • Python
  • SQL
  • Real-time Streaming Systems

The Usa Jobs interview process

Usa Jobs candidates report 3 rounds over 3-5 weeks. The stages below are what candidates describe, not a published process.

Application Review

The process begins with an online application review to assess candidates' qualifications.

What to demonstrate

  • The process begins with an online application review to assess candidates' qualifications
  • Depth in Python

How to prepare

  • Be able to walk your CV end to end in two minutes, and say why this company specifically.
  • Have your salary expectations, notice period and location constraints ready, and ask for the rest of the loop in writing.

Technical Phone Conversations

One or two structured technical phone conversations focusing on engineering experience and system design.

What to demonstrate

  • One or two structured technical phone conversations focusing on engineering experience and system design
  • Depth in Python

How to prepare

  • Answer aloud and timed: Write a program to reverse a linked list and discuss its time and space complexity.
  • Answer aloud and timed: What is the difference between abstract classes and interfaces, and when would you use each?

Administrative and Security Onboarding

Successful candidates transition to the onboarding phase, which includes biometrics and background checks.

What to demonstrate

  • Successful candidates transition to the onboarding phase, which includes biometrics and background checks
  • Depth in Python

How to prepare

  • Answer aloud and timed: Explain how inheritance can sometimes lead to rigid codebases and how composition can resolve this.
  • Answer aloud and timed: How would you design a relational database schema for a real-time tracking application?

Where candidates lose points

Review the Fundamentals

Do not neglect basic OOP concepts, database normalization, and SQL joins. Candidates are frequently evaluated on their ability to explain these core principles clearly and apply them to simple system design scenarios.

Understand Public Trust Requirements

Be prepared for the background check process. Ensure your employment history, residences, and personal references are accurate and well-documented to expedite your biometrics and clearance processing.

Focus on Clean, Documented Code

During coding assessments, write clear comments and structure your code logically. Interviewers want to see that your code can be easily understood and maintained by other engineers on a long-term government project.

Questions & practice

Explain the four pillars of object-oriented programming and how you have applied them in a recent project.

Medium · Object-Oriented Programming (OOP) & Core

Approach

  1. Restate the input: its shape, its size, and what is guaranteed about it.
  2. Name the brute-force solution and its complexity before improving on it.
  3. Choose the data structure from the access pattern, not from familiarity.
  4. State the target complexity and say which constraint rules the naive version out.

Follow-up

  • How does this change if the input no longer fits in memory?
  • What is the worst case, and how likely is it on real data?

Write a program to reverse a linked list and discuss its time and space complexity.

Medium · Object-Oriented Programming (OOP) & Core

Approach

  1. Restate the input: its shape, its size, and what is guaranteed about it.
  2. Name the brute-force solution and its complexity before improving on it.
  3. Choose the data structure from the access pattern, not from familiarity.
  4. State the target complexity and say which constraint rules the naive version out.

Follow-up

  • How does this change if the input no longer fits in memory?
  • What is the worst case, and how likely is it on real data?

What is the difference between abstract classes and interfaces, and when would you use each?

Medium · Object-Oriented Programming (OOP) & Core

Approach

  1. Restate the input: its shape, its size, and what is guaranteed about it.
  2. Name the brute-force solution and its complexity before improving on it.
  3. Choose the data structure from the access pattern, not from familiarity.
  4. State the target complexity and say which constraint rules the naive version out.

Follow-up

  • How does this change if the input no longer fits in memory?
  • What is the worst case, and how likely is it on real data?

Explain how inheritance can sometimes lead to rigid codebases and how composition can resolve this.

Medium · Object-Oriented Programming (OOP) & Core

Approach

  1. Restate the input: its shape, its size, and what is guaranteed about it.
  2. Name the brute-force solution and its complexity before improving on it.
  3. Choose the data structure from the access pattern, not from familiarity.
  4. State the target complexity and say which constraint rules the naive version out.

Follow-up

  • How does this change if the input no longer fits in memory?
  • What is the worst case, and how likely is it on real data?

Explain the difference between SQL and NoSQL databases, and when you would choose one over the other for feder

Medium · Database Modeling & CRUD Operations

Explain the difference between SQL and NoSQL databases, and when you would choose one over the other for federal data storage.

Approach

  1. Name the grain you start from and join outward from it.
  2. Check whether any join is one-to-many before aggregating, or the sums inflate.
  3. Say which index the query would use, and what makes it unusable.
  4. Handle the rows that do not match: that is usually the actual question.

Follow-up

  • How does the query change if that join becomes one-to-many?
  • What happens to this when the table is ten times larger?

Write a query to perform a complex join across three tables while ensuring optimal query execution time.

Medium · Database Modeling & CRUD Operations

Approach

  1. Name the grain you start from and join outward from it.
  2. Check whether any join is one-to-many before aggregating, or the sums inflate.
  3. Say which index the query would use, and what makes it unusable.
  4. Handle the rows that do not match: that is usually the actual question.

Follow-up

  • How does the query change if that join becomes one-to-many?
  • What happens to this when the table is ten times larger?

Walk through the process of optimizing a slow-running read query on a database table with millions of rows.

Medium · Database Modeling & CRUD Operations

Approach

  1. Name the grain you start from and join outward from it.
  2. Check whether any join is one-to-many before aggregating, or the sums inflate.
  3. Say which index the query would use, and what makes it unusable.
  4. Handle the rows that do not match: that is usually the actual question.

Follow-up

  • How does the query change if that join becomes one-to-many?
  • What happens to this when the table is ten times larger?

How do you design a class structure that prevents tight coupling between modules?

Medium · Object-Oriented Programming (OOP) & Core

Approach

  1. Fix the scope first: who calls this, how often, and what they do when it fails.
  2. Name the read and write paths separately; they rarely have the same bottleneck.
  3. Choose a partition key and say what query it makes expensive.
  4. State the consistency you need, and where you are willing to be stale.

Follow-up

  • What breaks first when traffic grows ten times?
  • How does this behave when that dependency is down for an hour?

How would you design a relational database schema for a real-time tracking application?

Medium · Database Modeling & CRUD Operations

Approach

  1. Fix the scope first: who calls this, how often, and what they do when it fails.
  2. Name the read and write paths separately; they rarely have the same bottleneck.
  3. Choose a partition key and say what query it makes expensive.
  4. State the consistency you need, and where you are willing to be stale.

Follow-up

  • What breaks first when traffic grows ten times?
  • How does this behave when that dependency is down for an hour?

What are database transactions, and how do you ensure ACID compliance in a distributed system?

Medium · Database Modeling & CRUD Operations

Approach

  1. Fix the scope first: who calls this, how often, and what they do when it fails.
  2. Name the read and write paths separately; they rarely have the same bottleneck.
  3. Choose a partition key and say what query it makes expensive.
  4. State the consistency you need, and where you are willing to be stale.

Follow-up

  • What breaks first when traffic grows ten times?
  • How does this behave when that dependency is down for an hour?

What is the difference between AWS Lambda and running applications on EC2, and how do you decide which to use?

Medium · Cloud Infrastructure & AWS

Approach

  1. Fix the scope first: who calls this, how often, and what they do when it fails.
  2. Name the read and write paths separately; they rarely have the same bottleneck.
  3. Choose a partition key and say what query it makes expensive.
  4. State the consistency you need, and where you are willing to be stale.

Follow-up

  • What breaks first when traffic grows ten times?
  • How does this behave when that dependency is down for an hour?

How do you secure data at rest and data in transit within an AWS environment?

Medium · Cloud Infrastructure & AWS

Approach

  1. Say who the caller is and what they do when the call fails halfway.
  2. Define the identity of a request so a retry cannot double-apply it.
  3. Separate accepted, pending, failed and confirmed; they are different facts.
  4. Design the error taxonomy before the success shape; callers branch on it.

Follow-up

  • What happens if the caller retries after a timeout?
  • How does a client discover it is on an old version of this contract?

Explain how containerization tools like Docker and Kubernetes help achieve environment parity across developme

Medium · Cloud Infrastructure & AWS

Explain how containerization tools like Docker and Kubernetes help achieve environment parity across development and production.

Approach

  1. Fix the scope first: who calls this, how often, and what they do when it fails.
  2. Name the read and write paths separately; they rarely have the same bottleneck.
  3. Choose a partition key and say what query it makes expensive.
  4. State the consistency you need, and where you are willing to be stale.

Follow-up

  • What breaks first when traffic grows ten times?
  • How does this behave when that dependency is down for an hour?

How would you design a serverless pipeline to process incoming batched data files?

Medium · Cloud Infrastructure & AWS

Approach

  1. Fix the scope first: who calls this, how often, and what they do when it fails.
  2. Name the read and write paths separately; they rarely have the same bottleneck.
  3. Choose a partition key and say what query it makes expensive.
  4. State the consistency you need, and where you are willing to be stale.

Follow-up

  • What breaks first when traffic grows ten times?
  • How does this behave when that dependency is down for an hour?

Read latency spikes on a sixty-second sawtooth

Medium · cache stampede · single-flight · ttl

The cached listing read path serves about 14k reads/second at an 85% hit rate. p99 sits at 35 ms for 57 seconds, jumps to 900 ms for 3, and repeats. During each spike the primary shows several hundred identical listing queries starting within the same millisecond, all carrying one large tenant's id. Cache entries use a 60-second TTL. Give the mechanism, the ordered checks, the fix, and the correctness hazard your fix must not introduce.

Approach

  1. Match the period to a configured number before theorising about load. A spike every 60 seconds against a 60-second TTL is an entry expiring, and you confirm it by correlating spike timestamps with the entry's write time rather than with the traffic curve. If the period had matched a cron or a GC interval instead, this is a different investigation.
  2. Establish the concurrency of the miss. Several hundred identical queries in one millisecond means the miss path has no coalescing: every request that arrives between expiry and repopulation recomputes. The herd size is that key's arrival rate times its recompute time, so at 1.2k reads/second for the hot key and a 250 ms recompute you expect about 300 concurrent misses, which matches what is observed.
  3. Add single-flight on the miss path so one caller per key recomputes under a short-lived lock while the rest wait for its result. Prefer stale-while-revalidate where the read tolerates it: return the expired value immediately and refresh asynchronously, which removes the latency spike rather than serialising it into a queue of waiters.
  4. De-synchronise the keys. Write TTLs with jitter, for example 60 seconds plus or minus 10%, so a deploy or a mass invalidation does not align every key on the same second and turn a per-key herd into a fleet-wide one.

Follow-up

  • The same sawtooth appears on a key that is invalidated on write rather than expired. Is that the same bug?
  • How does your answer change if the recompute takes 4 seconds instead of 250 ms?

Suggested practice checklist

Built from the rounds and topics Usa Jobs candidates report.

Day 1 — Map the Usa Jobs loop

  • Write out the reported sequence: Application Review, Technical Phone Conversations, Administrative and Security Onboarding.
  • For each round, write one sentence on what it is judging, from the description above, and mark the one you are least ready for.

Deliverable: A one-page map of the 3 reported rounds, with the weakest marked.

Day 2 — Work Python

  • Spend the session on Python, which Usa Jobs candidates report being tested on.
  • Write one worked example in Python and time yourself on it.

Deliverable: One timed worked example in Python.

Day 3 — Work SQL

  • Spend the session on SQL, which Usa Jobs candidates report being tested on.
  • Write one worked example in SQL and time yourself on it.

Deliverable: One timed worked example in SQL.

Day 4 — Work Real-time Streaming Systems

  • Spend the session on Real-time Streaming Systems, which Usa Jobs candidates report being tested on.
  • Write one worked example in Real-time Streaming Systems and time yourself on it.

Deliverable: One timed worked example in Real-time Streaming Systems.

Day 5 — Answer out loud: Object-Oriented Programming (OOP) & Core Coding

  • Answer aloud, timed: Explain the four pillars of object-oriented programming and how you have applied them in a recent project.
  • Answer aloud, timed: How do you design a class structure that prevents tight coupling between modules?

Deliverable: Spoken answers to 2 reported Object-Oriented Programming (OOP) & Core Coding question(s), under time.

Day 6 — Answer out loud: Database Modeling & CRUD Operations

  • Answer aloud, timed: How would you design a relational database schema for a real-time tracking application?
  • Answer aloud, timed: Explain the difference between SQL and NoSQL databases, and when you would choose one over the other for federal data storage.

Deliverable: Spoken answers to 2 reported Database Modeling & CRUD Operations question(s), under time.

Day 7 — Answer out loud: Cloud Infrastructure & AWS

  • Answer aloud, timed: What is the difference between AWS Lambda and running applications on EC2, and how do you decide which to use?
  • Answer aloud, timed: How do you secure data at rest and data in transit within an AWS environment?

Deliverable: Spoken answers to 2 reported Cloud Infrastructure & AWS question(s), under time.

Behavioural preparation

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

Describe your experience with infrastructure as code and how it benefits deployment reliability.

Medium · Cloud Infrastructure & AWS

Approach

  1. Pick a story where you made the decision, not one where you watched it.
  2. State the situation in two sentences and spend the rest on the reasoning.
  3. Give the blast radius: what could have broken, and what you measured.
  4. Name the disagreement and how you resolved it with evidence.

Follow-up

  • What would you do differently if you ran that again?
  • How did you know your change caused the improvement?

Reverse your own decision and price the reversal

Medium · reversibility · measurement · migrations

Describe a technical decision you made and later reversed. Pick one that cost something: a service you split and merged back, a cache you added and removed, an index you created that pushed the planner onto a worse plan, a projection you rebuilt from scratch. State what you believed when you decided, the measurement that changed your mind, how long the wrong version ran in production, and what the reversal cost in migrations, dual writes, and a deprecation window for callers you did not own.

Approach

  1. State the original rationale without irony, in the version you would still defend given what was known then. If it is not defensible, the story is about carelessness rather than judgement, and a different example serves you better.
  2. Give the measurement that moved with a before and after: the p99 that did not improve, the cache hit rate that sat at 40%, the plan that flipped to a sequential scan once the table passed a size you can name.
  3. Cost the reversal in steps, not adjectives: expand-and-contract deploys, the dual-write window, the callers who had to be notified, the rows already written in the wrong shape that had to be backfilled or abandoned.
  4. Distinguish reversal from rewrite by naming what you kept. Most good reversals preserve the schema or the interface and undo one decision inside it, which is also why they were affordable.

Follow-up

  • What in that decision was irreversible, and did you know it was irreversible when you made it?
  • How did you tell the people who had already built on top of the original decision?

Ship under a deadline and bound the debt you chose

Medium · pagination · technical debt · tradeoffs

You have four days to ship a tenant-facing listing endpoint. The version you would defend uses keyset pagination over (tenant_id, status, updated_at DESC, resource_id DESC); the version you can finish uses LIMIT/OFFSET with no matching index. Describe a deadline call you actually made of this shape: what you shipped, what you knowingly deferred, how you bounded the damage with a mechanism rather than an intention, and the specific numeric condition that would force the follow-up. Name who you told and where you wrote it down.

Approach

  1. Name the deferred failure precisely instead of calling it slow. OFFSET n makes the database produce and discard n rows, so cost grows with page depth; without an index matching the sort, every matching row is read and sorted before the limit applies; and rows inserted between two page fetches shift across the boundary so items are skipped or repeated with nothing in the response to signal it.
  2. Bound the blast radius with something mechanical rather than a promise: cap maximum page depth, cap page size, restrict the endpoint to one internal caller, or keep it behind a flag. State which failure each cap removes and which it leaves standing.
  3. Attach a number to the trigger and wire it to an alarm: the first tenant crossing N resources, or the endpoint's p99 crossing its share of the 400 ms budget, so the debt announces itself instead of waiting to be remembered.
  4. Write it where the next engineer looks, which is the code and the ticket, not a chat message: what was deferred, why, the cap, and the trigger.

Follow-up

  • At what page depth does the offset version breach your latency budget, given your page size and row counts?
  • What breaks first when you switch to keyset pagination later, and what does a client holding an old page token see?