1) Yes you will lose the shield but you get a warning message before you try to attack, so you shouldn't lose it accidentally. Resource centers are not protected by your shield.
2) You can participate in a cartel war when you have a shield, it doesn't prevent you from attacking the outpost on...