It's B: After the rain ended, the sky became blue.
You can tell because a dependent clause cannot stand by itself to be a sentence. "After the rain ended" cannot be a sentence by itself.
All of the others can.
Hopefully this helps, if not i'd be happy to explain it more.
All the best,
17cruzc