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

Câu 14: C100DBA: MongoDB Associate Database Administrator

A MongoDB database administrator needs to improve the performance of the following query: What index should the administrator use to achieve this goal?

Nội dung câu hỏi

A MongoDB database administrator needs to improve the performance of the following query: What index should the administrator use to achieve this goal?

Minh họa câu hỏi

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. db.employees.createIndex({salary: 1, name: 1, department: 0 });
  2. B. db.employees.createIndex({ department: 1, salary: -1 }); — đáp án hiện tại
  3. C. db.employees.createIndex({department: 1, salary: 1, name: 1 });
  4. D. db.employees.createIndex({ name: 1, department: 1, salary: -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ề