Change to passive voice: He had completed the task.
AThe task had been completed by him. ✓
BThe task is completed by him.
CThe task was completed by him.
DThe task has been completed by him.
Explanation
Option A (The task had been completed by him.) correctly expresses the sentence in the required voice while preserving its meaning and appropriate verb form.