So here is one explanation, that although Kṛṣṇa appeared like human being, He is not a human being. He's the Supreme Personality of Godhead. And the test is that He knows everything. That is described in the Vedānta-sūtra. Janmādy asya yataḥ anvayād itarataś cārtheṣv abhijñaḥ sva-rāṭ (SB 1.1.1). He's abhijñaḥ. He's fully conversant with all knowledge.
And wherefrom He got knowledge? Sva-rāṭ. Sva-rāṭ means independently. In the Vedas it is said, svābhāvikī jñāna-bala-kriyā ca.
- na tasya kāryaṁ karaṇaṁ ca vidyate
- na tat-samaś cābhyadhikaś ca dṛśyate
- parāsya śaktir vividhaiva śrūyate
- svābhāvikī jñāna-bala-kriyā ca
(Cc. Madhya 13.65, purport)
Svābhāvikī. He doesn't require to tax His brain how to do things. Immediately He desires, everything is done. That is Kṛṣṇa. Immediately what He wants, as soon as. Sa aikṣata. As soon as He glanced over the material nature, there was creation. These are the Vedic statements.