Im pretty sure it goes outside, because the whole sentence is a question, if it say was like a quote of someone asking the question, so, "Have you read ',David Copperfield' ?"the question mark would go in quotations.
So if the whole question is a quote or like a speaking line(im not sure on the second part) you put the ? within the quotations.
If the question is a sentence with something in quotes like a novel or movie title the question mark goes outside the mark.
An exception i believe is if you are quoting a question as a speaking line, so for example.
"Did The teacher just asked "did you all read 'David Copperfield' for your reading assignment?"", asked Jerry.
this depending on what word you use to determine how the line is being spoken will end in a period or a question mark, im not entirely sure so lets see what other people have to answer.
"We Will Show Wu The Meaning of Fear!"-Cao Cao in DW6
"Politicians Are all the same all over, They Promise to build a bridge even when theres no river"-Nikita Khrushchev