Distance...
Keep your drone in sight at all times less than 500 metres away
Airspace
Never fly more than 400ft (120m) above the surface. Never fly closer than 50m to people. Even when your drone is more than 50m away from people it is safer to avoid directly overflying them. Never fly closer than 50m to buildings, cars, trains or boats. No safe height 150m 150m Never fly closer than 150m to a crowd of 1,000 people or more. Never fly directly over a crowd. No safe height 150m 150m Never fly closer than 150m to built-up areas. Never fly directly over a built-up area. OP-AN33S4K OP-4ME33NK It is illegal to fly a drone or model aircraft between 250g-20kg that does not show a valid operator ID. 1km 5km 1km 5km Restricted area Never fly in an airport’s flight restriction zone. For further info, see: dronesafe.uk/restrictions/ 5km 1km 5km 1km You are responsible for each ight. Legal responsibility lies with you. Failure to y responsibly could result in criminal prosecution. THE DRONE CODE The UK Dronecode is published by the Civil Aviation Authority to assist drone users in ying safely. October 2019 For further information please visit dronesafe.uk 400ft and stay well away from aircraft, airports and airfields.
People
Never fly closer than 50m to people. Even when your drone is more than 50m away from people it is safer to avoid directly overflying them.
Buildings
Never fly closer than 50m to buildings, cars, trains or boats.
Crowds
Never fly closer than 150m to a crowd of 1,000 people or more. Never fly directly over a crowd.
Congested Areas...
Never fly closer than 150m to built-up areas. Never fly directly over a built-up area.
Airports
Never fly in an airport’s flight restriction zone. For further info, see: dronesafe.uk/restrictions/
ID
It is illegal to fly a drone or model aircraft between 250g-20kg that does not show a valid operator ID.

This article will give you the really brief answers that you require to pass the Drone Test. It's not difficult and it's just based on the diagrams and instructions here. 

Study the above 

Never fly more than 400ft (120m) above the surface where you take off from. If you take off half way up a hill it's 400 feet from there.
 
Never fly closer than 50m to people apart from take off and landing where it's 30m. Even when your drone is more than 50m away from people it is safer to avoid directly overflying them.
 
Never fly closer than 50m to buildings, cars, trains or boats. apart from 30m at take off and landing.
 
Never fly closer than 150m to a crowd of 1,000 people or more. Never fly directly over a crowd.
 
Never fly closer than 150m to built-up areas. Never fly directly over a built-up area.
 
It is illegal to fly a drone or model aircraft between 250g-20kg that does not show a valid operator ID.
 
Restricted area Never fly in an airport’s flight restriction zone. For further info, see: dronesafe.uk/restrictions/
 
You are responsible for each ight. Legal responsibility lies with you. Failure to fly responsibly could result in criminal prosecution.
 
THE DRONE CODE The UK Dronecode is published by the Civil Aviation Authority to assist drone users in ying safely. published in October 2019
For further information please visit dronesafe.uk 
 
Once you have studied the above information you might be ready to try our sample test :
 

TAKE THE SAMPLE TEST NOW

 
Once you are ready you can take the real test by registering with the CAA.

You must pass the drone test and register with the CAA before you fly at register-drones.caa.co.uk or to skip the first couple of pages and register your email address to get you started directly register here

The Drone Code is based on laws contained within The Air Navigation Order. It is applicable to those flying without A PFCO (License) Please don't confuse the license with a drone test... They are not the same thing...