I thought about answering this too, but then I thought that there are factors that don't affect us, and this is what the OP is specifically asking about.
I think the questions you suggest beg for people to lie, especially hiring managers; I'd ask something more subtle like "how competitive the team is"... "How do you deal with bugs that made it to production" which begs asshole managers to brag about team toxicity...
I thought about answering this too, but then I thought that there are factors that don't affect us, and this is what the OP is specifically asking about.
I think the questions you suggest beg for people to lie, especially hiring managers; I'd ask something more subtle like "how competitive the team is"... "How do you deal with bugs that made it to production" which begs asshole managers to brag about team toxicity...