Who has to pay a deposit?
You are required to pay a DKK 2.000,- deposit, if you are an independent student (employee, student etc.) and fall under the category ‘S’ in your municipality’s description. You are exempt from paying deposit, if you have a residence permit as an au pair in Denmark.
You are not required to pay a deposit, if you are under the integration program. In this case, you are under the category ‘I’.
You can read more about the rules regarding Danish Education here