Consider a metal rod firmly attached to a wall. When you strike the rod with a hammer, which kind of wave will you excite?
a) A longitudinal wave.
b) A transverse wave.
c) Either kind, or both, depending on where and how you hit the rod.
d) No wave will be excited, the metal is too strong.