The correct answer is 'knew'.
Explanation:
The sentence requires the past simple tense because it refers to an action that happened at a specific time in the past ('2 days ago'). The past simple form of the verb 'to know' is 'knew'. Therefore, the correct sentence is: 'I knew it 2 days ago!'.