It is always advisable to purchase travel insurance when you travel to a foreign country, even if it’s not mandatory. Especially in a country such as the UAE, where the cost of healthcare can be high
Students who apply for a student visa must have medical travel insurance before arriving in the UAE of which Dubai is part of. It is the student's responsibility to ensure that tney have valid medical travel insurance.
If students enter the UAE on a tourist visa obtained on arrival, it is not compulsory for students to have medical travel insurance.