Answer:
We need to complete the sentence:
" De repente, se ____ el cielo y empezó a llover a cántaros."
In the past tense.
The perfect preterit would be:
Había abierto; this means that the action is already finished.
The other option, Habían abierto is for things in plural, and we are talking about a singular thing (El cielo or "the sky") so the right option is A.
De repente, se había abierto el cieo y empezó a llover a cántaros.