C100DBA • Practice Test 8
Free C100DBA practice test — 10 questions with explanations. Set 8. No signup required.
A retail application stores product documents in the `products` collection. Each document has an `inventory` array of embedded subdocuments, for example: `{ _id: 1, name: "Widget", inventory: [ { sku: "A1", qty: 5 }, { sku: "B2", qty: 8 } ] }`. The warehouse team needs to increase the `qty` of the subdocument with `sku: "B2"` by 3 for the product with `_id: 1`. Which update operation accomplishes this?
Choose an answer to begin — your selection is scored in the full session.
10 questions · instant feedback and full explanations after every question.