← All posts
Careers

Cybersecurity vs AI vs data science: which career, honestly

What the daily work is in each field, what you need to enjoy, the maths involved, how hiring behaves, and a founder's rule for choosing between them.

Cybersecurity vs data science vs AI comes down to one question: which kind of problem would you pick up on a Saturday with nobody paying you? Security is adversarial puzzles. AI is building things that learn. Data science is finding the story inside a mess of numbers. Three different temperaments, and most of the agonising I see from students is them not having asked that question yet.

I run a security studio and hire for it, so I'm biased towards security, and I'll say where that bias is doing the work. I'm not going to quote salaries or demand figures. They move every year and they're the wrong basis for a decision you'll live with for a decade.

What the daily work actually is

Security. You read other people's systems and ask "how would I break this, and how would I know if someone had?" Defensive work is logs, alerts, configuration, access reviews, and a queue of things that might be nothing. Offensive work is reading documentation, poking at inputs, and writing up what you found so an engineer can fix it. Writing is a large part of it. Nobody warns you about that.

AI and machine learning. You get data into a shape a model can eat, train something, discover it's worse than the baseline, and work out why. Much of the job is plumbing: pipelines, evaluation harnesses, serving, monitoring drift. Designing new architectures is a small fraction of roles. Mukul's explanation of a neural network is the honest picture of what you'd be building.

Data science. You turn a vague business question into a precise one, clean data that was never collected with your question in mind, then explain the answer to someone who will act on it. SQL, notebooks, charts, meetings. What separates good from average is not modelling. It's knowing which question is worth answering.

What you need to enjoy, because the job is mostly that

This is the part I'd weight heaviest.

Security people enjoy the adversarial frame. You look at a form field and think "what happens if I put something unexpected here?" You hear "this system is secure" and treat it as a hypothesis. You can live with never being finished, because the attacker gets a vote. If that sounds exhausting rather than fun, listen to that.

AI people enjoy building a thing and watching it get better. Change something, rerun, the number moves. You need patience for experiments that fail for days, and you need to care about why a model behaves a certain way, not just that it does.

Data science people enjoy narrative. The moment a table of numbers becomes a sentence that changes what a team does. They don't mind that the technical work is often in service of a slide.

Try each for a weekend. Do a beginner CTF (Ritika's guide gets you started). Train a tiny model on a public dataset. Take a messy CSV and write three paragraphs about what it says. Notice which one you resented stopping.

The maths, without the fear

Students overestimate the maths needed for security and underestimate it for AI.

Security needs little formal maths day to day: cryptography at concept level, some probability for reasoning about detection, and the ability to read a statistic without being fooled. The hard skill is systems knowledge: networks, operating systems, how web applications and browsers behave. That's what Rohan's roadmap is built around.

AI needs real maths. Linear algebra, calculus for gradients, probability and statistics. You can use the libraries without it for a while, but when something breaks in a non-obvious way you're debugging a thing you don't understand. People who skip the maths plateau early and often don't know why.

Data science sits between. Statistics is the core: distributions, hypothesis testing, regression, and knowing when your sample is lying to you.

Cybersecurity vs data science vs AI: how entry-level hiring really behaves

What I see from the hiring side, in general terms.

Security hiring is uneven. Plenty of teams say they want juniors and then write an advert for five years of experience. The ones that genuinely hire entry-level usually hire into operations-flavoured roles, where systems knowledge matters more than security knowledge. I've argued this in the entry-level debate: it is entry-level if you treat the first job as a systems job.

AI hiring at entry level is crowded and the bar is strange. Many roles labelled "AI" are really data or software engineering with a model somewhere in the pipeline. Research-flavoured roles tend to want postgraduate study. Certificates carry very little weight; a portfolio of things you built and evaluated honestly carries a lot.

Data science has the clearest entry path, which cuts both ways. Expectations are defined, and the pile is full of the same profile: a bootcamp and a notebook on a famous dataset. What stands out is domain knowledge. A data scientist who understands the business beats one who knows one more algorithm.

Across all three, what gets a junior hired is evidence they did the work unprompted. A write-up. A small tool. A repo with honest commit history. Proof of the Saturday test, basically.

How exposed each role is to AI automation

This is the question underneath the question, so I'll be direct.

The parts of every job that pattern-match on familiar inputs are the parts under pressure. In security that is low-complexity alert triage and first-pass vulnerability scanning. In AI it is boilerplate model code and standard pipelines. In data science it is exploratory charts and routine reporting. I wrote about how much of "AI replacing jobs" is cover for cuts already planned.

What's harder to automate is judgement under adversarial or ambiguous conditions. Which alert matters when the attacker is making noise on purpose. Whether a good benchmark score is real or a leak in the data. Which business question is worth answering. Steer towards those parts early.

My ranking of exposure: data science reporting is most exposed, routine AI engineering next, security's adversarial core least, because an opponent who adapts is the one thing a pattern-matcher handles worst. Moderate confidence. I've been wrong about timelines before.

Where the fields overlap, and why that's the answer

The overlap is where I'd actually point most people.

AI security is security applied to systems that learn. Prompt injection, data poisoning, agents talked into leaking what they were trusted with. It needs the adversarial temperament plus enough AI understanding to see where the trust boundaries are. Kushagra's post on prompt injection will tell you whether this one lights you up, and the AI Audit is what a first pass at the work looks like.

Security data analysis is data science applied to security telemetry. Logs at scale, anomaly detection, working out what "normal" looks like so you can see what isn't. It needs the statistical mind and the adversarial one together, and SOC teams badly want people who can think rather than click.

So my position. Pick by what you'd do on a Saturday for free. Then, once you have your footing, deliberately move towards the overlap with one of the others, because that's where the interesting problems are and where the competition is thinnest.

Which Saturday did you pick, and what did you resent stopping?

Frequently asked questions

Is cybersecurity harder than data science?

Different, not harder. Security is harder on systems knowledge and tolerance for never being finished. Data science is harder on statistics and on communicating with people who don't share your context.

Can I switch from data science to cybersecurity later?

Yes, and the natural route is security data analysis: detection engineering, log analysis, threat hunting. Your statistical skills transfer directly. You'll need to backfill networking and operating systems, which the roadmap covers.

Do I need a degree for any of these?

For security and data science, a degree helps with the first job and matters less after. Research-flavoured AI roles commonly expect postgraduate study; applied AI engineering cares more about what you've built. Requirements vary by employer and country, so read the adverts you actually want rather than taking my word for it.

Which one should I pick if I like all three?

Then the overlap was made for you. Start with security, because systems knowledge underpins the other two, and move towards AI security once you can hold your own. That's my bias talking, but it's built from hiring.

Careers
What carries over from web development, and what is newCareers

How to become an AI engineer, from a full-stack developer who is doing it

What the AI engineer job actually is, what carries over from web development, what is new, a learning order, three portfolio projects, and the security basics I wish I had known.

Careers

AI detectors are failing students, and the fix is not a better detector

Why an AI detector false positive cannot be disproved from the text alone, what a wrongly flagged student should do, and why the real fix is how we assess.

100 answers you can say out loud and defendCareers

Top 100 cybersecurity interview questions, with answers you can actually say

100 cybersecurity interview questions for intern and junior roles, grouped by topic, each with a short answer you can say out loud and defend when they push back.