\According to the current understanding of Earth's magnetic field and how magnetic fields are generated, which two components in Earth's internal structure are required in order to generate a magnetic field?