The Federal National Mortgage Association - Fannie Mae · Software Engineer
Updated · 2026-10-02

The Federal National Mortgage Association - Fannie Mae Software Engineer
Interview Guide

THE 60-SECOND BRIEF

A Software Engineer at The Federal National Mortgage Association - Fannie Mae plays a vital role in maintaining the stability and efficiency of the U.S. housing finance system. You will be responsible for designing, developing, and maintaining high-impact software solutions that support mortgage lending, risk management, and large-scale data processing. Your work directly influences how the company manages trillions of dollars in assets, requiring a high degree of precision, scalability, and security. This position is inherently complex, as you will often be working within a large, enterprise-level ecosystem that necessitates a blend of modern cloud architecture and legacy system integration. You will collaborate closely with product managers, data scientists, and cross-functional engineering teams to deliver robust applications.

This guide is scoped to a Software Engineer candidate at The Federal National Mortgage Association - Fannie Mae.

The Federal National Mortgage Association - Fannie Mae candidates report 3 rounds over 3-5 weeks. The stages below are what candidates describe, not a published process.

FlaskREST API DesignAPI Development

20 min read

Browse Software Engineer questions

See the practice prompts

18Practice promptsAcross five skill areas

A Software Engineer at The Federal National Mortgage Association - Fannie Mae plays a vital role in maintaining the stability and efficiency of the U.S. housing finance system. You will be responsible for designing, developing, and maintaining high-impact software solutions that support mortgage lending, risk management, and large-scale data processing. Your work directly influences how the company manages trillions of dollars in assets, requiring a high degree of precision, scalability, and security. This position is inherently complex, as you will often be working within a large, enterprise-level ecosystem that necessitates a blend of modern cloud architecture and legacy system integration. You will collaborate closely with product managers, data scientists, and cross-functional engineering teams to deliver robust applications. For a Software Engineer, this means balancing the need for rapid feature delivery with the rigorous standards required by a highly regulated financial institution. The environment at is dynamic, where you will tackle challenges involving cloud migration, API development, and data-driven decision-making. You can expect to work on meaningful projects that have a broad scope, requiring you to be both a strong individual contributor and a collaborative team player who can navigate complex technical landscapes. The Federal National Mortgage Association - Fannie Mae

01

Recruiter Screen

reported

Initial conversation with a recruiter to assess your background and fit for the role.

What to demonstrate

  • Initial conversation with a recruiter to assess your background and fit for the role
  • Depth in Flask

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.
The Federal National Mortgage Association - Fannie Mae Software Engineer candidate reports ↗
02

Technical Screening

reported

Assessment of technical skills through coding exercises and technical trivia.

What to demonstrate

  • Assessment of technical skills through coding exercises and technical trivia
  • Depth in Flask

How to prepare

  • Answer aloud and timed: How do you handle REST API design and request handling?
  • Answer aloud and timed: Can you explain how you would implement a palindrome method or other basic string manipulation tasks?
The Federal National Mortgage Association - Fannie Mae Software Engineer candidate reports ↗
03

Final Round Interviews

reported

Multiple back-to-back interviews focusing on both technical competence and behavioral fit.

What to demonstrate

  • Multiple back-to-back interviews focusing on both technical competence and behavioral fit
  • Depth in Flask

How to prepare

  • Answer aloud and timed: Describe the difference between a list, a dictionary (map), and a tuple in your preferred language.
  • Answer aloud and timed: Tell me about a project you worked on and your specific contributions to it.
The Federal National Mortgage Association - Fannie Mae Software Engineer candidate reports ↗

PracHub editorial advice for the preparation topics above.

01

Own your resume

Every line on your resume is fair game. If you list a technology, be prepared to answer deep, conceptual questions about how it works under the hood.

02

Prepare for "Tell me about a time

Have 3–5 stories ready that illustrate your problem-solving, leadership, and conflict-resolution skills. Use the STAR (Situation, Task, Action, Result) method to keep your answers concise.

03

Research the company

Even if you aren't explicitly asked "What does Fannie Mae do," understanding their role in the mortgage market will help you frame your answers in a way that shows you understand the business context of your code.

04

Be conversational

The interviewers are looking for a colleague. Treat the interview as a technical discussion between peers rather than an interrogation.

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

13 technical prompts0 include a worked solution

What are the differences between a compiled and an interpreted language?

medium
Technical and Domain Knowledge

What are the differences between a compiled and an interpreted language?

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?

Merge partitioned event streams into one ordered feed with bounded lateness

hard
k-way mergewatermarksout-of-order streams

The read-model service consumes 64 log partitions carrying about 4,000 events per second in total. Each partition is ordered within itself, but partitions drift by up to 30 seconds, and the activity feed must present a tenant's events in occurred_at order. Produce the merge. State its complexity, the buffer it requires in events and in bytes, what happens when one partition is idle, and what you do with an event that arrives after you have already emitted its position. Payloads average 1 KB.

Approach
  1. Merge with a min-heap over the 64 partition heads keyed on (occurred_at, event_id): O(log P) per event and O(n log P) overall. The tie-break on event_id is what makes the output deterministic when two partitions carry the same millisecond, which matters because the feed is paginated and a non-deterministic order reorders pages under the reader.
  2. Emitting the heap head is only correct once every partition has produced everything up to that timestamp, so the emit condition is a watermark: the minimum across partitions of the highest occurred_at seen, less the allowed lateness. Events are held until the watermark passes them, which is what turns individually ordered streams into a jointly ordered one.
  3. Size the buffer from the lateness rather than guessing: 4,000 events per second times 30 seconds is 120,000 buffered events, and at 1 KB each about 120 MB of heap. That number is the real price of the ordering guarantee and belongs in front of whoever asked for it.
  4. Handle the idle partition explicitly, because it fails the feed rather than corrupting it: a partition with no traffic never advances its own maximum, so the watermark freezes and output stops entirely. Either every partition emits a periodic idle marker carrying the broker's current time, or the watermark falls back to wall clock for a partition silent beyond a threshold.
Follow-up
  • The lateness budget is raised to five minutes. What is the new buffer, and what besides memory changes?
  • The consumer restarts. Where does it resume from, and what does the feed look like for the first 30 seconds?

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 rounds and topics The Federal National Mortgage Association - Fannie Mae candidates report.

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
01Map the The Federal National Mortgage Association - Fannie Mae loop
  • Write out the reported sequence: Recruiter Screen, Technical Screening, Final Round Interviews.
  • 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.

02Work Flask
  • Spend the session on Flask, which The Federal National Mortgage Association - Fannie Mae candidates report being tested on.
  • Write one worked example in Flask and time yourself on it.

Deliverable: One timed worked example in Flask.

03Work REST API Design
  • Spend the session on REST API Design, which The Federal National Mortgage Association - Fannie Mae candidates report being tested on.
  • Write one worked example in REST API Design and time yourself on it.

Deliverable: One timed worked example in REST API Design.

04Work API Development
  • Spend the session on API Development, which The Federal National Mortgage Association - Fannie Mae candidates report being tested on.
  • Write one worked example in API Development and time yourself on it.

Deliverable: One timed worked example in API Development.

05Answer out loud: Technical and Domain Knowledge
  • Answer aloud, timed: Explain the four pillars of Object-Oriented Programming (OOP).
  • Answer aloud, timed: What are the differences between a compiled and an interpreted language?

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

06Answer out loud: Behavioral and Leadership
  • Answer aloud, timed: Tell me about a project you worked on and your specific contributions to it.
  • Answer aloud, timed: Describe a time you had to work with a difficult team member or navigate a disagreement.

Deliverable: Spoken answers to 2 reported Behavioral and Leadership question(s), under time.

07Answer out loud: System Design and Problem Solving
  • Answer aloud, timed: How would you design a scalable API for a mortgage application processing system?
  • Answer aloud, timed: If you were tasked with migrating a legacy service to the cloud, what steps would you take?

Deliverable: Spoken answers to 2 reported System Design and Problem Solving question(s), under time.

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 me about a project you worked on and your specific contributions to it.

medium
Behavioral and Leadership

Tell me about a project you worked on and your specific contributions to it.

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?

Describe a time you had to work with a difficult team member or navigate a disagreement.

medium
Behavioral and Leadership

Describe a time you had to work with a difficult team member or navigate a disagreement.

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?

How do you handle tight deadlines or shifting project requirements?

medium
Behavioral and Leadership

How do you handle tight deadlines or shifting project requirements?

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?

What draws you to The Federal National Mortgage Association - Fannie Mae and the housing finance sector?

medium
Behavioral and Leadership

What draws you to The Federal National Mortgage Association - Fannie Mae and the housing finance sector?

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?

Describe a situation where you had to learn a new technology quickly to solve a problem.

medium
Behavioral and Leadership

Describe a situation where you had to learn a new technology quickly to solve a problem.

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?
  • 01

    Tell me about a project you worked on and your specific contributions to it.

  • 02

    Describe a time you had to work with a difficult team member or navigate a disagreement.

  • 03

    How do you handle tight deadlines or shifting project requirements?

  • 04

    What draws you to The Federal National Mortgage Association - Fannie Mae and the housing finance sector?

PracHub preparation framework ↗
How difficult are the technical interviews?

The difficulty is generally considered average. The focus is less on "trick" coding questions and more on your ability to explain technical concepts and your past project work.

The Federal National Mortgage Association - Fannie Mae Software Engineer candidate reports ↗
Should I practice LeetCode?

While you should be prepared for basic algorithmic logic, the interviewers at The Federal National Mortgage Association - Fannie Mae are more likely to ask about your practical experience, design choices, and core language concepts rather than obscure, high-difficulty competitive programming problems.

The Federal National Mortgage Association - Fannie Mae Software Engineer candidate reports ↗
What is the typical timeline?

The process usually spans two to four weeks from the initial screen to an offer. However, timelines can vary; stay in regular contact with your recruiter to manage expectations.

The Federal National Mortgage Association - Fannie Mae Software Engineer candidate reports ↗
Is the interview process remote or in-person?

The process is often a mix, with initial rounds conducted via video conference and final rounds sometimes held onsite or via a series of virtual panels.

The Federal National Mortgage Association - Fannie Mae Software Engineer candidate reports ↗
What topics does The Federal National Mortgage Association - Fannie Mae test in interviews?

The Federal National Mortgage Association - Fannie Mae interviews most often cover Behavioral Interviewing, SQL, Java, Data Analysis, and Problem Solving. The exact emphasis depends on the specific role you apply for.

The Federal National Mortgage Association - Fannie Mae 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.