How to choose a microphone and make sure not to overcharge (clip) it?
Choose a commercial Sound Pressure Level meter to roughly measure the noise level close to the machine
Look at the data sheet of the MEMS and see if the specification matches the expected level with enough head room (at least 10 dB). IF not, chose a MEMS that meets this spec
Maker sure the MEMS is mechanically de-coupled from the machine, i.e. picks up only sound and NOT vibration.