Step 1: Classification of testing methods.
- Ultrasonic inspection uses high-frequency sound waves to detect internal flaws like voids, cracks, inclusions.
- Liquid penetrant inspection is only for surface defects. It cannot detect internal defects.
- Gamma-ray and X-ray radiography can penetrate the material and reveal internal shrinkage cavities, porosity, inclusions.
Step 2: Check each option.
(A) Ultrasonic inspection – correct for internal defects.
(B) Dye penetrant – surface only, not correct.
(C) Gamma-ray radiography – correct for internal defects.
(D) X-ray radiography – correct for internal defects.
Step 3: Conclusion.
The correct techniques are (A), (C), and (D).
\[
\boxed{\text{Correct: (A), (C), and (D)}}
\]