The epoxy is there to seal the scales to the tang, not just to hold it on. In a sideways blow to the handle ,a scale can pop off unless there is something to prevent the scale from moving sideways. That is what the rivet does.
There is a problem that many (most?) new makers have when doing scales. They clamp them on real tight and let the resin cure. Clamping two smooth and flat surfaces together hard will squeeze out all the epoxy. After the handle is sanded and finished ,the scales may pop off with no real pressure. That is because there is nothing holding them together. Clamp with just enough pressure to leave a thin layer of epoxy. Also, do something to create a space with epoxy in it between the handle material and the steel tang. Drilling lots of holes through the tang is one good way.This allows the two scales to be bonded together with the "epoxy rivets" through the holes. Drilling lots of shallow holes, about 1/8" deep, on the inside of the scales (leave about 3/16-1/4" border undrilled around the edges) is another excellent way to do this. Doing both will make a bond that will work without pins or bolts, but you really should have them if the knife will ever be used.
Stacy