Magento
M70-201 · Question #45
M70-201 Question #45: Real Exam Question with Answer & Explanation
Sign in or unlock M70-201 to reveal the answer and full explanation for question #45. The question stem and answer options stay visible for context.
Question
You want to filter a product collection so that it will return only SKUs 12 and 123. You will use a call to $collection->addFieldToFilter('sku', ______________ ); Two of the following arrays could be used to complete that call correctly. Which two? (Choose two)
Options
- Aarray('sku' => 12, 'sku' => 123)
- Barray(array('eq' => 12), array('eq' => 123))
- Carray(12 => true, 123 => true)
- Darray(12, 123)
- Earray(array('int' => 12), array('int' => 123))
Unlock M70-201 to see the answer
You've previewed enough free M70-201 questions. Unlock M70-201 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.