In Allah's very Own words, He isn't...
'Curiosity killed the cat' goes a saying, but in this case, the curiosity of Allah killed Islam.
Muslims often say, and so attest the Quran, that Allah is all-knowing. But as we delve deeper into the Quran, we find that throughout the book, Allah asked hundreds of questions. We find that many of them are just mode of speech and cannot be considered as a genuine enquiry by Allah. Furthermore, there are some questions to which Allah himself gives the answers (for example Quran 40:16). But apart from these, there are some questions posed by Allah, which undoubtedly tarnish His Own reputation as an all-knowing God. I will quote some of them here. Let us begin...
Allah thought he was all-knowing; imagine his horror when he saw a long lethal instrument held by Moses! He could not help asking:
"And what is that in the right hand, O Moses?" (Q 20:17)
He said, "It is my rod: on it I lean; with it I beat down fodder for my flocks; and in it I find other uses." (Q 20:18)
(This is my favourite enquiry of Allah. Allah, the so-called creator of flat earth, seven heavens, Al-Buraq, Buraq Obama, Genocide Gandhi, had no prior knowledge of a staff?)
Q 20:83 (When Moses was up on the Mount, Allah said:) "What made thee hasten in advance of thy people, O Moses?"
Moses answered that he hastened to please Allah (Q 20:89).
Q 2:108 "Would ye question your Messenger as Moses was questioned of old?"
(Comment: By asking the above question, Allah reveals that he has no idea whether Muhammad would be tested by his fellow Arabs.)
Q 2:260 "When Abraham said: "Show me, Lord, how you will raise the dead," He replied: "Have you no faith?" He said "Yes, but just to reassure my heart.""
(Here Allah, the all-knowing, didn’t realize whether Abraham was a believer! It is hilarious to note that elsewhere the Quran states that Allah knows "what is in their heart", and that he knows "what they conceal and what they reveal" Q2:77.)
Q 3:70 "Ye People of the Book! Why reject ye the Signs of Allah, of which ye are (Yourselves) witnesses?"
Q 3:71 "Ye People of the Book! Why do ye clothe Truth with falsehood, and conceal the Truth, while ye have knowledge?" (See also Q 3:65)
Q 9:38 "O ye who believe! what is the matter with you, that, when ye are asked to go forth in the cause of Allah, ye cling heavily to the earth? Do ye prefer the life of this world to the Hereafter?" (Comment: Allah has no idea why the Muslims are reluctant to go for jihad! See also Q9:13)
Q 10:98 "Why was there not a single township (among those We warned), which believed,- so its faith should have profited it,- except the people of Jonah?"
(Comment: Imagine a God who not only failed in convincing people about his divinity but also is idiot enough to moan and whine about his failures in his holy book!)
Q 15:32 "(Allah) said: "O Iblis! what is your reason for not being among those who prostrated themselves?""
On a similar note...Q 38:75 :(Allah) said: "O Iblis! What prevents thee from prostrating thyself to one whom I have created with my hands? Art thou haughty? Or art thou one of the high (and mighty) ones?""
(The above two verses thoroughly expose Allah's ignorance about the mentality of Iblis. Yet according to Q35:38, Allah knows the hidden things of the heaven and earth, and has full knowledge of what is in (men's) hearts.)
Q 21:6 "(As to those) before them, not one of the populations which We destroyed believed: will these believe?"
Q 37:154 "What is the matter with you? How judge ye?"
Q 39:6 "...There is no god but He: then how are ye turned away (from your true Centre)?"
Q 42:17 "And what will make thee realise that perhaps the Hour is close at hand?"
Q 53:12 "Will ye then dispute with him concerning what he saw?"
Q 56:62 "why then do ye not celebrate His praises?" (Allah has no clue as to why he is so unpopular! See also 56:70.)
Q 57:8 "what cause have ye why ye should not believe in Allah?" (See also 57:10)
Thus, from above we can safely conclude that far from being an all-knowing God, Allah is ignorant, idiotic and clueless.
The only argument that Muslims can call upon for defending the greatness of Allah is the argument of "free will". They can argue that the subjects toward whom the questions of Allah are addressed have the will to answer differently, so this does not undermine the greatness of Allah but increases it. My answer to the "free will" argument would be that the Quran supports predestination. But as predestination in Quran is itself well worth an article, I would choose the easy way out by pointing out the verses of Surah Rum where Allah prophesizes that Romans, after being defeated, would soon be victorious (Q 30:2-3). Now the problem is that a God who can prophesize and thus fix the certainty of an incident in the future cannot be considered as a champion of "free will". For example, say after the defeat, the Romans became lazy while the Persians became more active in building up an even more formidable army, but still if Allah is God and his prophesy holds true the Persians would still be defeated by the Romans. Thus you cannot be a believer in "free will" and yet hold prophesies in high regard.
Furthermore, the story of Al-Khidr (See Surah Kahf) demonstrates how Quran trashes the idea of free will. If Al-Khidr can foresee the future so can his boss Allah and if future is already predetermined, there exists no scope for free will.