More to the point, it's not that GPT-3 knows any answers to any questions. Like the article says, language models are trained to predict the next characters in a sequence. So, it predicts that a sequence that starts with "Who was president of the United States in 1700?" would continue with the sequence "William Penn was president of the United States in 1700". Seen another way, there's a correlation between the two strings. It's the highest correlation between the first string and any other string, so that's what ends up in the output.
So it's more accurate to say that GPT-3 is guessing what the answer to a question might look like, than to say that it "knows" what the answer to a question, is. It's perhaps a subtle distinction but it's important to keep it in mind, especially in view of claims about "intelligence" and (Old Ones save us) "understanding".
Basically, what all this tells us is that it's not possible to answer arbitrary questions consistently by guessing at them. Even if you get lucky, and you keep getting lucky, there will always be questions that you can't answer correctly and they will be many more than the questions you can answer correctly (e.g. we could generate an infinite number of common nonsense questions like how to sporgle a morgle, or who was the president of the united states since Biblical times etc).
This of course is an old debate in AI: can we simulate a system of logic, without implementing its logic? e.g. could we perform correct arithmetic by memorising the results of calculations? Can prediction replace reasoning? Despite the unending hype generated by OpenAI about its models, the answer keeps being: a resounding no. While you can go a long way by training on ever larger data, it only takes a shallow search before obvious nonsense results are generated.