How do I know if my query is using CN or BE or both?

How do I know if my query is using CN or BE or both?

Do a profile on the query (How to get the profile / query plan of a StarRocks query · StarRocks/starrocks · Discussion #29735 · GitHub) and it’ll show you if it uses CN or BE or both.