learn stan (still relevant technology despite being one of the oldest in its domain). learn image processing. learn database administration.
How many companies need someone who specializes in “image processing”? Soon, if it’s not already a commodity library that any company can leverage.
If you want to be a general hire, then you will suffer competing with generalists (this is not a bad thing just a different strategy). You can choose to become an expert on a general skill (or trendy framework). This is useful and highly marketable, but your competition pool is also larger and the technology is still likely to dissolve over time.
Also, for DBA , I think i'm internally thinking Data Engineering instead. I perhaps misspoke by title.