My guess is that whoever was organizing the interviews couldn't find a devops person to do the interview. They found a regular dev to do it instead, and that interviewer was inexperienced and asked one of the only questions they knew.
Moral: Take interview training and make yourself available to do interviews, especially if you're in a relatively niche role. Make this attitude the norm in the industry.