Faraday cages shield the interior from electromagnetic radiation, but some types of radiation can’t be blocked. This is the case for slowly varying magnetic fields. Our planet’s magnetic field is the best example of this, so a compass will still work inside the faraday cage room.