In a set of triples, the shut-off valves at the rear of the middle trailer should be:

When operating a double or triple, the shut-off valves at the rear of the last trailer should be closed. All other shut-off valves should be open.
DMV Writen Test