I encourage DMs to do as I do when it comes to monster knowledge: decide that the characters have it, or that they don't on a case-by-case basis, and leave the dice out of it.
Especially because knowing or not knowing whether the monster can do X doesn't actually affect what actions a character is capable of trying (i.e. knowing a creature is vulnerable to radiant damage is not necessary in order to attack a creature with radiant damage, knowing a creature is immune to poison is not necessary in order to attack without using poison, and so on).
The idea that no information at all about a monster is to be given out unless a certain roll is passed is a bad idea that, to my knowledge, has only ever lead to nonsensical arguments of "you can't do that" and attempts by DMs to police the thoughts of their players.