CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

Câu 25: C100DEV: MongoDB Associate Developer

Given a sample collection called collection, in which all documents have the following shape:{_id:1,a:{b:[1,2,3],c:”example”}}And the following query:db.collection.find({“a.b”:2})Which two indexes will improve the performance of that query? (Choose two.)

Nội dung câu hỏi

Given a sample collection called collection, in which all documents have the following shape:{_id:1,a:{b:[1,2,3],c:”example”}}And the following query:db.collection.find({“a.b”:2})Which two indexes will improve the performance of that query? (Choose two.)

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.

  1. A. {“a.b”:1,“a.c”:1} — đáp án hiện tại
  2. B. {a:1}
  3. C. {“a,c”:1,“a.b”:1}
  4. D. {“a.b”:1} — đáp án hiện tại
  5. E. {a: 1, b: 1}

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.

Câu hỏi liền kề