Skip to content
Preptima
hardDesignScenarioSeniorStaffLead

Draw me the boundary between your monitoring system and the plant's safety system. How would you know if the safety layer had been altered?

Your path may read from the safety layer and must never write to it, and independence means separate devices, separate logic and separate change control rather than a separate screen. You detect alteration by watching programme identity, key-switch position and proof-test records, not by assuming nobody would.

6 min readUpdated 2026-07-29Target archetype: Enterprise Captive
Practice answering out loud

What the interviewer is scoring

  • Does the candidate assert a one-way boundary and say what enforces it rather than what documents it
  • Whether independence is described as separate devices and separate change control, not separate software
  • That a spurious trip and a failure to trip are named as opposite failures with different owners
  • Can they name a signal that would reveal the safety logic had changed without anyone reporting it
  • Whether the engineering workstation is identified as the realistic route in

Answer

Two systems that look like one on a screen

On a plant HMI the process values, the alarms and the trip status all appear together, and that visual unity is the source of most confusion in this conversation. Underneath, there are normally two distinct systems doing two different jobs. The basic process control system keeps the process where the operator wants it, modulating valves and drives, running sequences, raising alarms. The safety system does nothing at all until a condition it is watching crosses a limit, at which point it takes the process to a safe state, which usually means shutting something down. It is not a better version of control. It is a different function with a different success criterion, and its success criterion is that it acts when the control system has already failed.

So the first thing to establish out loud is that your system is almost certainly part of the first category or sits above it, and the safety function is not yours. A monitoring, analytics or MES layer may need to know that a trip occurred and what the limits are. It has no business setting them.

What independence actually means

The word candidates reach for is "separate", and the interviewer will keep pressing until they hear what it is separate in. Independence in this domain has several dimensions and a design can satisfy some and fail others.

It means separate devices, so that the failure or compromise of the control processor does not remove the protective function. It means separate sensing where the risk assessment demands it, because a single transmitter feeding both the control loop and the trip means one stuck instrument defeats both at once. It means separate logic, developed and tested under the regime the functional safety standards define for the process industry, with a safety function assigned an integrity level that expresses how much risk reduction it must deliver, and with the requirements on design and testing scaling with that level. And it means separate change control, which is the dimension most often quietly lost: the same engineer, using the same workstation, in the same afternoon, can end up modifying both, and at that point the organisational independence has gone even though the hardware separation is intact.

The corollary that matters for your architecture is that the safety function must not depend on anything you are building. If a trip requires a network, a server, a broker, a time source or an authentication service that belongs to the IT estate, then your availability has become the plant's safety, and no amount of redundancy in your layer makes that an acceptable trade.

What you may read, and what enforces the direction

The workable boundary is a read-only one, and the important part of the answer is what makes it read-only rather than what declares it. A written policy is not an enforcement mechanism. Enforcement looks like a data path that is physically incapable of carrying a write: a mirrored copy of the relevant values published outward by the control layer rather than pulled from the safety controller, a gateway that exposes only a subscribe interface, a firewall rule that permits a single direction, and in the strictest installations a diode arrangement that makes the reverse direction electrically impossible.

Getting the trip setpoint into a dashboard illustrates the discipline. The tempting route is to read it from the safety controller each time, which requires a session with the device. The better route is that the setpoint is a piece of engineering master data, captured when the safety function was designed, versioned, and published to consumers by the process that governs safety changes. Then your dashboard has the number, and a change to the number arrives as a change to a controlled document rather than as a value that silently differs from yesterday.

The same logic applies to the request that will eventually reach you from operations, which is to suppress an alarm that keeps tripping the line. Alarm rationalisation is legitimate work and it is not yours to do unilaterally. Routing that request to the people who own the safety and alarm philosophy, with the data you have about frequency and cause, is a stronger answer than either implementing it or refusing it.

Spurious trips and failures to trip are opposite defects

The interesting tension in this subsection is that safety and availability pull against each other in a way that has a specific shape. A safety function can fail in two directions. It can fail to act when it should, which is the dangerous failure and the one the integrity level is about. Or it can act when it need not, which is a spurious trip: no harm to anyone, and a plant stopped, a batch lost, and a start-up sequence that may itself carry risk.

Redundancy resolves one direction at the expense of the other, and which arrangement you choose depends on which failure you are buying protection against. Requiring only one of several channels to vote for a trip reduces the chance of failing to act and increases spurious trips. Requiring agreement between channels reduces spurious trips and increases the chance that a genuine condition is voted down. This is why plants adopt voting arrangements between multiple sensing channels rather than simply duplicating everything, and why the choice belongs to the risk assessment rather than to a preference for uptime.

The reason this matters to a software candidate is that spurious trips create commercial pressure, and commercial pressure is how safety functions get bypassed. A maintenance override that exists for a legitimate reason, left in place because removing it stops the line, is one of the most common real degradations of a safety layer, and it is a bookkeeping failure rather than a technical one. Overrides need a register, an owner, an expiry, and visibility on the same screen as production output.

Detecting a change nobody reported

Which brings the answer to the second half of the question. You do not learn that safety logic changed by being told. You learn it because you were already watching a small number of things and comparing them to a recorded expectation.

The programme in the safety controller has an identity: a version, a checksum or signature the platform exposes, and a last-modified timestamp. Reading those on a schedule and comparing them to the approved baseline turns an undetected modification into an alert. The controller's operating mode is similarly observable, and on many platforms the mode is governed by a physical key switch, so the position of that switch and the length of time it has been in a programming position are both signals worth collecting. Overrides and forces in effect are a third signal, and their count over time is one of the most honest health indicators a plant has.

Then there are the human artefacts, which matter as much. Proof testing is how you learn that a function which has never been called upon still works, and the record of when each function was last tested, by whom, and with what result is the evidence that the protective layer is real rather than nominal. A test overdue by months is a finding. Finally, the engineering workstation is the realistic route to the safety logic, so its inventory, its access control and its removable-media handling are part of the safety story whether or not anyone has written them down there.

When the last line of defence is the target

In 2017, malware later named Triton was found on systems associated with the safety instrumented controllers of a petrochemical plant, and it was discovered because its interference tripped the plant into a safe shutdown rather than because anyone detected the intrusion. The layer intended to be the last defence was the layer under attack, and the mechanism that revealed it was the safety function doing its job imperfectly.

Two things in that are worth carrying into an interview answer. The first is that a spurious trip is sometimes the only symptom you get, which argues for investigating trips whose cause cannot be explained rather than restarting and moving on. The second is that if nobody is comparing the safety controller's programme and mode against a baseline, then the detection strategy for the most consequential change in the plant is chance.

Likely follow-ups

  • A production manager asks you to suppress a nuisance alarm that keeps tripping the line. What do you do with that request?
  • Your dashboard needs the trip setpoint. How do you obtain it without a write path existing at all?
  • What would you record so that a proof test could be shown to have happened, by whom, and with what result?
  • The safety controller reports a fault and the process is running normally. Is that an outage?

Related questions

safety-instrumented-systemsfunctional-safetyindependencechange-detectionplant-availability