When is it appropriate to use the passive voice

A: when the person or thing performing the action comes before the verb
B: when the person or thing performing the action is unimportant or unknown
C: when the person or thing performing the action is a proper noun
D: it is never appropriate to use the passive voice

B, of course