Question: how kcc generates the replication topology?
Answer: The KCC is a built-in process that runs on all domain controllers and generates replication topology for the Active Directory forest. ... On each domain controller, the KCC creates replication routes by creating one-way inbound connection objects that define connections from other domain controllers.