Those are languages lifted from MPEP in verbatim. The trick of dealing with such questions, if you are not sure what to choose, is to quickly look them up from the MPEP.
But this question is not that hard to understand with the MPEP. A is not correct because it says prior art under 102(e). To be a prior art under 102(e) it must meet two requirements, it is published and it is granted as a patent. Since the matter is cancelled it is never granted as a patent so it is never a prior art under 102(e). However, since it is published in the application, it may be a prior art under 102(a) but this is not what the question asked.
You are correct that the two answers are similar and if (A) does not mention 102(e) it would be correct. (D) is correct because once the matter is filed it will be published as file history in the patent prosecution and it will serve as prior publication under 102(a), regardless whether it is cancelled or not.