You are correct! The SN2 reaction inverts the configuration of the substrate and the E2 reaction proceeds more readily when the leaving group is trans to the hydrogen atom that is attacked by the nucleophile.