I doub’t the overall process, as if you are returnign the answer within the question, any one with little knowledge how broswer work , can see the correct answer.
what i suggest, make a database in a such a way, that to check the correct ans you use a backend workflwo whcih will check the right ans and return true or false.
like:
I Have a question database entiry, with 4 Filed for option and one field which also have right ans, and i will make this filed not visible for anyone with privacy rules, which make it invisible for every on on front end.
to check the right ans, i will create a backend API workflow whcih bypass privacy rules, with that i send the quesiton and user selected ans,
in backend i match the ans with the question if it true i will return true and if false i return false, this way user have no knowledge
If you need help, ping me i walk you through it.