How do you prevent a zero day exploit attack? You don't. You block the next step of the attack to minimise the impact of the zero day. If you have many layers of controls, it minimises the impact of the zero day. Good network segmentation and endpoint / server controls etc.