The correct answer is housing complexes on cliffs.
They would build housing complexes with numerous rooms on the insides of cliffs. They would reach them by using ladders and rope. If raiders came, they could just lift up the ladders and nobody could get in. It was pretty ingenious for the time and can still be seen today on historical places.