Question: if someone asks what your nationality is how do you?
Answer: It depends on the context, but nationality usually means legal citizenship. If you want to know their ethnic group, you could ask about their background. If you want to know where they live, you could ask that. Whether this is a polite thing to ask is a cultural question.