The mechanical advantage of the machine in the problem is 2. By definition, the mechanical advantage of a machine is equivalent to the ratio of its output force to its input force. Since it applies a force of 1000 N to an object, that is its output. Also, since a 500 N force is applied to the machine, that is its input. So 1000/500 = 2.