For an exponential function $f(x)=a^x$, the constraint is that $a\in R^+$. This is because for negative reals, the function is defined at certain discrete points only and is infinitely discontinuous, hence their graphs don't exist in the real $2D$ Cartesian Coordinate Plane.
Eg:- If we consider real numbers only, for $f(x)=(-2)^x$, $f\left(\frac1{2n}\right), n\in \mathbb Z$ does not exist. But $f\left(\frac1{2n+1}\right), n\in \mathbb Z$ exists. This means that there exist infinitely many points of discontinuity for $f(x)$.
So, in your question, the expression $(-2)^x$ is not well-defined over the set of reals. In fact, the question is wrong, unless there is some condition like $n=\frac{m}{2n+1} \text{ where } m,n\in \mathbb Z$ so that $(-2)^x$ is always well-defined. Or if instead of $-2$, there was some positive real say $\alpha$, then the limit would be zero:
P.S.:
Case 1: $0<\alpha<7$
$$\implies 7^n\text{ diverges faster than }\alpha^n\text{ as }n\to\infty $$
$$\implies\lim_{n\to\infty}\frac{3^n+5^n}{\alpha^n+7^n}= \lim_{n\to\infty}\frac{5^n}{7^n}=0$$
Case 2: $\alpha>7$
$$\implies \alpha^n\text{ diverges faster than }7^n\text{ as }n\to\infty $$
$$\implies\lim_{n\to\infty}\frac{3^n+5^n}{\alpha^n+7^n}= \lim_{n\to\infty}\frac{5^n}{\alpha^n}=0$$