The phrase is often used informally to describe someone's attitude rather than actual knowledge. Mike acts like he knows all the answers, but it's mostly bravado.
Pro Tip 2/3
Overconfidence
The phrase implies overconfidence and can be used negatively to describe arrogance. During the meeting, she acted like she knew all the answers.
Pro Tip 3/3
Humorous Sarcasm
Can be used sarcastically to humorously comment on someone's know-it-all behavior. Oh, look! He knows all the answers again!