Yes, the correct answer is indeed D. Egypt.
The Nile River is located in Africa, and given that Egypt is the only country among these options also in Africa, that has to be the correct answer. China is obviously in Asia, Harappa was a Pakistani civilization, and Sumer was in Mesopotamia, which is in today's Iraq.