Final Exam Question 1

The exam asks the question about with pipeline 2 failing twice.

Pipeline 2 is incorrect because $geoNear needs to be the first stage of our pipeline

Pipeline 2 fails because we cannot project distance field

Now are the questions exclusive of each other? So even if the pipeline failes because of $GeoNear, the question about not being able to project the distance field is a total separate one?


Yes, you are right, you have to consider them as separate statements, I mean, it may be that only one is correct, or both or none of them.

José Carlos


Thanks, it is good to have confirmation.