I'm currently studying for my logic exam, and looking into examples on DFA construction.
Assume the alphabet is {a, b}, and the language to be constructed is defined as follows:
{w | w has at least three a's}
All models solutions I have come across look like the following:
However, is this the only solution for the aforementioned language? For instance, would we still have a valid DFA if we omitted some of the b-transitions, as in the following case:
After all, the language would still consist of "at least three a's". However, if the latter model is not valid, why is that?
Thanks in advance!


This depends to some extent on the terminology used in your course. However a DFA, as I understand the term, must have exactly one transition from every state for each letter. This is not the case in your second example so it is not a DFA.
Your second example is however an instance of a non-deterministic finite automaton. You will quite likely prove in your course that NDFAs accept the same languages as DFAs.
And as to your first question, there is certainly not a unique solution. Many DFAs (and NDFAs) can be constructed to accept the same language. To give a simple example, modify your DFA as follows: make the transition $b$ from $A$ go to a new non-accepting state $E$; from $E$ there are transitions $a$ to $B$ and $b$ to $E$.