Yes unless the design is optimized. If the PCB is an automotive electronics solution, it should not only withstand slight shocks, it should also withstand vibrations and some harder shocks.It is advisable to use only those connectors designed for such cables and don’t solder the cable at all. There are additional strain-relief parts for those connectors and cables.
または, you can ask for design tips from your assembly house to ensure successful mass production.
#PCB設計