CPS Energy · Software Engineer
Updated · 2026-10-02

CPS Energy Software Engineer
Interview Guide

THE 60-SECOND BRIEF

A Software Engineer at CPS Energy serves a vital function in maintaining and modernizing the infrastructure that powers San Antonio. You are not just writing code; you are building and supporting the digital backbone of a major utility provider. Your work directly impacts how energy is managed, distributed, and monitored, ensuring that the community receives reliable service. This role is both critical and complex, requiring a blend of traditional engineering rigor and modern software development practices. You will often find yourself working at the intersection of legacy utility systems and emerging technologies. The environment is mission-driven, meaning you will contribute to projects that have a tangible, real-world impact on public infrastructure and operational efficiency.

This guide is scoped to a Software Engineer candidate at CPS Energy.

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

Senior Software EngineeringSoftware EngineeringProgramming Fundamentals

21 min read

Browse Software Engineer questions

See the practice prompts

18Practice promptsAcross five skill areas

A Software Engineer at CPS Energy serves a vital function in maintaining and modernizing the infrastructure that powers San Antonio. You are not just writing code; you are building and supporting the digital backbone of a major utility provider. Your work directly impacts how energy is managed, distributed, and monitored, ensuring that the community receives reliable service. This role is both critical and complex, requiring a blend of traditional engineering rigor and modern software development practices. You will often find yourself working at the intersection of legacy utility systems and emerging technologies. The environment is mission-driven, meaning you will contribute to projects that have a tangible, real-world impact on public infrastructure and operational efficiency.

01

Initial Screening

reported

High-level technical screenings to assess candidates' technical depth.

What to demonstrate

  • High-level technical screenings to assess candidates' technical depth
  • Depth in Senior Software Engineering

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.
CPS Energy Software Engineer candidate reports ↗
02

In-Depth Discussions

reported

More detailed discussions about problem-solving methodology and team fit.

What to demonstrate

  • More detailed discussions about problem-solving methodology and team fit
  • Depth in Senior Software Engineering

How to prepare

  • Answer aloud and timed: What is your preferred approach to ensuring high availability in a production environment?
  • Answer aloud and timed: How do you handle technical debt when working on mission-critical software?
CPS Energy Software Engineer candidate reports ↗
03

Engagement with Leads

reported

Candidates engage with technical leads and potentially cross-functional partners.

What to demonstrate

  • Candidates engage with technical leads and potentially cross-functional partners
  • Depth in Senior Software Engineering

How to prepare

  • Answer aloud and timed: Describe a time you had to learn a new technology stack on the fly to solve a specific problem.
  • Answer aloud and timed: Walk me through your process for designing a scalable service from the ground up.
CPS Energy Software Engineer candidate reports ↗
04

Assessment of Engineering Standards

reported

Evaluation of candidates' consistent engineering standards and understanding of operational risks.

What to demonstrate

  • Evaluation of candidates' consistent engineering standards and understanding of operational risks
  • Depth in Senior Software Engineering

How to prepare

  • Answer aloud and timed: How do you prioritize tasks when faced with conflicting project requirements?
  • Answer aloud and timed: Describe a situation where you had to optimize a piece of code that was performing poorly under load.
CPS Energy Software Engineer candidate reports ↗

PracHub editorial advice for the preparation topics above.

01

Understand the Mission

Research CPS Energy and its role in the community; showing you understand the "why" behind your code goes a long way.

02

Be Specific

When asked about past projects, use the STAR method (Situation, Task, Action, Result) to provide clear, concise answers.

03

Prepare Questions

Always have insightful questions about the team’s current technical challenges or their roadmap for the coming year.

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

10 technical prompts0 include a worked solution

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?

Track a rolling failure rate per destination for circuit decisions

easy
sliding windowring buffercircuit breaker

The egress service delivers about 1,500 webhooks per second across roughly 40,000 destinations, each call bounded by a 10 second timeout. Maintain, per destination, the failure rate over the trailing 60 seconds so a caller can ask before dispatch whether the circuit should open. Attempts arrive as (destination_id, finished_at_ms, outcome). Requirement: amortised O(1) per attempt, with total memory bounded by the destination count rather than by traffic. Give the structure, its exact memory, and the rule that stops a destination with three attempts from opening a circuit.

Approach
  1. Name the exact-deque version and then reject it as the default. Holding timestamps and advancing a tail pointer past anything older than now minus 60 seconds is a correct two-pointer window at amortised O(1) per attempt, but its memory tracks in-window traffic, so one destination in a retry storm holds hundreds of thousands of entries while thousands of quiet destinations hold none.
  2. Use a ring of 60 one-second buckets per destination, each bucket a pair of counters for attempts and failures. On an attempt, advance the ring by the elapsed whole seconds, zeroing at most min(elapsed, 60) buckets, then increment the head. That is amortised O(1) with a fixed footprint per destination.
  3. State the footprint: 60 buckets times two 4-byte counters is 480 bytes of payload per destination, so 40,000 destinations is roughly 20 to 25 MB with per-entry overhead, bounded by the catalogue rather than by the rate. The cost is granularity, since the oldest bucket ages out in whole seconds, which is far tighter than the decision needs.
  4. Require a minimum sample before the circuit may open. A destination with three attempts and three failures reads as 100 percent and is not evidence; a floor of roughly 20 attempts in the window makes the ratio meaningful, and below that floor use a run of consecutive failures as the trigger instead.
Follow-up
  • The fleet is 30 instances and each sees roughly a thirtieth of a destination's traffic. Where does the rate actually live, and what does a per-instance answer get wrong?
  • A destination answers in 9.5 seconds and succeeds. It is not failing but it is consuming your per-destination concurrency. What signal should open the circuit here?

Archive a resource graph without breaking live references or recursing

medium
graph traversaltopological ordertenant isolation

Resources reference other resources within a tenant; for the largest tenant the reference table holds up to 2,000,000 nodes and 8,000,000 edges. Archiving a resource must archive everything reachable from it that nothing outside the set still references, refuse when a live external referrer exists, and terminate when references form cycles, which they legitimately do. Produce the archive order and the refusal list, targeting O(V+E). Say what stops the traversal crossing a tenant boundary, and why recursion is the wrong control structure at this size.

Approach
  1. Load the subgraph with the tenant predicate on both endpoints of the edge, not only on the side you started from. Scoping the left table alone is the classic cross-tenant leak: one mis-entered edge then pulls another tenant's resources into the traversal and, worse, into the archive.
  2. Traverse iteratively with an explicit stack. A 2,000,000-node graph can hold a chain deep enough to exhaust a native stack in the low tens of thousands of frames, and that failure is a process crash rather than an error you can return.
  3. Treat cycles as data rather than corruption: compute strongly connected components with Tarjan in O(V+E) using its own explicit stack, then condense. The condensation is a DAG, so a topological order over it gives the archive order, and every member of a component archives in one transaction because no order within a cycle is valid.
  4. Decide refusals with reverse edges. A candidate is archivable only if every in-edge originates inside the candidate set, so build the transpose or count in-degrees restricted to the visited set, and emit each blocked resource with the id of the external referrer, which is the only part of the answer an operator can act on.
Follow-up
  • The graph is read in one query and the archive writes a minute later. What can change in between, and how do you make the write safe?
  • The candidate set is 400,000 resources. Is that one transaction, and if not, what does a half-finished archive look like to a reader?

Built from the rounds and topics CPS Energy 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 CPS Energy loop
  • Write out the reported sequence: Initial Screening, In-Depth Discussions, Engagement with Leads, Assessment of Engineering Standards.
  • 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 Senior Software Engineering
  • Spend the session on Senior Software Engineering, which CPS Energy candidates report being tested on.
  • Write one worked example in Senior Software Engineering and time yourself on it.

Deliverable: One timed worked example in Senior Software Engineering.

03Work Software Engineering
  • Spend the session on Software Engineering, which CPS Energy candidates report being tested on.
  • Write one worked example in Software Engineering and time yourself on it.

Deliverable: One timed worked example in Software Engineering.

04Work Programming Fundamentals
  • Spend the session on Programming Fundamentals, which CPS Energy candidates report being tested on.
  • Write one worked example in Programming Fundamentals and time yourself on it.

Deliverable: One timed worked example in Programming Fundamentals.

05Answer out loud: Technical and Domain Proficiency
  • Answer aloud, timed: How do you approach debugging a complex, multi-layered system?
  • Answer aloud, timed: Explain your experience with integrating legacy databases with modern front-end applications.

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

06Answer out loud: Problem-Solving and Engineering Logic
  • Answer aloud, timed: Walk me through your process for designing a scalable service from the ground up.
  • Answer aloud, timed: How do you prioritize tasks when faced with conflicting project requirements?

Deliverable: Spoken answers to 2 reported Problem-Solving and Engineering Logic question(s), under time.

07Answer out loud: Behavioral and Collaborative Skills
  • Answer aloud, timed: Tell me about a time you had to explain a highly technical concept to a non-technical stakeholder.
  • Answer aloud, timed: How do you handle feedback from peers during a code review?

Deliverable: Spoken answers to 2 reported Behavioral and Collaborative Skills 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.

Explain your experience with integrating legacy databases with modern front-end applications.

medium
Technical and Domain Proficiency

Explain your experience with integrating legacy databases with modern front-end applications.

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 technical debt when working on mission-critical software?

medium
Technical and Domain Proficiency

How do you handle technical debt when working on mission-critical software?

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 learn a new technology stack on the fly to solve a specific problem.

medium
Technical and Domain Proficiency

Describe a time you had to learn a new technology stack on the fly to solve a specific 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?

How do you prioritize tasks when faced with conflicting project requirements?

medium
Problem-Solving and Engineering Logic

How do you prioritize tasks when faced with conflicting 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?

Tell me about a time you had to explain a highly technical concept to a non-technical stakeholder.

medium
Behavioral and Collaborative Skills

Tell me about a time you had to explain a highly technical concept to a non-technical stakeholder.

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 feedback from peers during a code review?

medium
Behavioral and Collaborative Skills

How do you handle feedback from peers during a code review?

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 project where you had to collaborate with a cross-functional team to meet a tight deadline.

medium
Behavioral and Collaborative Skills

Describe a project where you had to collaborate with a cross-functional team to meet a tight deadline.

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 in the utility and energy sector?

medium
Behavioral and Collaborative Skills

What motivates you to work in the utility and energy 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?
  • 01

    Explain your experience with integrating legacy databases with modern front-end applications.

  • 02

    How do you handle technical debt when working on mission-critical software?

  • 03

    Describe a time you had to learn a new technology stack on the fly to solve a specific problem.

  • 04

    How do you prioritize tasks when faced with conflicting project requirements?

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

The timeline can vary, but generally, it involves a few weeks of assessment from the initial application review to the final decision. Stay engaged with your recruiter for the most accurate updates on your specific stage.

CPS Energy Software Engineer candidate reports ↗
What is the best way to demonstrate cultural fit?

Focus on reliability, collaboration, and a commitment to public service. CPS Energy values engineers who take ownership of their work and care about the impact it has on the San Antonio community.

CPS Energy Software Engineer candidate reports ↗
Should I prepare for whiteboard coding?

While the focus is often on real-world problem-solving, be prepared to discuss algorithms and data structures as they apply to system performance and optimization.

CPS Energy Software Engineer candidate reports ↗
Is there a specific focus on legacy versus modern systems?

You should be prepared for both. Much of the work involves modernizing older systems, so showing that you respect the history of the current infrastructure while pushing for modern improvements is a significant advantage.

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

CPS Energy interviews most often cover Problem Solving, Stakeholder Management, Business Analysis, Project Management, and Security Engineering (general). The exact emphasis depends on the specific role you apply for.

CPS Energy 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.