I used the below cable. You need to update the speed setting on the port (11) in the UDMP.
SFP+ DAC Twinax Cable, Passive, Compatible with Ubiquiti UniFi ES-48/ES-16-XG/USW-Pro-24-POE/USW-Pro-48-POE/US‑16‑XG/US‑48, 0.3 Meter(1ft) https://www.amazon.com/dp/B08Q7QW6KC/ref=cm_sw_r_cp_api_i_HBXYKGQ745C2S1DRW2Y6?_encoding=UTF8&psc=1
I just installed this earlier today. Seems to be working fine.
https://www.amazon.com/dp/B08Q7QW6KC?ref=ppx_pop_mob_ap_share
I'm running these: SFP+ DAC Twinax Cable, Passive, Compatible with Ubiquiti UniFi ES-48/ES-16-XG/USW-Pro-24-POE/USW-Pro-48-POE/US‑16‑XG/US‑48, 0.3 Meter(1ft) https://www.amazon.com/dp/B08Q7QW6KC/ref=cm_sw_r_apan_i_ST4NF8ZP14VG8X84Y370?psc=1
Here's a .3m one on Amazon: https://www.amazon.com/10Gtek-Ubiquiti-10GBASE-CU-Passive-1-Meter/dp/B08Q7QW6KC?th=1
I've used other lengths of that brand.
I use a DAC cable to connect the UDMP to the USW-24-PoE. More specifically, this one https://smile.amazon.com/gp/product/B08Q7QW6KC/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&th=1. I like that it is slightly shorter than other DAC cables, so looks less messy. The two devices auto-negotiated a 10 Gbps rate. No need for manual settings.