AD0-E717-Ext Adobe Commerce Developer Professional Practice Questions
Prepare for AD0-E717-Ext with more than an answer.
Unlock the full exam and previous versions
- v1Adobe Commerce Developer Professional 138 questions Locked
- AD0-E717-ExtLegacy Adobe Commerce Developer Professional 142 questions Current
- 1
You are developing a module MyCompany_StoreInfo to display information about brick and mortar stores on a frontend page. The displayed information varies based on the country of a given store.What two elements automatically render their children? (Choose two.) A. B. C. D.
Show answer details
Correct answer: C, D
- 2
Case Study:
A B2B company, "Industrial Supplies Co.", needs to add a mandatory "Handling Fee" to every order. This fee should be 2% of the subtotal, with a minimum charge of $5.00. The fee must be displayed separately in the cart totals summary on the cart page, checkout, and in all subsequent sales documents like invoices and credit memos. It also needs to be correctly factored into the grand total and tax calculations.
A junior developer attempted to implement this using a plugin on
Magento\Quote\Model\Quote\Address\Total\Subtotal::collect. This approach led to incorrect tax calculations and the fee not being correctly refunded on credit memos.As the senior developer, which approach represents the most robust and correct way to implement this custom fee?
flowchart TD A[Quote Loading] --> B{Total Collectors Loop} B --> C[Subtotal Collector] C --> D[Shipping Collector] D --> E[Tax Collector] E --> F[GrandTotal Collector] B --> G[Custom Fee Collector] G --> EShow answer details
Correct answer: B
The correct Magento way to add a new total to the checkout process is by creating a dedicated total collector class. This involves extending
AbstractTotaland implementing thecollectandfetchmethods. The collector must be registered for quotes and orders/invoices/credit memos via XML configuration (quote.xmlandsales.xml). This ensures the logic is properly integrated into the entire sales lifecycle, including tax calculation, invoicing, and refunds, which a simple plugin or observer cannot do reliably. - 3
Products may be accessed using SEO friendly URLs like /my-product instead of /catalog/product/view/id/{ID}How is this one? A.An event observer adds RewriteRules to .htaccess on product saveB.Magento\Catalog\Controller\Product\View::loadByUrlKey loads product pages using the url_key attribute valueC.Using a URL Rewrite stored in the database connecting the request path with the target pathD.A plugin on \Magento\UrlRewrite\Controller\Router::match loads products by the url_key attribute
Show answer details
Correct answer: C
- 4
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? A.Create a new Magento instance using composer create-projectB.Clone the magento/magento2 GitHub repositoryC.Run php bin/magento setup:migrate commandD.Create a new Magento instance by using the bin/magento install command
Show answer details
Correct answer: C
