You can prove the lower bound on the number of states using Myhill-Nerode theory.
Suppose that we are given a language $L$, in this case the language over $\{0,1\}$ of words in which the $n$th last symbol is $1$. We say that two words $x,y$ (over the same alphabet) are equivalent if for all words $z$, $xz \in L$ iff $yz \in L$. It is easy to check that if two words $x,y$ are not equivalent, then $\delta(q_0,x) \neq \delta(q_0,y)$ for every DFA for $L$. In particular, if we can find $N$ pairwise inequivalent words, then it follows that every DFA for $L$ must contain at least $N$ states.
For our language $L$, I claim that the set of $2^n$ words of length exactly $n$ are pairwise inequivalent. Indeed, suppose that $x \neq y$ are two words of length $n$. Then $x_i \neq y_i$ for some $i$, say $x_i = 0$ and $y_i = 1$ (without loss of generality). Then $x0^{i-1} \notin L$ whereas $y0^{i-1} \in L$, since in both cases the $n$th symbol from the end is $x_i$ or $y_i$. Thus every DFA for $L$ must contain at least $2^n$ states.