Superconducting a -Mo3 Si and Nb films have been grown on arrays of Ni nanodots. We have studied the vortex lattice dynamics close to critical temperatures. Different vortex lattice configurations are obtained with the same array unit cell. These different vortex lattices occur at matching conditions between the vortex lattice and the array unit cell. The interplay between the random intrinsic pinning of the superconducting films and the periodic pinning of the array govern the vortex lattice configurations. Different vortex lattice configurations and enhancement of synchronized vortex lattice motion are obtained by increasing the periodic pinning strength and decreasing the random pinning strength.