<< Prev Question Next Question >>

Question 3/36

You are writing a customization for the customer module. You need to make sure the configuration files from your module are loaded after the customer module's configuration.
Where should the dependency be declared?

Recent Comments (The most recent comments are at the top.)

Stas Potapenko - Aug 06, 2022

But based on the doc https://developer.adobe.com/commerce/php/development/build/component-load-order/
You may need to specify your component's dependency on other components or files from other components using your component's composer.json. Further, you can specify a load order in your component's module.xml file using the <sequence> tag to ensure that needed files from other components are already loaded when your component loads.
...

If you do specify a component in <sequence>, make sure that you have also added it to the require section in that component's composer.json file.

So seems correct answer should be: A and B (multi-choise)

LEAVE A REPLY

Your email address will not be published. Required fields are marked *

Question List (36q)
Question 1: How can you access the select query of a collection?...
Question 2: How many shipping addresses may be selected for an order dur...
1 commentQuestion 3: You are writing a customization for the customer module. You...
1 commentQuestion 4: You have created a module controller that responds to the fo...
Question 5: Which two tasks are supported by Magento CLI? (Choose two.)...
Question 6: A module you are working on needs to send a newsletter to al...
Question 7: You need to find all orders in the processing state. You hav...
Question 8: Where do you change the frontName for the admin router?...
Question 9: Magento allows you to specify custom values per store for pr...
Question 10: A merchant asks you to extend customer functionality to allo...
Question 11: You are debugging a problem resulting from a recently deploy...
1 commentQuestion 12: Which two ways does Magento persist category relationships i...
Question 13: You are building a report using complex SQL aggregations to ...
Question 14: A module declares the route: (Exhibit) What is the layout ha...
Question 15: While reviewing a layout file named sales_order_view.xml you...
Question 16: Which method of a Magento resource model will remove a recor...
Question 17: You want to declare a block of the type \Magento\Framework\V...
Question 18: A module you are developing requires the addition of new rou...
Question 19: You are creating a new page layout for your custom module. W...
Question 20: How can you render a text on a page using only layout xml? (...
Question 21: A merchant sells shoes with multiple variations such as a co...
Question 22: You are working on a project that contains a million SKUs. T...
Question 23: You have created a module with a custom ACL resource and wan...
Question 24: You are working on a Magento store which will be selling in ...
Question 25: Assume that a customer's cart only includes one downloadable...
Question 26: The module MyCompany_MyModule will add a new page to the adm...
Question 27: You are adding a new entry to the backend menu that appears ...
Question 28: You are developing a module MyCompany_StoreInfo to display i...
Question 29: You have loaded an instance of Magento\Catalog\Model\Product...
Question 30: You are developing a new theme which inherits from the Magen...
Question 31: Assume that $collection is a new instance of a class that ex...
Question 32: A third-party module uses a layout update that changes the t...
Question 33: A custom module must make changes to the schema following ea...
Question 34: What order operation is available in the My Account section ...
Question 35: In a custom module you are adding a new field to the store c...
Question 36: What will be the result of calling the save() method on a co...