Yes, it's by the federal government.
Take the Criminal Code, for example. It isn't enforced solely by the federal government. Municipal and provincial police can enforce it as well.
As Ms. Ramacieri said, it's a shared responsibility. Nevertheless, since the federal government is the one currently regulating navigation, it would be better if the federal government took the lead.
How could the government go about it? The government should introduce a mandatory code. It should also be mandatory for people to take practical training and pass a practical test to get their boating licence.