A major disaster will test not only buildings and infrastructure but the preparedness of millions of people.