The sentence that uses capitalization correctly:
(B) In class, I learned that two-thirds of Egypt is covered by part of the huge Sahara Desert that stretches across Africa.
All places and name should be capitalized.
Therefore B is the correct answer.