Question 56

An Adobe Commerce developer has been asked to modify the PageBuilder slider content type to allow a new custom content type (other than slide ) to be assigned as a child. The developer has already created the new content type called improved.slider_slide their module. They now need to create a new view/adminhtml/pagebuilder/content_type/slider.xml file in their module to allow the new content type to be a child of slider content types.
What is the correct xml to accomplish this?
A)

B)

C)
  • Question 57

    An Adobe Commerce developer has been taskedto create a new rest API endpoint to get a list of items for a CustomEntity . When testing the endpoint, it throws an exception.
    This is the code the developer has written forMyVendor\Module\Api\CustomEntityRepositoryInterface:

    And this is the implement method within MyVendor\MyModulemodel\CustomEntityRepository:

    What is wrong with the code?
  • Question 58

    You are reviewing a module to some special functionality to the Magento 2 application, You see directory /CustomerData,
    What task you think in this directory contain script for this modules?
  • Question 59

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

    An Adobe Commerce developer is asked to change the tracking level on a custom module for free downloading of pdf and images.

    How will he developer configure tracking_level parameter, in di,xml to have a value of 4 for Download class and classes that extend Download?