Well, only the criminals that put some effort. Somewhat effective at tracking down the lazy criminals. Also, in places like Singapore, you can only own 5 Data SIMs before they start asking tougher questions. I wasn't aware there were countries that you could purchase data SIMs in without having to hand over passport/government ID, I'd just assumed that was a ubiquitous practice.
In the Netherlands you can buy sim cards without any ID. If you pay them cash, there is no link to you, except maybe a security camera in the shop. You don't need to activate them - they work right away.
In some countries, law enforcement can get a list of devices (IMEI numbers) the sim was used in. Then ask of a list of sims used in that device and a list calls and texts made to / from any of those sims. So, one slip up and the sim will have a link to you.
In New Zealand, >90% of phones are pre-paid and anonymous (unless you opt to fill in your personal details online).
It's strange to think that other countries have restrictions on buying SIM cards, I can literally go to the corner store and get one for $20, with $20 credit on it.