Yes, genetic testing is necessary to diagnose polycystic kidney disease type 2. This type of testing can identify specific genetic mutations associated with the disease. It is typically performed when there is a family history of polycystic kidney disease or when symptoms suggest the presence of the condition.