Free AD0-E717 Exam Braindumps (page: 2)

Page 2 of 20

How can a developer prioritize a plugin's execution, if possible?

  1. The developer can use sortOrder property by specifying a lower value than the target plugin.
  2. The developer can use sortOrder property by specifying a higher value than the target plugin.
  3. This cannot be achieved as the plugins are always executed by their module's load order in app/etc/config.php file.

Answer(s): B

Explanation:

To prioritize a plugin's execution, a developer can use the sortOrder property and specify a higher value than the target plugin. For example, if the developer wants to prioritize a plugin named MyPlugin over a plugin named OtherPlugin, they would add the following code to the etc/config.php file:

'modules' => [

'Vendor_MyPlugin' => [

'sortOrder' => 100,

],

'Vendor_OtherPlugin' => [

'sortOrder' => 50,

],

],

This would ensure that MyPlugin is always executed before OtherPlugin.



In which two directories are third-party modules located by default? (Choose two.)

  1. vendor/
  2. app/packages/
  3. app/modules/
  4. app/code/

Answer(s): A,D

Explanation:

By default, third-party modules are located in vendor/ or app/code/ directories. The vendor/ directory contains modules that are installed using Composer, while the app/code/ directory contains modules that are manually copied or cloned from a repository.



What does a URL Rewrite do?

  1. It updates the URL that is stored on the server.
  2. It changes the way a URL appears in the browser
  3. It updates the URL to a domain that is not being Indexed.

Answer(s): B

Explanation:

A URL rewrite changes the way a URL appears in the browser. For example, a URL rewrite could be used to change the URL for a product from /product/1234 to /product/my-product.



Which file is used to add a custom router class to the list of routers?

  1. routes.xml
  2. di.xml
  3. config.xml

Answer(s): A

Explanation:

The routes.xml file is used to define the list of routers for Adobe Commerce. A custom router class can be added to the list of routers by adding a new entry to the routes.xml file.



Page 2 of 20



Post your Comments and Discuss Adobe AD0-E717 exam with other Community members:

Christine commented on November 06, 2024
Good for practice
Anonymous
upvote

Xiching commented on August 20, 2024
Thank you for publishing these questions. I assisted me to pass my exam.
China
upvote