The correct answer is D. Habeas Corpus
The writ of mandamus deals with a superior court informing an inferior court that they must fulfill their duties or fix a discretion they have had in the past.
The writ of assistance is a court mandate for an individual to perform a certain task.
The writ of certiorari refers to when an appellate court takes the time to review a specific case. This is done at the discretion of the appellate court.
This shows that D is the only correct answer for this question.