IPA: /ˌmænˈdeɪtərɪli/
KK: /mænˈdeɪtərɪli/
In a way that is required or necessary, not optional.
The training must be completed mandatorily by all employees.
Mandatorily → It is formed from "mandate" (from Latin "mandatum", meaning an order or command) and the suffix "-ly" (meaning in a manner of). The word "mandatorily" means in a manner that is required or ordered.
Think of an 'order' ('mandate') that must be followed 'in a certain way' ('-ly') — that's why mandatorily means something that must be done.