Magento
M70-101 · Question #83
M70-101 Question #83: Real Exam Question with Answer & Explanation
Sign in or unlock M70-101 to reveal the answer and full explanation for question #83. 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-101 to see the answer
You've previewed enough free M70-101 questions. Unlock M70-101 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.