Typically, when you are talking about vapors, the assumption is that there are no forces holding the molecules together. If the molecules were being held together, they would condense and become either a liquid or solid.
Also, realize that van der waals forces are much weaker than hydrogen bonding. Even in vapor form, if two molecules are being held together, they are much more likely to be held together by hydrogen bonds than by van der waals forces.
The point the question is trying to make is that to vaporize a compound, you will remove the forces that hold two molecules together, but will not remove the forces that hold the atoms in a single molecule together.