Free AD0-E703 Exam Braindumps (page: 5)

Page 4 of 34

How does Magento store customer address attribute values?

  1. Customer address is a flat entity, so all values are stored in the customer_address_entity table
  2. Customer address is not an entity, so its properties are customer attributes
  3. Customer address is an attribute of the customer, so it doesn't have its own attributes
  4. Customer address is an EAV entity, so all values are stored in the customer_address_entity table and related values tables

Answer(s): 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?

  1. Create a etc/db_schema.xml file in your module, add the column and run bin/magento setup:upgrade
  2. Create a etc/db.xml file in your module, add the column and run bin/magento setup:db- schema:upgrade
  3. Run a command: bin/magento setup:db-schema:upgrade <table> <column definition>
  4. Create a etc/db_schema_whitelist.json file in your module, add the column and run bin/magento setup:upgrade

Answer(s): A



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?

  1. Use the Magento CLI to create a new custom attribute, then generate dictionaries for all supported languages
  2. Use a Data Patch to create a new EAV attribute
  3. Add a new column to the catalog_product_entity table using declarative schema
  4. Use the admin panel to create a new extension attribute

Answer(s): 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?

  1. If the custom module is removed, the custom template will no longer apply
  2. This setup will throw an IllegalStateException
  3. If a preference for the core block is set, the template will no longer apply
  4. If another module is installed which also customizes the same core template, the templates will be rendered sequentially

Answer(s): A






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

AD0-E703 Discussions & Posts