1. This question is on standard government security clearance forms as well. Has been pretty much forever.
2. While CBP (and other agencies) sort of know where one has been, these records are far from accurate. Besides, many of the answers are known, but this is a chance to see whether one tells the truth.
3. Don't play cute. Answer the question truthfully. If one changed aircraft at WAW, list Poland. If the follow up question is, "what did you do in Poland?" the answer is, "we changed planes."
The biggests risks in this process, presuming that one is not a convicted felon or currently a fugitive, are people who overthink and wind up making false statements.