Here are a few $3 \times 3$ matrices
A)$$ \begin{pmatrix} 1& 0& 0\\ 0 & 1 & 0\\ 0& 0 & 1\end{pmatrix}$$B)$$ \begin{pmatrix} 1& 0& 0\\ 0 & 1 & 0\\ 0& 0 & -1\end{pmatrix}$$C)$$ \begin{pmatrix} 1& 0& 0\\ 0 & -1 & 0\\ 0& 0 & -1\end{pmatrix}$$D)$$ \begin{pmatrix} -1& 0& 0\\ 0 & -1 & 0\\ 0& 0 & -1\end{pmatrix}$$
How can say if these matrices are the square of a $3 \times 3$ matrix with real entries or not?