In the past, making structures quake-resistant meant firm yet flexible materials, such as steel and wood, that bend without breaking. Later, people tried to lift a building off its foundation, and insert rubber and steel between the building and its foundation to reduce the impact of ground vibrations. The most expensive/recent designs give buildings brains as well as concrete and steel supports, called smart buildings, the structures respond like living organisms to an earthquake's vibrations. When the ground shakes and the building tips forward, the computer would force the building to shift in the opposite direction. The new designs should offer even greater resistant /security to cities where earthquakes often take place.
In the first blank, I am unable to find the difference that would be more appropriate
In the second blank, as per definitions I could see the following meanings and found resistant to be more appropriate because the new designs offer greater resistant/protection to cities.
resistant --> Immune to /immunity/protect
security --> safety
Can anyone guide me on the approach? Thanks in advance