I ask because we have a student in our CS academy who is in a very similar situation.
some countries even wipe criminal records after some time.
Funny thing is that my dad told me I'd never get a job by doing that, but I got one two weeks after my release.
Now almost a year into my current full time job. I've been very lucky and fortunate but the threat of a background check will always look in the distance :/ will keep my chin up though.
"Have you ever been convicted of a felony?"
I would just leave it blank. I figured if anyone asked, then I'd humbly explain the circumstances and I could take my chances from there...
Nobody ever asked, and I went about my life. Obviously YMMV.