The easy way to tell if you need who or whom is to substitute it for he or him and see which one makes sense.
Take the section with who(m) in.
Which group has the most exalted status at your high school depends on who you ask.
Substitute he in. Does it make sense?
…depends on he…
Substitute him in. Does it make sense now?
…depends on him…
Yes, it does make sense!
Insert into your sentence who if he worked or whom if him. Remember the 'm's on whom and him to help you.
So, your final sentence should be:
Which group has the most exalted status at your high school depends on whom you ask.
Warning: Many native English speakers find who versus whom difficult and frequently get it wrong. This is also due to the fact that it is falling out of fashion and is often seen as archaic.