Wrongful hiring is the case where actual job turns out to be very different than what you have applied to.
I have recently started my second job, leaving my first job after 7 months due to wrongful hiring. For my first job, I have applied for a DevOps position but I ended up doing front end web development back there. I had no experience nor desire in doing front end development yet I was doing it. I was never given any chance to demonstrate my DevOps knowledge, and yet my senior and manager was very sure that it was too early for me to switch to operations. I was also sitting idle until given a task. I was not allowed to grab one from the backlog nor work on or study something else. Mind that neither of them had any experience with DevOps before.
Fast forward, I applied to a DevOps position at a global company trusting the brand name. I got through a very technical interview where I was asked questions about vendor specific products used in DevOps and was hired immediately.
I must say I felt proud that even though I jumped the ship too early, I was able to get hold of a better position.
Now after two months into new job it is clear that my day to day duty has nothing to do with DevOps. I am hired for support work. Basically I am a customer relationship officer with knowledge of Docker.
My first company was a well known start-up at my country, and my current company is a well known global company. During my first job interview I was asked whether I am willing to do some development time to time and I said yes to it thinking that since I am hired for the back end team, I'll work in developing API's and what not in addition to my DevOps duties. I was not expecting front end development given that we already had 3 people doing those. So, I did asked questions about my current position and made it clear why I am leaving my job when interviewing again. So hiring manager was well aware of my standpoint, yet he did not openly informed me that the position will be a support role rather than any dev or ops.
My question is, if I cannot trust the brand name what/who can I trust to? How many job changes does it take to land the actual position doing the actual thing? How am I, as a new graduate/early career developer navigate through this "actual job turning out to be something very different" without it's being too late at weird positions ?