Correct option is A
Option (a) is the correct meaning of the given idiom.
Light at the end of tunnel- An optimistic phrase indicating that there is hope or relief after a difficult or challenging situation.
Idiom used in a sentence: Despite facing many setbacks, he saw the light at the end of the tunnel and persevered to achieve his goals.