What types of foundations are not good when building in an area that is likely to experience earthquakes?

bedrock
soft clay
hard clay
wet and sandy soil