Halloween Sales Special - 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: coponace

A MongoDB administrator is managing a database for a hospital system.

A MongoDB administrator is managing a database for a hospital system.

The patients collection contains:

- Carlos Martinez, diagnosis Hypertension, room 203

- Maria Lopez, diagnosis Hypertension, room 207

- Juan Perez, diagnosis Arrhythmia, room 207

The administrator runs:

db.patients.updateMany(

{ diagnosis: " Hypertension " },

{ $set: { room: 207 } }

)

What output should the administrator expect?

A.

acknowledged: true, matchedCount: 1, modifiedCount: 1

B.

acknowledged: true, matchedCount: 3, modifiedCount: 1

C.

acknowledged: true, matchedCount: 1, modifiedCount: 2

D.

acknowledged: true, matchedCount: 2, modifiedCount: 1

C100DBA PDF/Engine
  • Printable Format
  • Value of Money
  • 100% Pass Assurance
  • Verified Answers
  • Researched by Industry Experts
  • Based on Real Exams Scenarios
  • 100% Real Questions
buy now C100DBA pdf
Get 70% Discount on All Products, Use Coupon: "coponace"