I agree There has been so much focus on Cortanas rampancy i have a feeling that 343 are going to say you know how we having been hinting that cortanas gonna die soon. well we were just pulling your leg shes not gonna die
shes is going to come up with a genious solution so she can live.
And as Sykowolf said she has interacted with so much alien tech where AIs live for 100000 years. such as Guilty spark she would have picked up a couple of tips for preventing rampancy