nerdexam
Adobe

AD0-E724 · Question #62

AD0-E724 Question #62: Real Exam Question with Answer & Explanation

Sign in or unlock AD0-E724 to reveal the answer and full explanation for question #62. The question stem and answer options stay visible for context.

Question

A developer is tasked with programmatically updating the stock level of 5,000 products. Direct SQL updates are forbidden. What is the most performant, recommended Adobe Commerce pattern for this type of mass update on a single entity attribute?

Options

  • AUse the REST API to send 5,000 individual 'PUT /V1/products/{sku}' requests.
  • BUse the '\Magento\Catalog\Model\Product\Action' class and its 'updateAttributes' method to update
  • CCreate a data patch that iterates through each product, loads it, and saves the stock data.
  • DLoop through each product ID, load the full product object via the 'ProductRepository', set the new

Unlock AD0-E724 to see the answer

You've previewed enough free AD0-E724 questions. Unlock AD0-E724 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full AD0-E724 Practice