The correct answer is - to enforce regulations.
A warden is a term that can be used for people in multiple different positions and workplaces. Most commonly, the term is used for people that are in charge of prisons, colleges, or any of the various public officials that are charged with superintendence.
In general, the wardens are authorized to enforce the regulations. They are in charge of an institution, they supervise, and have the power and authority to set things under control by taking measures and actions by which they will set order and enforce the regulations.