AD0-E716 Exam Questions
66 real AD0-E716 exam questions with expert-verified answers and explanations. Page 1 of 2.
- Question #1Security
An Adobe Commerce developer has added an iframe and included a JavaScript library from an external domain to the website. After that, they found the following error in the console:...
Content Security Policycsp_whitelist.xmliframeexternal scripts - Question #2Security
An Adobe Commerce Developer is tasked with creating a custom form which submits its data to a frontend controller They have decided to create an action and have implemented the \Ma...
form key validationCSRF protectionfrontend controllerPOST request - Question #3Database
An Adobe Commerce developer is working on a module to manage custom brand entities and wants to replicate the following SQL query using SearchCriteria: A) B) C)
SearchCriteriarepository patterncollection filtercustom entity - Question #4Customization
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: bef...
plugin execution orderaround plugininterceptorsdi.xml - Question #5Customization
An Adobe Commerce developer adds a new extension attribute to add an array of values to the invoices that are fetched through the APIs. After a while, their technical manager revie...
extension attributesextension_attributes.xmlinterface referenceAPI extension - Question #6Customization
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...
console commandSymfony Consoleoutput formattingCLI - Question #7Infrastructure
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?
cron jobcrontab.xmlscheduled tasksmodule config - Question #8Security
Which hashing algorithm will Adobe Commerce choose to hash customer passwords?
password hashingArgon2ID13Sodium extensionSHA256 - Question #9Customization
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 re...
dependency injectiondi.xmlclass instantiationobject manager - Question #10Architectural Design
An Adobe Commerce developer has been tasked with applying a pricing adjustment to products on the website. The adjustments come from a database table. In this case, catalog price r...
price indexerlayered navigationPriceModifierInterfacecatalog price - Question #11Customization
An Adobe Commerce developer is writing an integration test. They checked some Integration Tests for Magento core modules for reference and noticed that they use data fixtures initi...
integration testsdata fixturestest annotationsmodule testing - Question #12Troubleshooting
An Adobe Commerce developer has created a before plugin for the save() function within the Magento\Framework\App\cache\Proxy class. The purpose of this plugin is to add a prefix on...
NoninterceptableInterfaceplugininterceptorscache proxy - Question #13Customization
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 thir...
observerevent dispatchsort orderevents.xml - Question #14Customization
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 develo...
PageBuildercontent typechild elementXML configuration - Question #15Deployment
An Adobe Commerce developer creates a new website using a data patch. Each website will have unique pricing by website. The developer does not have visibility into the production a...
data patchconfiguration deploymentmulti-environmentwebsite config - Question #16Troubleshooting
An Adobe Commerce developer was asked to provide additional information on a quote. When getting several quotes, the extension attributes are returned, however, when getting a sing...
extension attributesquotecollection attributeCartRepository - Question #17Customization
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...
admin configurationfile uploadCSV importsystem.xml - Question #18Customization
An Adobe Commerce developer is tasked with adding custom data to orders fetched from the API. While keeping best practices in mind, how would the developer achieve this?
extension attributesOrderInterfaceAPI pluginorder data - Question #19Customization
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 b...
CLI commandInputOptionconsole commandmodule config - Question #20Troubleshooting
An Adobe Commerce developer is working on a Magento 2 instance which contains a B2C and a B2B website, each of which contains 3 different store views for English, Welsh, and French...
locale emulationtranslationstore emulationmultilingual - Question #21Customization
An Adobe Commerce Developer wishes to add an action to a pre-existing route, but does not wish to interfere with the functionality of the actions from the original route. What must...
routingroute declarationbefore/after parametersmodule actions - Question #22Customization
An Adobe Commerce developer is asked to change the tracking level on a custom module for free downloading of pdf and images. The module contains following models: Vendor\FreeDownlo...
dependency injectiondi.xmlclass inheritanceconstructor parameters - Question #23Customization
An Adobe Commerce developer is working on a custom gallery extension. The module uses the Magento\catalog\Model\iinageUploader class for image uploading. The admin controller for c...
virtual typesdependency injectionimage uploaderdi.xml - Question #24Customization
An Adobe Commerce developer has added a new configuration field to the admin are
system.xmladmin configurationfield validationUI validation - Question #25Infrastructure
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,...
block cachingcache_keycache_lifetimefull page cache - Question #26Customization
There is the task to create a custom product attribute that controls the display of a message below the product title on the cart page, in order to identify products that might be...
EAV attributescatalog_attributes.xmlcart pageproduct attributes - Question #27Database
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 dev...
declarative schemaPatchRevertableInterfacemodule uninstalldatabase management - Question #28Database
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.)
declarative schemadatabase columnsindexidentity attribute - Question #29Customization
An Adobe Commerce developer wants to create a product EAV attribute programmatically which should appear as WYSIWYG in the admin panel. They have made sure that wysiwyg_enabled has...
EAV attributesWYSIWYGinput typeproduct attributes - Question #30Customization
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 u...
import/exportcustom entityJSON attributesdata serialization - Question #31Database
The developer is required to convert a modules database scripts from old install/upgrade setup files to a data patches format and does not want to apply database changes that were...
data patchesPatchVersionInterfacesetup scriptsmodule upgrade - Question #32Database
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 thi...
data patchesPatchRevertableInterfaceproduct attributesmodule uninstall - Question #33Customization
An Adobe Commerce developer successfully added a new column to the customers grid. This column needs the data to be formatted before showing its content in the grid. According to b...
UI componentsgrid columnspluginsdata rendering - Question #34Security
An integration named Marketing is created on the Adobe Commerce instance. The integration has access on Magento_Customer:: customer resources and the access token is xxxxxx. How wo...
REST APIintegration tokensBearer tokenAPI authentication - Question #35Security
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: Upo...
formkeyCSRF protectionorder grid exportadmin panel - Question #36Customization
An Adobe Commerce developer is tasked to add a file field to a custom form in the administration panel, the field must accept only .PDF files with size less or equal than 2 MB. So...
file uploadvirtual typesfile validationadmin forms - Question #37Customization
An Adobe Commerce developer wants to generate a list of products using ProductRepositorylnterf ace and search for products using a supplier_id filter for data that is stored in a s...
SearchCriteriaProductRepositorycustom filterscollection processor - Question #38Troubleshooting
When researching some issues with the indexer, an Adobe Commerce developer is seeing errors in the logs similar to Memory size allocated for the temporary table is more than 20% of...
indexerinnodb_buffer_poolbatch sizememory optimization - Question #39Troubleshooting
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...
product importcatalog rulesindexer performancestore configuration - Question #40Troubleshooting
When checking the cron logs, an Adobe Commerce developer sees that the following job occurs daily: main.INFO: Cron Dob inventory_cleanup_reservations is successfully finished. Howe...
inventory reservationscron jobsMSIreservation cleanup - Question #41Customization
An Adobe Commerce developer is asked to create a new payment method for their project. This project has administrators who use the backend to manage customer information and occasi...
payment methodconfig.xmlcan_use_internaladmin backend - Question #42Customization
An Adobe Commerce developer is asked to implement a 15% surcharge for all users from a 'Wholesale' customer group. Keeping best practices in mind, what is a correct to accomplish t...
customer groupprice surchargeobservercatalog_product_get_final_price - Question #43Customization
There is an integration developed using a cron service that runs twice a day, sending the Order ID to the integrated ERP system if there are orders that are able to create an invoi...
order repositoryinvoice checkcron integrationERP - Question #44Customization
An Adobe Commerce developer has created a new shipping carrier Everything has been implemented and the collectRates() and getAllowedMethodsQ functions can be seen below: Given the...
shipping carriercollectRatesshipping costhandling fee - Question #45Customization
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 Commer...
GraphQLCartItemPricesschema extensionmodule development - Question #46Troubleshooting
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:...
REST APIwebapi.xmlSwaggerintegration token - Question #47Customization
A message queue currently has queue/consumer-wait-for-messages set to true, which allows the consumer process to run until a message is inserted into the queue. A piece of function...
message queueconsumer restartPoisonPillplugin - Question #49Infrastructure
A merchant of an Adobe Commerce Cloud project wants to setup one of their websites using a subdomain. The merchant is considering the domain to be set as secondstore.example.com. I...
subdomainroutes.yamlmulti-websitemagento-vars.php - Question #50Infrastructure
What is the command used to upgrade ECE-Tools on an Adobe Commerce Cloud platform?
ECE-Toolscomposer updateupgradeAdobe Commerce Cloud - Question #51Deployment
An Adobe Commerce Cloud merchant has been experiencing significant downtime during production deployment. They have already checked that the application is in ideal state. In addit...
SCDdeployment downtimebuild phaseSCD_THREADS