The questions don’t seem to take the latests changes into account: https://docs.mongodb.com/manual/reference/operator/aggregation/max/ and the phrasing of " Pipeline 2 fails because the $divide operator only supports numeric types" seems to be wrong. I can’t be more descriptive without giving the answers away.
The “Pipeline 2” one is a bit of trick option and if you don’t look very closely you might miss it.
Ask yourself three questions:
- Which stage is this being operated on?
- How does
$dividework within this stage?
- What type of object/datatype is being operated on?
If you’re still unclear, perhaps you’ll get a PM from the Curriculum Support Engineer.
PS: I’ve just linked your topic to the course.
Please check your discourse inbox for more detailed discussion on this and let me know, if you have any questions.
@007_jb thanks for guiding the user!!