Goldman Sachs interview prep · updated Oct 2026

Goldman Sachs Software Engineer Interview Questions

Software Engineer 8 questions

Software engineers at an investment bank build the logic close to the business: checks that stop an order that breaks a limit, code that puts a value on a bond or an option, and overnight runs that measure how a portfolio would behave in a crisis. Prepare to design these out loud, explain trade-offs between speed and safety, and describe how you work with traders, bankers and risk teams. What to show here: sound engineering judgment explained clearly to the business. Each question below has what the interviewer is checking, an answer frame and a sample spoken answer to adapt.

Behavioral

1. Tell me about a time you explained a technical risk to someone on the business side and it changed their decision.

What they are checking
Checks whether you can put a technical concern into business terms and stand behind it with evidence, without alarm or jargon.
Answer frame
  1. Describe the decision and the risk you saw.
  2. Explain how you put it in business terms.
  3. Show the options you offered.
  4. Share what was decided and the result.
Sample spoken answer

“A business lead wanted to start a new calculation for all clients on one day. I saw a risk: the calculation depended on a data feed that arrived late about once a week, and on those days the figures would be wrong without anyone noticing. I did not talk about feeds. I said that roughly one morning a week, clients would see yesterday's numbers marked as today's. I offered two options: wait for a check on the feed, or start with a small group. He chose the small group. We found the problem in the first week, and your result.”

Red flag to avoid

Weak answers use technical terms the listener could not follow, or stayed silent because the decision belonged to someone else.

Behavioral

2. Describe a code review, given or received, where a reviewer caught something that would have produced a wrong figure. What did the team change afterwards?

What they are checking
Checks whether you value review as a control, take criticism well and improve the process as well as the single change.
Answer frame
  1. Describe the change under review.
  2. Explain what was caught and why tests missed it.
  3. Show how you responded.
  4. Share the change to the process.
Sample spoken answer

“I submitted a change that converted amounts between currencies. My tests passed. A reviewer asked which day's rate I used for trades booked late in the evening, and I realised I used the rate for the day the code ran, not the trade date. It would have been wrong only around midnight, which is why the tests missed it. I thanked her, fixed it and added tests around the date boundary. We then added a question to our review checklist: which date does each figure depend on? Since then, your result. I now ask that question myself.”

Red flag to avoid

Weak answers treat review as a formality, or became defensive when the mistake was found.

System Design

3. Every order must be checked against risk limits before it goes to the market, and the check must add almost no delay. How would you design it?

What they are checking
Checks how you balance safety with speed: limits held in memory, state updated from fills, and a safe result when the check cannot run.
Answer frame
  1. Define the limits: order size, position, price bands, per client or desk.
  2. Keep limits and current positions in memory.
  3. Update positions from orders and fills as they happen.
  4. Refuse the order if the check cannot be completed.
Sample spoken answer

“I would place the check in the order path, as a component that holds limits and current exposure in memory, so that each check is a few comparisons with no database call. Limits load at the start and update through a controlled channel. Exposure is updated as orders are sent and filled, counting open orders as if they will fill. Checks cover order size, resulting position and a price too far from the market. If the component cannot decide, for example because its state is out of date, the order is refused and not let through. Every refusal is logged with its reason.”

Red flag to avoid

Weak answers call a database for each order, or allow orders through when the check is unavailable.

Technical

4. You need code that puts a value on bonds today, and on options and other instruments later. How would you structure it so a new instrument can be added without touching the old ones, and how would you test it?

What they are checking
Checks object design for a family of calculations and a testing approach suited to numerical code.
Answer frame
  1. Separate the instrument data from the pricing method.
  2. Define a common interface for pricing.
  3. Pass market data in and never fetch it inside.
  4. Test against known values and simple limits.
Sample spoken answer

“I would separate what an instrument is from how it is priced. Each instrument type is a plain data object. Each pricing method follows one interface that takes an instrument and a set of market data and returns a value. A new instrument means a new data type and a new pricer, registered in one place, with no change to bond code. Market data is always passed in, so that the same inputs give the same output. For testing I would use cases with values worked out by hand, check simple truths such as a bond being worth less when rates rise, and compare with the previous version.”

Red flag to avoid

Weak answers build one large function with a branch for each instrument, or fetch live prices inside the calculation so results cannot be repeated.

Technical

5. Each night the bank revalues a very large portfolio under many what-if market scenarios, and the run must finish before morning. How would you make it fast enough?

What they are checking
Checks that you can spot independent work, spread it across machines and handle failures and repeated work in a large batch.
Answer frame
  1. Split the work into independent pieces by position and scenario.
  2. Spread the pieces across many workers.
  3. Reuse shared results and avoid repeated work.
  4. Retry failed pieces and track progress against the deadline.
Sample spoken answer

“Valuing one position under one scenario does not depend on any other, so the work splits cleanly. I would cut it into tasks and hand them to a pool of workers across many machines, with similar positions grouped so that shared inputs are loaded once. Results that many tasks need, such as a rate curve for a scenario, are calculated once and cached. If a worker fails, only its tasks are run again. I would run the most important portfolios first and show progress against the deadline, so that a late run is seen at midnight and not at dawn.”

Red flag to avoid

Weak answers speed up a single loop on one machine, or restart the whole run when one piece fails.

System Design

6. Bankers advising a company on a private deal hold information that people on the trading side must not see. How would you design access control for deal documents to enforce that?

What they are checking
Checks understanding of access based on need, default denial, audit and the engineer's own access to sensitive data.
Answer frame
  1. Deny by default and grant access deal by deal.
  2. Tie access to a named deal team with an approver.
  3. Log every access and review the logs.
  4. Limit what support staff and engineers can see.
Sample spoken answer

“I would begin from no access at all. Each deal has a named team, and a person joins it only when a responsible approver adds them, with a record of who approved and when. Access is checked on the server for every request, by deal, not by department. When someone leaves the team, access ends at once. Every open, download and search is logged, and those logs are reviewed for unusual patterns. Engineers and support staff are users too. They should work with masked or test data, and any emergency access is time limited, approved and logged.”

Red flag to avoid

Weak answers grant access by department or job title, or forget that administrators can read everything.

Why this company

7. Why do you want to work as an engineer close to traders, bankers and risk teams, and why Goldman Sachs?

What they are checking
Checks that you want to work near the business, understand what the firm does and can name the problems that interest you.
Answer frame
  1. Say why working close to the business appeals to you.
  2. Name the problems that interest you.
  3. Connect them to what the firm does.
  4. Say what you want to learn.
Sample spoken answer

“I do my best work when I understand why the software exists. At an investment bank the engineer sits close to the people who use the system, and the feedback is quick and honest. The problems interest me too: a limit check that must be both fast and safe, or a valuation that must be exactly repeatable. Goldman Sachs is known for markets and for advising on deals, so both kinds of problem are present. I have worked on your project, and I want to learn enough about the products that I can question a requirement, not only build it.”

Red flag to avoid

Weak answers want to be left alone to code, or cannot name any problem particular to a bank.

Scenario

8. Markets move sharply on unexpected news and the number of messages reaching your service grows many times over. It starts to fall behind. What do you do in the moment, and what do you change afterwards?

What they are checking
Checks how you protect the most important work under overload and then plan capacity for rare but severe days.
Answer frame
  1. Confirm that the service is behind and by how much.
  2. Drop or delay low-priority work to protect the critical path.
  3. Add capacity if that is safe and keep users informed.
  4. Afterwards, test against the worst day and design for overload.
Sample spoken answer

“First I would measure the lag, that is, how old the messages are that we are processing now. Then I would protect what matters most. Orders and risk updates come first, while reports and less urgent work are paused. If prices are queued, I would keep only the latest for each instrument and not work through old ones. I would tell users that the data is delayed, so that nobody trusts a stale figure. Afterwards I would replay that day's traffic in a test, find the bottleneck and design how the service reduces its load in a planned way.”

Red flag to avoid

Weak answers restart the service and lose its state, or treat every message as equally important.

Salary questions come last

No figures on this page: pay depends on the level, the city and the offer in front of you. When the offer comes, the free salary negotiation script helps with that part.

For the call itself

The questions above are the prep. On the real call, ClapAssist helps with the ones you did not practice.

ClapAssist is an AI interview assistant for Mac and Windows. It listens to the interview on your computer and shows you what to say, in short lines you can read while you talk. Your live interview audio and screen are never stored. Your resume and notes are saved to your account so the app fills them in on any computer. It is hidden from screen share on every plan, including Free; only you can see it.

Download with 10 free minutes
Mac and Windows · Stays out of screen share · No card