Answers are AI-generated. Review them carefully with the confidence label.
MongoDB DBA · Question 59 · Single choice
59. Consider the following query:
db.movies.aggregate([
{
$lookup: {
from: "cinemas",
localField: "theater",
foreignField: "movie",
as: "theater_shows"
}
}
])
If this query is run against a sharded collection, where will the $lookup aggregation stage take place?
Choose the best answer:
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.