This way of speaking belongs more to written English. Some people talk like a book, but I don't think it's a common question to ask.
There are many ways of asking about what a person does for a living. Another "book" expression for "What job do you do?" is "What's your occupation?"