Final answer:
When using a two-wire cable for a 240-V appliance without a neutral wire, the white wire should be marked black on both ends and any exposed part to indicate it is live/hot.
Step-by-step explanation:
When using a two-wire cable to feed a 240-V appliance that does not require a neutral wire, the correct action is D. Mark both ends and any exposed area of the white wire black. This is because the white wire, typically indicative of a neutral wire, may be used as a hot wire in this type of circuit; marking it black ensures it is identified as live/hot and alerts anyone working on the cable that it is carrying voltage. This follows the standard practice of indicating the function of wires based on their color coding, an essential safety measure to prevent electrical shock or appliance malfunction.