How do they (the police/CID) know you are married or not?

Are they asking your marriage certificate ?

If you are not married but you don't tell people around, they will think that you are couple (husband and wife) right ?