Pediatricians identify risks through a combination of medical history assessment, physical examinations, and diagnostic tests. They also consider family history, environmental factors, and the child’s developmental milestones to gauge potential threats.