The standard construction makes one grammar variable for each automaton state.
The start state becomes the start variable.
For each transition $p \xrightarrow{x} q$, we add the rule $P \to xQ$.
If a state is final, the corresponding variable must be allowed to stop, so we add $Q \to \epsilon$.
We do not add $\epsilon$ productions for non-final states because that would incorrectly accept strings ending there.
Hence, A, B, C, and D are correct.