In a competitive exam, I came across an objective question which says
Let $X$ be a continuous random variable with the probability density function $$f(x)= \frac{1}{(2+x^2)^{3/2}}\quad,\,-\infty<x<\infty$$
Find $E(X^2)$. And the options were
(a) $\quad0 \qquad$ (b) $\quad1 \qquad$ (c) $\quad2 \qquad$ (d) $\quad \text{ does not exist }$
My question is should I directly find out the $E(X^2)$ or should I first check whether it exists or not? Please suggest me something which takes less time as I am preparing for a competitive exam. If you suggest me to do the former please help me with the integration too. I wasn't able to solve it. It took me a lot of time.
My attempt: I first checked whether the $E(X)$ exists or not, for that I evaluated $E(|X|)$ and found out that it doesn't exist, so $E(X)$ doesn't exist and hence $E(X^2)$ doesn't exist. Is it the correct way?