Assessing fetal viability involves a combination of ultrasound measurements, maternal health assessments, and monitoring fetal development. Ultrasound can estimate gestational age, check fetal growth, and detect potential anomalies. Antenatal corticosteroids may be administered to accelerate fetal lung development if premature delivery is anticipated.