Number 1 is the correct question, as it's the only one with "ago" (as in the answer). It refers to the number of years between then (the past) and now.
Number 3 doesn't work, since it requires the answer to be a specific year (or date).
Number 2 has an entirely different meaning. It has no connection with the present at all, but merely refers to the length of time that the Sahara was covered with plants in the past.
EDIT: In real life, number 3 could easily be used by native speakers (it's correct as well), but the test directions presumably asked for the best answer (or question, in this case), so the answer is more clearly connected to number 1.