The main parts of automobiles are the piston rod of the shock absorber and the steering rack of the steering gear, and their quality control is critical in the product process. In the process line, these products are normally inspected through visual inspection, sampling, and simple tensile tests; however, if there is a problem or abnormality, it is difficult to identify the type and location of the defect. Usually, these defects are likely to cause surface cracks during processing, which in turn accelerate the deterioration of the shock absorber and steering, causing serious problems in automobiles. As a result, the purpose of this study was to present, among non-destructive methods, a shock response test method and an analysis method that can efficiently and accurately determine the defects of the piston rod and steering rack. A test method and excitation frequency range that can measure major changes according to the location and degree of defects were proposed. A defect discrimination model was constructed using machine and deep learning through feature derivation in the time and frequency domains for the collected data. The analysis revealed that it was possible to effectively distinguish the characteristics according to the location as well as the presence or absence of defects in the frequency domain rather than the time domain. The results indicate that it will be possible to quickly and accurately check the presence or absence of defects in the shock absorber and steering in the automobile manufacturing process line in the future. It is expected that this will play an important role as a key factor in building a smart factory.