Maybe for webdev jobs this is true, but there's lots of software out there in the world that is not web development. I don't think I've ever seen ML engineers anywhere near the front-end except in cases where they're personally interested in it.
I do think if you're doing web development being asked to do a front end task, especially as your first ticket since these tend to be quicker fixes, is not too surprising.
But OP might do best to try to avoid web development work altogether. There are quite a variety of data engineering, ML engineering and infrastructure related roles where it would be completely out of the question to be expected to do any front-end.
After that I was hired at a FANG company and worked on automating data centers and service deployments as well as a ton of other stuff. Now I pretty much just go setup infra teams for people I used to work with who are at various small to medium startups.
So I don’t have a great answer for you but I would say staying away from anything where all they can tell you is “k8s” “terraform” and stuff that boils down to writing yaml or some config language all day. Additionally if you can’t get a good idea of where the company is today in the interview and where they would like to go it’s going to be sys admin stuff. In all my interviews i lay out where we currently are and all the issues that causes and go over where we want to be in a year from now and what things need to be done to get there. At the end you should feel like you fit into some part of that.
It is amazing how many hiring managers can’t give you a coherent picture of that. If all they can say is we need k8s, docker, infra as code and other buzz words without a plan the team is setup to fail.
The other way is just apply for platform eng or sre jobs at FANG and friends which will almost never be sys admin stuff although it can happen sometimes if they are listed for a team that works on the corporate side of the business.