Adobe AD0-E716 - Adobe Commerce Developer Expert Exam

Question #1 (Topic: Exam A)
An Adobe Commerce developer has created a new shipping carrier. Everything has been implemented and the collectRates() and getAllowedMethods() functions can be seen below:


Given the above code, what would be the displayed cost of the shipping method and final amount charged to the customer?
A. The shipping method would display $0 but customers would pay a $10 handling fee for their order. B. The shipping method would display $0 and customers would pay $0 for using the new shipping method. C. The shipping method would display $10 and customers would pay $10 for using the new shipping method.
Answer: B
Question #2 (Topic: Exam A)
An Adobe Commerce developer is creating a new module to extend the functionality of the cart. The module is installed in app/code/CompanyName/ModuleName/.
How would an Adobe Commerce developer extend the existing CartItemPrices GraphQL schema to include a custom base_price field?
A. Create and configure a <preference> for Magento\QuoteGraphQl\Model\Resolver\CartitemPrices that adds the base_price field in the resolve() function. B. Add the following to the module's etc/schema.graphqls file:
C. Add the following to the module's etc/graphql/di.xml file:
Answer: B
Question #3 (Topic: Exam A)
An Adobe Commerce developer is working on a module to manage custom brand entities and wants to replicate the following SQL query using SearchCriteria:

Which snippet of code would produce the desired SQL query?
A. B. C.
Answer: C
Question #4 (Topic: Exam A)
The di.xml file of a module attaches two plugins for the class Action.
The PluginA has the methods: beforeDispatch, aroundDispatch, afterDispatch.
The PluginB has the methods: beforeDispatch, afterDispatch.

The around plugin code is:

What would be the plugin execution order?
A. B. C.
Answer: B
Question #5 (Topic: Exam A)
An Adobe Commerce developer is working on a custom gallery extension.
The module uses the Magento\Catalog\Model\ImageUploader class for image uploading. The admin controller for custom image uploads is Vendor\CustomGallery\Controller\Adminhtml\Image\Upload.
The images need to be stored in different basePath and baseTmpPath than the default ones.
How can the default ImageUploader class be extended and used without affecting the other modules that are already using it?
A. 1. Create a Virtual Type and configure the basePath and baseTmpPath.
2. Inject the virtual type Vendor\CustomGallery\GalleryImageUpload into admin controller:
B. 1. Configure the basePath and baseTmpPath of Magento\Catalog\Model\ImageUploader.
2. Inject the type Magento\Catalog\Model\ImageUploader into admin controller:
C. 1. Create a Virtual Type and configure the basePath and baseTmpPath.
2. Add virtual type Vendor\CustomGallery\GalleryImageUpload as a preference for Magento\Catalog\Model\ImageUploader:
Answer: A
Download Exam
Page: 1 / 14
Total 69 questions