Genetic testing can identify individuals at high risk for certain cancers due to inherited genetic mutations. For example, mutations in the BRCA1 and BRCA2 genes significantly increase the risk of breast and ovarian cancers. Knowing one's genetic risk can prompt proactive measures, such as increased surveillance or preventive surgeries.