Based on previous court rulings, which of the following scenarios would most likely violate the equal protection clause of the Fourteenth Amendment?
1. The federal government passes a law prohibiting assault rifles.
2.A public school system uses race-based segregation.
3.A mayor refuses to allow an unpopular group to hold a political rally.
4.A police officer inspects the contents of a computer hard drive without a warrant.