Juniper Networks Interview Question

what does the kernel do when it receives a trap