Racist and illegal yes. But common. All of FAANG use discriminatory quotas behind the scenes for promotion and hiring, and often the lower level employees have no idea because these actions are done quietly by individuals or only discussed in verbal meetings to leave no records. Individuals make decisions that are discriminatory because rewards for them (senior managers and executives) are based on quotas (diversity goals). For example, in a few of these companies you aren’t eligible for a senior promotion unless your team has certain minimums on protected traits.