Yes, your choice is correct. The question "Which sample has particles that are sliding past each other?" is the most effective in assisting the student to identify which container contains a liquid.
This is because liquids are characterized by particles that are close together but can move freely past one another, allowing them to flow and take the shape of their container. In contrast, solids have particles that are fixed in a structured arrangement and cannot move freely, while gases have particles that are far apart and move rapidly. Therefore, focusing on the sliding behavior of particles provides a clear distinction for identifying a liquid.