If I get disconnected from the internet during a test, do I have to restart or does it pick up from where I left off?

Once an exam starts, the clock keeps going. If you get disconnected for 5 minutes, the test will be minus that time when you eventually reconnect. All saved attempts will still be available for you to proceed.