OK, still confused.. BUT... for the examples shown above... cover or Assy fastened to a body with cap-bolts [mostly-threaded, heavy-duty screws] in tension...
The cap-bolts generate TENSION force ONLY. IF substantial SHEAR forces are present, then the joint must also have a way to remain fixed/stable to resist shear. This is typically accomplished with precision-fit [net-fit] SHEAR-PINS between the parts and positioned/spaced strategically within the fastener pattern.
NOTE1. Shear-pins I am referring-to are headless... such as solid dowel-pins machined to x.xxxx-inch tolerances... or coiled-spring pins for less precision assys... and are typically made from high strength steel or SStl with tapered-ends to facilitate a tight-fit installation into precision-matched holes between assemblies. They can also be used for guide/alignment between critical mechanical assemblies... as well as shear-force resisting.
Regards, Wil Taylor
o Trust - But Verify!
o We believe to be true what we prefer to be true. [Unknown]
o For those who believe, no proof is required; for those who cannot believe, no proof is possible. [variation,Stuart Chase]
o Unfortunately, in science what You 'believe' is irrelevant. ["Orion", Homebuiltairplanes.com forum]