USB A to B Cable

What USB cable a to b should be used if going from 3.0 port on pc to usb 2.0 port on dac.Should I use a 3.0 USB cable or will a USB 2.0 work properly

USB is backward compatible and marches at the speed of the slowest man so either cable should work fine.

One that ideally has the correct USB connections at each end…

but most probably this is what the ends should look like for you…not knowing for sure what your DAC is.

00

Do they make a cable or adapter for usb 3 type a to usb 2 type b

Yes but just use a good USB 2.0 spec cable and avoid the need for adapters.

This is my fav:

https://www.amazon.com/Tripp-Lite-Hi-Speed-Ferrite-U023-006/dp/B003MQ29B2/