Well this may be an exception. I have taken several courses at Udemy, and they were always run by professional course developers and instructors with expertise in their chosen fields. No piracy was ever suggested or offered.
This course requires that you need the FULL version of the DAW to participate, so when the instructor was told that the student was using a cracked copy, the instructor should have responded more appropriately. Sounds like some critters slipped through the cracks here!
The Udemy courses are provided by independent instructors and companies, so they are not employed by Udemy. I would imagine that once something like this gets reported, they will take corrective action. They have 30,000 instructors and 20,000,000 students worldwide, so there is potentially a little variance between the best and worst...