Exchange Online setup with an Exchange hybrid deployment
A hybrid deployment is a combination of on-premises applications or data and cloud-based services. For example, Exchange hybrid solutions could include using an Exchange Server on-premises and Exchange Online in Office 365. Whether you move to Exchange Online in a phased approach, or keep some users' mailboxes on premises and others in the cloud, you can use an Exchange hybrid deployment to achieve your goals.
Active Directory deployment reference: