Question: How does a Stack Overflow moderator know about sock puppet accounts? 

How do they trap the user?

Answer: 
They have ways of finding pretty much any kind of sock puppets using their sites...

![sock puppet](https://i.stack.imgur.com/UISly.jpg)
Actions speak louder than IP address… Possibly even a “view” of a question is an action.