National Grid · Software Engineer
Updated · 2026-10-02

National Grid Software Engineer
Interview Guide

THE 60-SECOND BRIEF

As a Software Engineer at National Grid, you are at the intersection of critical infrastructure and digital transformation. You are not just writing code; you are building the software systems that monitor, optimize, and secure the energy networks powering millions of homes and businesses. Your work directly impacts the reliability of the grid, the integration of renewable energy sources, and the efficiency of our operational technology. The role involves significant scale and complexity. You will collaborate with multi-disciplinary teams—ranging from electrical engineers to data scientists—to solve real-world problems such as fault analysis, system stability, and smart grid management. It is a position of high strategic influence where your technical solutions contribute to the company’s mission of transitioning to a cleaner, more resilient energy future.

This guide is scoped to a Software Engineer candidate at National Grid.

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

Competency-based interviewingPresentation & CommunicationSituational Judgment Testing (SJT)

21 min read

Browse Software Engineer questions

See the practice prompts

18Practice promptsAcross five skill areas

As a Software Engineer at National Grid, you are at the intersection of critical infrastructure and digital transformation. You are not just writing code; you are building the software systems that monitor, optimize, and secure the energy networks powering millions of homes and businesses. Your work directly impacts the reliability of the grid, the integration of renewable energy sources, and the efficiency of our operational technology. The role involves significant scale and complexity. You will collaborate with multi-disciplinary teams—ranging from electrical engineers to data scientists—to solve real-world problems such as fault analysis, system stability, and smart grid management. It is a position of high strategic influence where your technical solutions contribute to the company’s mission of transitioning to a cleaner, more resilient energy future. Expect a role that demands both rigorous engineering standards and an innovative mindset to handle the unique challenges of the utility sector. 02 · Compensation

01

Online Assessment

reported

Initial assessment to gauge communication style, behavioral tendencies, and cognitive skills.

What to demonstrate

  • Initial assessment to gauge communication style, behavioral tendencies, and cognitive skills
  • Depth in Competency-based interviewing

How to prepare

  • Answer aloud and timed: Describe a time you had to adapt to a challenging situation.
  • Answer aloud and timed: How do you handle conflict within a team environment?
National Grid Software Engineer candidate reports ↗
02

Recorded HireVue Interview

reported

Candidates complete a recorded interview to further assess their fit for the role.

What to demonstrate

  • Candidates complete a recorded interview to further assess their fit for the role
  • Depth in Competency-based interviewing

How to prepare

  • Answer aloud and timed: Tell us about a time it was important to follow strict safety or procedural rules.
  • Answer aloud and timed: What motivates you to work for National Grid specifically?
National Grid Software Engineer candidate reports ↗
03

Live Interviews

reported

Involves panel sessions with hiring managers and senior engineers.

What to demonstrate

  • Involves panel sessions with hiring managers and senior engineers
  • Depth in Competency-based interviewing

How to prepare

  • Answer aloud and timed: Describe a time you built a strong working relationship with a colleague.
  • Answer aloud and timed: Can you explain how you approach system design for a high-availability environment?
National Grid Software Engineer candidate reports ↗
04

Assessment Center/Power Day

reported

Final hurdle involving group case studies, technical deep dives, and competency-based discussions.

What to demonstrate

  • Final hurdle involving group case studies, technical deep dives, and competency-based discussions
  • Depth in Competency-based interviewing

How to prepare

  • Answer aloud and timed: What is your experience with fault analysis or network stability?
  • Answer aloud and timed: How do you handle debugging when the root cause is unclear?
National Grid Software Engineer candidate reports ↗

PracHub editorial advice for the preparation topics above.

01

Prioritize the STAR Method

Always structure your behavioral answers using the Situation, Task, Action, Result framework. This keeps your answers concise and focused on your individual contributions.

02

Know the Core Values

Familiarize yourself with our mission statement and core values. If you can weave these into your answers, you will demonstrate a clear cultural fit.

03

Be Conversational

During panel interviews, treat the session as a professional discussion rather than an interrogation. We are looking for colleagues, not just test-takers.

04

Prepare Questions for Us

At the end of the interview, have insightful questions ready about the team’s current challenges or the company’s future energy initiatives. This shows high engagement.

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

12 technical prompts0 include a worked solution

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?

Diff a projection against the primary without per-row point reads

hard
reconciliationrange hashingthrottling

The listing projection has drifted and some rows show a stale version. The primary holds 40,000,000 resource rows across 12,000 tenants while serving 1,200 writes and 14,000 reads per second. The obvious repair, reading each resource row and comparing its version against the projection, is correct and would eventually finish. Explain precisely why it is unacceptable here, then give a diff that finds the differing rows, state its complexity, and make it safe to run against a live primary. Replication lag is usually under 100 ms and is not bounded.

Approach
  1. Quantify the naive cost rather than calling it slow: 40,000,000 point reads at even 0.5 ms each is over five hours serialised, and the only lever is concurrency, which is exactly what you cannot spend. The primary's pool is sized for the write path, and 40,000,000 random reads evict the buffer cache that sustains the 85 percent cache hit rate, so the audit degrades the system it is auditing.
  2. Replace random access with one ordered pass per side. Both sides can be read in (tenant_id, resource_id) order, which is a sequential scan on each and a merge join in O(n) time and O(1) memory. For a dense diff that is the whole answer, and it reads the primary once instead of 40,000,000 times.
  3. For the expected sparse case, compare range hashes instead of rows: partition the key space, compute per range an order-independent aggregate over hash(resource_id, version), compare aggregates, and descend only into ranges that differ. With d differing rows and branching factor B, at most d ranges mismatch per level, so the drill-down examines O(d log_B(n/d)) ranges and reads full rows only in mismatching leaves.
  4. Aggregate with a sum modulo 2^64 or a multiset hash, never XOR. XOR is order-independent but self-cancelling, so two rows wrong in the same way, or a row duplicated on one side, leave the range aggregate matching and the range is declared clean.
Follow-up
  • The diff reports 900 stale rows. How do you decide between patching those rows and rebuilding the projection from resource_revision?
  • Same job, but the projection lives in a search index that cannot be scanned in key order. What changes?

Built from the rounds and topics National Grid 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 National Grid loop
  • Write out the reported sequence: Online Assessment, Recorded HireVue Interview, Live Interviews, Assessment Center/Power Day.
  • 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 4 reported rounds, with the weakest marked.

02Work Competency-based interviewing
  • Spend the session on Competency-based interviewing, which National Grid candidates report being tested on.
  • Write one worked example in Competency-based interviewing and time yourself on it.

Deliverable: One timed worked example in Competency-based interviewing.

03Work Presentation & Communication
  • Spend the session on Presentation & Communication, which National Grid candidates report being tested on.
  • Write one worked example in Presentation & Communication and time yourself on it.

Deliverable: One timed worked example in Presentation & Communication.

04Work Situational Judgment Testing (SJT)
  • Spend the session on Situational Judgment Testing (SJT), which National Grid candidates report being tested on.
  • Write one worked example in Situational Judgment Testing (SJT) and time yourself on it.

Deliverable: One timed worked example in Situational Judgment Testing (SJT).

05Answer out loud: Behavioral and Values-Based
  • Answer aloud, timed: Describe a time you had to adapt to a challenging situation.
  • Answer aloud, timed: How do you handle conflict within a team environment?

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

06Answer out loud: Technical and Domain Knowledge
  • Answer aloud, timed: Can you explain how you approach system design for a high-availability environment?
  • Answer aloud, timed: What is your experience with fault analysis or network stability?

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

07Answer out loud: Problem-Solving and Case Studies
  • Answer aloud, timed: Given a set of renewable energy project proposals, how would you evaluate them based on cost, customer impact, and feasibility?
  • Answer aloud, timed: How would you prioritize power distribution in a town during a simulated emergency scenario?

Deliverable: Spoken answers to 2 reported Problem-Solving and Case Studies 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.

Describe a time you had to adapt to a challenging situation.

medium
Behavioral and Values-Based

Describe a time you had to adapt to a challenging situation.

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 conflict within a team environment?

medium
Behavioral and Values-Based

How do you handle conflict within a team environment?

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?

Tell us about a time it was important to follow strict safety or procedural rules.

medium
Behavioral and Values-Based

Tell us about a time it was important to follow strict safety or procedural rules.

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 motivates you to work for National Grid specifically?

medium
Behavioral and Values-Based

What motivates you to work for National Grid specifically?

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 built a strong working relationship with a colleague.

medium
Behavioral and Values-Based

Describe a time you built a strong working relationship with a colleague.

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 is your experience with fault analysis or network stability?

medium
Technical and Domain Knowledge

What is your experience with fault analysis or network stability?

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

    Describe a time you had to adapt to a challenging situation.

  • 02

    How do you handle conflict within a team environment?

  • 03

    Tell us about a time it was important to follow strict safety or procedural rules.

  • 04

    What motivates you to work for National Grid specifically?

PracHub preparation framework ↗
How long does the entire interview process take?

Timelines can vary, but generally, the process from application to a final decision can take several months. We appreciate your patience and suggest staying engaged with your recruiter for updates.

National Grid Software Engineer candidate reports ↗
Are the technical questions always related to the role?

We strive to keep technical questions relevant to the position. However, some panels may ask broader engineering questions to test your fundamental knowledge of computer science and system stability.

National Grid Software Engineer candidate reports ↗
How important are the "games" in the initial assessment?

These games are part of our holistic evaluation process. They are designed to test cognitive abilities like pattern recognition and numeracy, which are useful indicators of performance in complex engineering roles.

National Grid Software Engineer candidate reports ↗
What differentiates successful candidates?

Successful candidates are those who can clearly link their technical skills to our core mission. They show a genuine interest in the energy sector and demonstrate a collaborative, "team-first" mindset throughout the assessment center.

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

National Grid interviews most often cover Behavioral Interviewing, Problem Solving, Stakeholder Management, Data Analysis, and Case Study Analysis. The exact emphasis depends on the specific role you apply for.

National Grid 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.