D configuration is shown by:

           (i)                 (ii)             (iii)

1. i, ii and iii
2. ii and iii
3. i and ii
4. Only iii

HINT- D and L configuration are relative to position of -OH with respect to glyceraldehyde.
Explanation:

D and L configuration are relative configurations decided by rotating structure . 

When -OH on the lowest asymmetric carbon is written on the right-hand side, it is represented as D configuration and when -OH is written on the left-hand side, it is represented as L configuration.