Stav dette: Large deviations techniques and applications