Assume that $collection is a new instance of a class that extends
Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection, and $ids is an array of ids.
How do you select a list of records from the database where the record ids are in the $ids list?
Answer : A
What is a valid use case for an around plugin?
Answer : D
There are two different configurable products which both share one variation. The shared variation is represented by the same simple product.
A customer added both configurables to the cart with the same selected variation?
How will they be displayed?
Answer : B
Which two ways does Magento persist category relationships in the database? (Choose two.)
Answer : B, C
You are setting up a brand new Magento installation for a merchant who is migrating from Magento 1 to Magento 2.
Keeping in mind upgradability and the need to customize, which one do you choose?
Answer : C
You have been given the task of importing products from an external source. You decide to create a custom module to do this. The class handling the import creates a product for each record, sets the data on it and saves it to the database.
What do you inject into a constructor to represent each product you create?
Answer : B
You need to find all orders in the processing state. You have written the code:
When you run the code, you get the following exception:
How do you resolve the exception?
Answer : C