Câu 23: C100DBA: MongoDB Associate Database Administrator
Given the following query:db.load.find({_id: {lte: 1000}, rnd: 1234, date: {gte: ISODate(“2023-01-01”)}}).sort({date: -1})In a compound index that best supports this query, what field should be first field?
Nội dung câu hỏi
Given the following query:db.load.find({_id: {lte: 1000}, rnd: 1234, date: {gte: ISODate(“2023-01-01”)}}).sort({date: -1})In a compound index that best supports this query, what field should be first field?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. rnd: 1 — đáp án hiện tại
- B. _id: 1
- C. date: 1
- D. no field
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.
Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.