If there are questions like that*, they’re probably phrased in a way to see if the applicant believes in stereotypes: “Do you think that group X comes to this country with more intent to work hard and gain success than group Y does?”
[* if there were they’d be the first to go under the current regime]