While what Aeacus says is true, as far as works goes, some ram is tested more vigorously than others. Gskill FlareX and any of its Trident Z series where the model number ends in X (like GTZRX for instance) is specifically recommended for use on AM4 motherboards over the non X models.
Any ram will work at default speeds, but XMP / DOHC is an overclock of the ram (factory specified), so there's no guarantee that those OC speeds can be obtained. There's multiple instances of ppl using 3000 or higher speed ram yet not getting that speed even with manual settings, at best getting 2933MHz.
So all ddr4 ram will work, some just works better.