Exposure to anthrax may occur if a person has been in contact with or in the presence of anthrax spores. It will depend on how the anthrax was released, where it was released, and where you were relative to the release site.
Being exposed does not necessarily mean that you will become infected. People may be exposed without actually being infected. It usually takes a lot of spores to actually infect a person.