No, it won't work because the CPU can't handle the higher frequency.
No, it won't work because the CPU can't handle the higher frequency.
You might consider using the 2666mhz version despite your CPU's 2400 MHz limit. It offers better performance and is more affordable. Your PENTIUM GOLD G5420 will run well in dual channel with the ASROCK B365M-HDV board, especially with the 8GBx2 configuration instead of the more expensive 16GBx1.
The motherboard could automatically adjust to 2400 MHz, and it should handle dual-channel operation smoothly. Running FreeNAS would be a cost-effective choice compared to purchasing a Synology system.