The correct answer is igneous rock.
The igneous rocks, in general are made up of the solidified magma. These rocks are made up of a strong solidified magma, which cools over the time and form a continuous massive structure. The sedimentary rocks are made up different rocks, which are combined under the pressure. During the stress of the earthquake, the sedimentary rock can break more easily as they are loosely packed than the igneous rocks, whereas, the igneous rock remain solid and shear less easily.