Looks like the 9-pin D-connector is standard, but with two variants.
TTL means the logic is common as muck 5V rather than old school 80V, or 12V, and not super modern 3.2V
First variant of the D-plug is wired as shown in Nigel's example:

This is straight plain TTL. Note Pins 1, 3 and 5 are not connected.
The other variant is the same as above except it additionally uses Pins 1, 3 and 5 to carry the inverse of A, B and Z. Providing positive and negative versions of the same signal makes it possible to drive longer cables.

There's a good chance a display head will work with either convention, possibly automatically, but it may be necessary to explore the head's set-up menu to set one or the other. '232' means Pins 1,3 and 5 aren't used, '422' means all 9 pins must be operational.
A 422 only display won't work with a 232 only cable or scale, which is fixable as per Duncan's comment with a converter, but the other combinations should fly. It's worth just plugging it in to see what happens. The differences between scale, cable, and display are very unlikely to cause smoke!
Another problem might be making the display match the scales calibration. For example, the Z reference might fire every 50mm or every 100mm or some other value. Likewise the A/B steps (resolution) might be 0.01mm or 0.02, or whatever…
If the display works, but outputs the wrong measurements, check the display head's set-up menu to see what options it has: may well be possible to change them to match the scale.
Final point, beware of using ordinary RS-232 data cables. They use a different wiring convention, for example pins 2 and 3 are often crossed over.
However, the exam question is about ARC's 7 pin DIN connectors. Not enough wires to be EIA422! I think this is the manual for these scales.
It suggests this DIN 7 pin wiring:

So I'd chop the DIN plug off and rewire the scale to a 9 pin D-connector according to the M-DRO SDS6-2V table, first image above. I see ARC's site gives the Z reference point and grating pitch for their scales.
Black to pin 2
Blue to pin 6
Green to pin 8
Red to pin 7
Yellow to pin 9
Shield to pin 4
Dave
Edited By SillyOldDuffer on 13/04/2020 13:39:30