We are given that \( \sin \theta = \sqrt{2} \cos \theta \). To find \( \sec \theta \), we use the identity \( \sin^2 \theta + \cos^2 \theta = 1 \).
Substitute \( \sin \theta = \sqrt{2} \cos \theta \) into the identity:
\[
(\sqrt{2} \cos \theta)^2 + \cos^2 \theta = 1.
\]
Simplify:
\[
2 \cos^2 \theta + \cos^2 \theta = 1 \quad \Rightarrow \quad 3 \cos^2 \theta = 1 \quad \Rightarrow \quad \cos^2 \theta = \frac{1}{3}.
\]
Thus:
\[
\cos \theta = \frac{1}{\sqrt{3}}.
\]
Now, \( \sec \theta = \frac{1}{\cos \theta} = \sqrt{3} \).
Thus, the value of \( \sec \theta \) is \( \boxed{\sqrt{3}} \).