To enter the Diagnostic Mode hold down the Function (Fn) key on the keyboard and turn on the machine.
This will then run a set of tests and will alert you if any hardware component has a failure.