How to handle multiple entitlement types in a single create account request

Okay its getting little more intresting…
So tell me one thing when you are requesting the group and role
Is there any mapping on the end system? That if Group A comes then it should have Role D only.