Why was Vietnam partitioned at the seventeenth parallel?

to separate Vietnam's two main ethnic groups
to create two permanently separate nations
to permit the regrouping of military forces
to make Vietnam eligible for Marshall Plan aid