to interview and ask certain relevant question to people coming inside their country. And there are specific questions for people holding working, business, tourist or whatever visa a person hold.

Actually, it should be also done in port of exit just to remind anyone who travels that specific visa for specific purpose! Hope you get my message!