Correct answer: detecting any genetic abnormality
Amniocentesis is used to collect amniotic fluid containing fetal cells, which can be examined for chromosomal and genetic disorders. It is not a method for insemination or embryo transfer, and sex determination is only a possible byproduct, not the main permissible use.