You have a Microsoft 365 tenant with the following devices enrolled in Intune.
You've configured the following compliance policies in Intune including the groups they are assigned to:
What policies will apply to which devices?
DeviceA and DeviceC only
PolicyA includes Group3 and only affects Android devices so it only affects DeviceA and DeviceC.
PolicyB includes Group2 and excludes Group3 and only affects Windows 10 devices so it only affects DeviceD.