Have a look at the motherboard memory QVL
here, and/or look at compatible G.Skill memory for the GA-Z270X Gaming K7
here. If the memory of interest is listed in either or both lists, then the memory will be (or should be) compatible.
If by chance the memory of interest is not listed in either list, then the memory
might still be compatible anyway as not all memory may have been tested for compatibility (yet).
If there is any doubt, we could have a look. What is the part number of the memory of interest (F4- . . . . ?)?