Yes. Hemp-derived THC products — including Delta-9 gummies, Delta-8 products, and THCa flower — can cause you to fail a standard drug test. The fact that these products are federally legal does not matter to the test.
Drug tests don't distinguish between THC from hemp and THC from marijuana. They detect THC-COOH, the metabolite your body produces after processing any form of THC. Whether that THC came from a legal hemp gummy or an illegal marijuana product is irrelevant to the chemistry.
If you have an upcoming drug test for employment, probation, sports, the military, or any other reason, you should avoid all THC-containing products well in advance.