In the series X, Y, Z, A, ?, C, D, which letter should fill the gap?

Answer: A. B
The letters are in a cyclic pattern, and B follows A.