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

Câu 32: C100DBA: MongoDB Associate Database Administrator

A database administrator is responsible for maintaining a MongoDB database that stores scientific papers. There is a scientific paper that is no longer relevant and needs to be removed from the database. Given the following sample collection within the database: What query should the administrator use to delete the pa…

Nội dung câu hỏi

A database administrator is responsible for maintaining a MongoDB database that stores scientific papers. There is a scientific paper that is no longer relevant and needs to be removed from the database. Given the following sample collection within the database: What query should the administrator use to delete the paper with the doi equals 10.1000/xyz123?

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.scientificPapers.deleteOne({ doi: “10.1000/xyz123” }) — đáp án hiện tại
  2. B. db.scientificPapers.drop({ doi: “10.1000/xyz123” })
  3. C. db.scientificPapers.deleteOne({ scientificPapers: “orders”},{ doi: “10.1000/xyz123” })
  4. D. db.scientificPapers.findOneAndDelete({ scientificPapers: “orders”,doi: “10.1000/xyz123” })

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ề