DevOps career is extensive, you will have to learn different skills to meet the market demand. Most of the skill takes time to master.
Yes, a fresher can get a job in DevOps. But you will need to keep learning all the DevOps skills to ensure you meet all the requirements as time progresses.
You can take six months to become a DevOps engineer if you have some basic skills like programming and networking. If you are fresh and you don't have any skills, it can take one to two years to become one.
You can become a DevOps engineer through training or having a degree in Computer Science or a related field.
DevOps engineer is a combination of skillset. Some companies prefer those who have a Bachelor's degree in Computer Science or a related field, while others look at someone who has skills in networking, programming, soft skills, CI/CD, and infrastructure management, among others.