A large ventricular septal defect can be detected through an echocardiogram, a type of ultrasound that uses sound waves to create heart images.