You have to install a new module on the production environment. All the module is adding a new
product attribute. You enabled maintenance mode, copied the module code, run bin/magento
setup:upgrade and disabled maintenance mode.
What two risks does this process pose? (Choose two.)
B,C
Magento 2’s architecture uses code to bootstrap a custom module that resides in app/code.
What two files are required to make a module usable? (Choose two.)
C,D
How does Magento store customer address attribute values?
D
You are developing a module and need to add another column to a table introduced by another
module MyCompany_MyModule via db schema.
How do you do that?
C
You need to add a new text attribute to all products in the Magento store. When this attribute is
displayed on the product page, its values must be different depending on the selected language.
Keeping simplicity in mind, how do you add this attribute?
D
A third-party module uses a layout update that changes the template path for a core block from
product/view/addto/compare.phtml
of
the
Magento_Catalog
module
to
custom/view/addto/compare.phtml of your custom module. The merchant has a customized version
of this template in their custom theme.
What is a consequence of this setup?
A
You are adding a child node to the product.info block using the XML:
How will this block be rendered?
B
You are implementing a before plugin in MyCompany_Magic. It will intercept the same method that
MyCompany_Admission is already intercepting using a before plugin: Topmenu::getBlockHtml
Which two actions are required to ensure the new plugin will execute last? (Choose two.)
C,D
In the module located at app/code/MyCompany/MyModule there is a JS module in the file
view/frontend/web/register.js. The Magento base URL is https://magento.host/ and the luma theme
with the en_US locate is used.
What is the public URL for this file?
A
During a code review of a module MyCompany_PaymentCurrencies you see a configuration field
declared in the file etc/adminhtml/system.xml:
What is the consequence of the attribute showInStore being set to 0?
B