He was a man like us in all things but sin. This is a fact, this is a great mystery of faith. What you ask is debatable, but not necessary for our salvation to know. Son though he was he learned obedience for what he suffered, and was heard for his reverence…This Scripture seems to point that He he struggled to progress, succeed, fell down and got back up in life, just as we did. His knowledge may have been perfect, but he tried, failed, and tried again, like all men. But if his knowledge was perfect, yet he stil struggled to master the human instrument, think of what infinite suffering and degradation that must have been for him! This makes the scripture, Son though he was, he was he learned obedience for what he suffered, and was heard because of his reverence, that much clearer and more touchingly real to our hearts to know that Our King Jesus, Infinite God and Perfect Man did all these things for us.