The correct answer would be a triangle.
If you sliced horizontally across a cylinder standing up, you would have a circle.
If you sliced vertically down a cylinder standing up, you could have either a rectangle or a square.
You would never have a triangle.