Photon interview question

Difference between custom settings and custom metadata.