Question 16

You are working on a module MyCompany_MyModule which adds a select attribute with a few options using the \Magento\Eav\Setup\EavSetup: :addAttribute() method in data in data install script.
There is no uninstall script. While debugging, you have uninstalled the module with the command:
bin magento module:uninstall MyCompany_MyModule
Then you reinstalled the module. What will be the effect on the attribute?
  • Question 17

    Suppose you are building an inquiry form using uicomponent. It has a feature that customer can edit the submitted data later if he wants to edit. What should the logic here to implement, in order to enable the form for re-edit:
  • Question 18

    Suppose there are 3 classes: Class A, B and C. Class C have dependecy of Class A You need to overrride/change an argument of class A, create an object of it and inject in Class B in such a way that it should not affect the class C. What should be the magento standard way to do this:
  • Question 19

    You are working on a project which uses Staging for different entities. You are considering the option to stage and rollback different entities independently. What is the scope of a Staging version in Magento?
  • Question 20

    You are reviewing a codebase and come across the following in a layout XML file:

    The project is using Varnish for full page caching. How will Magento use the 111 attribute value?