(If the answer depends on Masters vs PhD, please elaborate on reason for difference in conditional preferences in comments)
What you published and if you got into top journals/conferences >>> everything else.
Is Master enough for ML SDE?
Yes
Definitely
In any tech role at software based companies, CS is preferred except for the ones that say the degree in title like operational scientist, economist, Etc or the ones that say otherwise in job description