How large of an earthquake does it take to make an earthen dam fail?
The amplitude and other characteristics of shaking required to cause a dam to fail are really an engineering issue. The shaking will be determined not only by the size of the earthquake, but also by it’s proximity to the dam (e.g., a closer smaller earthquake may cause greater shaking than a larger more distant one).