Let us consider the following robust nonconvex quadratic optimization problem: \begin{equation*} \begin{split} \min &~ \dfrac{1}{2} x^\top Ax+a^\top x \\ \text{s.t.}~ & \alpha\leq\dfrac{1}{2}x^\top (B_1+\mu B_2)x+(b_1+\delta b_2)^\top x \leq\beta,~ \forall~ \mu\in [\mu_1,\mu_2],\forall~\delta\in[\delta_1,\delta_2], \end{split} \end{equation*} where A, B1, B2 are real symmetric matrices, μ1,μ2,δ1,δ2,α, β∈R satisfying μ1≤μ2, δ1≤δ2 and α<β. We establish the robust alternative result; the robust S-lemma and the robust optimality for the above nonconvex problem.