Step 1: Find the characteristic equation.
For the matrix \(\begin{bmatrix} 1 & 2 \\ 2 & 1 \end{bmatrix}\), we calculate the determinant of \(\begin{bmatrix} 1-\lambda & 2 \\ 2 & 1-\lambda \end{bmatrix}\). The characteristic equation is:
\[
\text{det} \begin{bmatrix} 1-\lambda & 2 \\ 2 & 1-\lambda \end{bmatrix} = (1-\lambda)^2 - 4 = 0
\]
\[
(1-\lambda)^2 = 4 \quad \Rightarrow \quad \lambda = 1 \text{ or } \lambda = -1
\]
Step 2: Conclusion.
The eigenvalues are 1 and -1, and hence, the correct answer is (B) 1.