Yes, since we already know that $L = \{a^n b^n\}$ is not regular (using the pumping lemma), and that a language is regular if and only if it admits a DFA, it suffices indeed to show the inequivalency by definining a $DIA$ for $L$. Intuitively, $L$ is able to keep arbitrary amount of information about history using additional states when needed, and DFAs can keep only constant memory.
A way to achieve this $M=(\{a,b\}\times\mathbb{Z} \cup \{F\}, \delta, (a,0), \{(a,0),(b,0)\})$, where the first symbol in the tuple indicates whether a $b$ has been read so far, and the second counts $\#_a(x_0\dots x_i) - \#_b(x_0\dots x_i)$. So the transitions are $$\delta: ((a,i),a)\mapsto (a,i+1)\\
((a,i),b)\mapsto (b, i-1)\\
((b,i),b)\mapsto(b, i-1)\\
((b,i),a)\mapsto F $$