Give the exact value of the trigonometric function.

sec([tex]\frac{\pi }{2}[/tex])
A. 1
B. -1
C. 0
D. undefined

Please explain your answer, thank you! I'll give brainliest.