It turns out that many materials can be solid at a higher temperature if the pressure is also higher. so even though it is hotter in the inner core the pressure in the core is also higher and you can have a solid iron nickel instead of liquid
To perform this test to check if gold is real, make a light, tiny scratch on the item using a small nail file. Choose a spot that is not noticeable if possible. Use a dropper to apply a small drop of nitric acid to the scratch. If there is no reaction, then the piece is probably made from real gold.
Moon! The Apollo missions were to go to the moon hope this helps