They both work.
Interested in Language
Can you say "Who is your favourite band?" or is only "What is your favourite band?" possible?
Based only on personal experience, "Who's your favorite band?" is more common.
You can add "Which is your favourite band?" to that list.
Remember - if you don't use correct capitalisation, punctuation and spacing, anything you write will be incorrect.