Adobe AD0-E716 Exam Practice Questions (P. 1)
- Full Access (69 questions)
- Six months of Premium Access
- Access to one million comments
- Seamless ChatGPT Integration
- Ability to download PDF files
- Anki Flashcard files for revision
- No Captcha & No AdSense
- Advanced Exam Configuration
Question #1
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?


Given the above code, what would be the displayed cost of the shipping method and final amount charged to the customer?
- AThe shipping method would display $0 but customers would pay a $10 handling fee for their order.
- BThe shipping method would display $0 and customers would pay $0 for using the new shipping method.Most Voted
- CThe shipping method would display $10 and customers would pay $10 for using the new shipping method.
Correct Answer:
B
B
send
light_mode
delete
Question #2
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?
How would an Adobe Commerce developer extend the existing CartItemPrices GraphQL schema to include a custom base_price field?
- ACreate and configure a <preference> for Magento\QuoteGraphQl\Model\Resolver\CartitemPrices that adds the base_price field in the resolve() function.
- BAdd the following to the module's etc/schema.graphqls file:Most Voted
- CAdd the following to the module's etc/graphql/di.xml file:
Correct Answer:
B
B
send
light_mode
delete
Question #3
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?

Which snippet of code would produce the desired SQL query?
send
light_mode
delete
Question #4
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?
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?
send
light_mode
delete
Question #5
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?
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?
- A1. Create a Virtual Type and configure the basePath and baseTmpPath.
2. Inject the virtual type Vendor\CustomGallery\GalleryImageUpload into admin controller: - B1. Configure the basePath and baseTmpPath of Magento\Catalog\Model\ImageUploader.
2. Inject the type Magento\Catalog\Model\ImageUploader into admin controller: - C1. 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:
Correct Answer:
A
A
send
light_mode
delete
All Pages