Question 31

An Adobe Commerce developer has created a process that exports a given order to some external accounting system. Launching this process using the Magento CLI with the command php bin/magento my_module:
order: process --order_id=<order_id> is required.
Example: php bin/magento my_module:order:process --order_id=1245.
What is the correct way to configure the command?
  • Question 32

    An Adobe Commerce developer is developing a custom module. As part of their implementation they have decided that all instances of their Custom\Module\Model\Example class should receive a new instance of Magento\Filesystem\Adapter\Local.
    How would the developer achieve this using di. xml?
  • Question 33

    An Adobe Commerce Cloud developer wants to be sure that, even after transferring database from Production to Staging, the payment configurations are still valid on the Staging environment.
    What does the developer need to add to be sure that the configurations are always properly set?
  • Question 34

    A Project Architect needs to add a new developer who needs to be able to push code in an Adobe Commerce Cloud project. No integration with a third-party repository provider is setup.
    What two actions would be required to ensure the developer has access? (Choose Two.)
  • Question 35

    An Adobe Commerce developer has added an iframe and included a JavaScript library from an external domain to the website. After that, they found the following error in the console:
    Refused to frame [URL] because it violates the Content Security Policy directive.
    In order to fix this error, what would be the correct policy ids to add to the csp_whitelist.xml file?