AD0-E709 Adobe Commerce Developer Expert

Loading demo links...

Showing 4–6 of 10 questions

Question 4

When paying by Bank Transfer, there is a requirement to send an email to customer service with payment details, after the order is placed successfully. Which two events can be used to send an email during the order placement process? (Choose two.)

Select all that apply, then click Submit answer.

  • sales_order_payment_pay

  • sales_model_service_auote_submit_before

  • sales_model_service_quote_submit_success

  • sales_order_place_after

Question 5

An Adobe Commerce developer is working on an Acme_Exceptions module which is supposed to overwrite logic inside some of Magento native exceptions such as \Magento\Frame-work\Exception\NoSuchEntityException or \Mogento\Framwork\GraphQ1\Exception\GrephQlInputException , The module is open-source and will be available on packagist.org.

The build of the codebase of projects, including the module, will sometimes take place in docker containers with full access to filesystem. but then it is deployed to a read-only filesystem.

Which two approaches would the developer use to overwrite logic in those exceptions? (Choose two.)

 

Select all that apply, then click Submit answer.

  • 1. Create a version of those exceptions inside the module using the original namespaces and classes, e.g. \Magento\Framewrk\Exception\NoSuchEntityException .
    2. Use composer's extra > nap node to copy those exceptions to their original destinations like vendor/Magento/framework/exception/ to replace original files.
     

  • 1. Create a version of those exceptions inside the module using new namespace, e.g.
    \Acme\Exceptions\Exception\NoSuchEntityException .

     

  • 1. Create a version of those exceptions inside the module using the original namespaces and Classes, e.g. \Magento\Framework\Exceptioin\NoSuchEntityException .
    2. Use composer's scripts > post-install-and and scripts > post-update-cmd nodes to copy those exceptions to their original destinations like
    vendor/Magento/framework/exception/ to replace original files.
     

  • 1. Create a version of Those exceptions inside the module using the original namespaces and classes, e.g. \Magento\Framework\Exception\NoSuchEntityException .
    2. Create a data patch copying those exceptions to their original destinations like vendor/magento/ framework /except Ion/ to replace original files.

Question 6

An Adobe Commerce developer is tasked with adding an new export option for the order grid, they have added the following code for the export button within sales_order_grid.xml

Upon testing, they are getting redirected, what would be a cause for this error?

Select an option, then click Submit answer.

  • The Layout cache needs to be refreshed.

  • The developer has to add a formkey for the new export option.

  • The option's url attribute is not valid.