Loading provider exams...
Sign Up & unlock 100% of Exam Questions
No Strings Attached!
Updated
An Adobe Commerce developer is creating a new console command to perform a complex task with a lot of potential terminal output. If an error occurs, they want to provide a message that has higher visibility than some of the other content that may be appearing, so they want to ensure it is highlighted in red (as seen in the screenshot):
How can they customize the appearance of this message?

An Adobe Commerce developer has been asked to modify the PageBuilder slider content type to allow a new custom content type (other than slide) to be assigned as a child. The developer has already created the new content type called improved_slide in their module. They now need to create a new view/adminhtml1/pagebuilder/content_type/slider.xml file in their module to allow the new content type to be a child of slider content types.
What is the correct xml to accomplish this?



A logistics company with an Adobe Commerce extension sends a list of reviewed shipment fees to all its clients every month in a CSV file. The merchant then uploads this CSV file to a "file upload" field in admin configuration of Adobe Commerce.
What are the two requirements to display the "file upload" field and process the actual CSV import? (Choose two.)





A merchant is experiencing performance issues on integration environments of their Adobe Commerce Cloud Pro plan and wants to upgrade to Enhanced Integration Environments.
What are the steps necessary prior to redeploying in order to upgrade to Enhanced Integration Environments?
An Adobe Commerce developer added a new API method to search and retrieve a list of Posts for a custom Blog functionality.
This is the content of the module's etc/webapi.xml file:

The new code has been deployed to production and the merchant is using https://merchant.domain.com/swagger to review the new endpoint, but it is not visible in swagger.
What would be a reason for this?
Want a break from the ads?
Become a Supporter and enjoy a completely ad-free experience, plus unlock Learn Mode, Exam Mode, AstroTutor AI, and more.
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?
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?



An Adobe Commerce developer is about to deploy a critical feature to their Adobe Commerce Cloud (Pro Plan) production. They want to create a snapshot in order to be able to rollback if there is an issue with the feature.
How would they create the snapshot?
An Adobe Commerce developer is tasked with creating a custom block that will be displayed on every page in the footer of the site.
After completing and optimizing the development, the developer notices that the block takes too much time to be generated on each page and decides to store it in the system cache after enabling it for all cache groups.
What would be the minimum requirement to achieve this?
An Adobe Commerce developer has created a module that adds a product attribute to all product types via a Data Patch.
According to best practices, how would the developer ensure this product attribute is removed in the event that the module is uninstalled at a later date?
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?



An Adobe Commerce developer has added a new configuration field to the admin area. The path for this option is general/store_information/out_of_hours_phone.
Keeping simplicity in mind, how would the developer ensure this option contains a valid US telephone number?
An Adobe Commerce developer has installed a module from a third-party vendor. This module fires a custom event named third_party_event_after and also defines an observer named third_party_event_after_observer that listens to that event. The developer wants to listen to this custom event in their own module but wants to execute their observer's logic after the third_party_event_after_observer observer has finished executing.
What would the developer do to ensure their observer runs after the observer defined by the third-party module?
An Adobe Commerce developer is creating a module (Vendor_ModuleName) to be sold on the Marketplace. The new module creates a database table using declarative schema and now the developer needs to make sure the table is removed when the module is disabled.
What must the developer do to accomplish this?
An Adobe Commerce developer is trying to create a custom table using declarative schema, but is unable to do so.

What are two errors in the snippet above? (Choose two.)
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?


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?



An international merchant is complaining that changes are taking too long to be reflected on the frontend after a full product import.
Thinking it may be database issues, the Adobe Commerce developer collects the following entity counts:
Categories: 900 -
Products: 300k -
Customers: 700k -
Customer groups: 106 -
Orders: 1600k -
Invoices: 500k -
Creditmemos: 50k -
Websites: 15 -
Stores: 45 -
What is a probable cause for this?
A developer is working on an Adobe Commerce Cloud project and wants to get connection data for the environment's deployed services. The developer has all of the necessary permissions to do this.
Which two options would the developer take to get the connection credentials? (Choose two.)
When checking the cron logs, an Adobe Commerce developer sees that the following job occurs daily: main.INFO: Cron Job inventory_cleanup_reservations is successfully finished.
However, the inventory_reservation table in the database is not emptied.
Why are there records remaining in the inventory_reservation table?
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?



An Adobe Commerce Developer has written an importer and exporter for a custom entity. The client is using this to modify the exported data and then re-importing the file to batch update the entities.
There is a text attribute, which contains information related to imagery in JSON form, media_gallery. This is not a field that the client wants to change, but the software they are using to edit the exported data seems to be modifying it and not allowing it to import correctly.
How would the developer prevent this?



An Adobe Commerce developer is being tasked with creating a new cron job to run a method that has already been written.
What are the minimally required steps to accomplish this?
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?



Which hashing algorithm will Adobe Commerce choose to hash customer passwords?