D
省略了if的虚拟语气倒装句,正常语序如下:
If she had taken that examination ,she could have passed it.
她要是参加了那次考试,肯定能过.