Answers are AI-generated. Review them carefully with the confidence label.
MongoDB DEV · Question 79 · Multiple choice
Consider a collection people that contains the two following documents:
{ "_id" : ObjectId("5900efbf0986fdb6574b86f6"), "lastName" : "Cross", "firstName" : "William" } { "_id" : ObjectId("5900efbf0986fdb6574b86f7"), "lastName" : "Leniz", "firstName" : "Nathan" } You perform the following aggregation:
db.people.aggregate([ { $project: { lastName: 1 } } ]) Which fields are displayed in the result set?
Check all that apply:
This question appears in 3 bank records. Public pages combine identical prompts and options. Selected questions display the highest-confidence record; the others show a short preview. Paper-based learning preserves each record's answer, explanation, and confidence.