According to passages from the Bible, God is able to give solutions to all problems and answers to all questions, but he does not always choose to give them. There are numerous passages in the Bible that refer to the limitless power of God to solve human problems. A notable example is found in the 14th chapter of the book of Exodus when the Israelites escape bondage in Egypt.
In another example, a man named Job is described as being hit with incredible misfortunes. Although eventually God came through for him, he did not do so immediately. John the Baptist is another example of someone who did not see an immediate solution from God; he was unjustly executed even though at the same general time, God was healing many people of diverse illnesses in the same geographical area.
The Bible states that God offers wisdom to those who believe in him and ask him for it. For examples, see Proverbs 2:6, Ecclesiastes 2:26 and James 1:5-6. However, this is not the same as giving answers to all questions that a person might ask. There is no indication that God is interested in providing answers to conditional, or "what if," questions.