Question 11

What are two functions of a resource model? (Choose two.)
  • Question 12

    How can you access the select query of a collection?
  • Question 13

    How do you add a foreign key to an existing table created by another module?
  • Question 14

    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?
  • Question 15

    During a code review of a module MyCompany_PaymentCurrencies you see a configuration field declared in the file etc/adminhtml/system.xml:

    What is the consequence of the attribute showInStore being set to 0?