 The scene in episode 1 ("Thou Shalt Not Kill") where the cat escapes  from the house was based o a real MI5 training exercise, as was the  scene in series 2 episode 1 ("Legitimate Targets") where an old  school friend almost identified Zoe whilst she was on an op.