Question: is it which or what?
Answer: "Which" is more formal when asking a question that requires a choice between a number of items. You can use "What" if you want, though. Generally speaking, you can replace the usage of "which" with "what" and be OK grammatically. It doesn't always work the other way around, however.