Answer
$2$
Work Step by Step
Note that $\tan^{-1}{\left(\sqrt3\right)}=\dfrac{\pi}{3}$, because $\tan{\left(\dfrac{\pi}{3}\right)}=\sqrt3$ and $\dfrac{\pi}{3}$ is in the range of $\tan^{-1}{x}$, which is $\left[-\dfrac{\pi}{2},\dfrac{\pi}{2}\right].$
Thus
$\sec{\left(\tan^{-1}{\left(\sqrt3\right)}\right)}=\sec{\left(\dfrac{\pi}{3}\right)}=2.$