What are two uses of the AS-path attribute? (Choose two.)
A.
It is used to avoid routing loops between autonomous systems.
B.
It is used in BGP route selection.
C.
It is used to ensure that a packet traverses the least number of routers.
D.
It is used by IGPs to avoid loops within an autonomous system.