Ideally your intelligence/wisdom would determine whether you know the challenge and the modifier you have.

Would love to play a dumb but charming rogue that has those options but plays it by ear and has no idea what will work. Contrast with a wizard that may be weaker on deception but has very good knowledge of what works and what doesn't.