Free AD0-E703 Exam Braindumps
Adobe Certified Expert - Magento Commerce Developer Questions 56–60 (page: 13)

Updated On: 9-Feb-2026

How do you add a foreign key to an existing table created by another module?

  1. Create etc/db_schema.xml file with the table node and constraint child node
  2. Run the command bin/magento setup:db-schema:upgrade <table> <constraint declaration>
  3. This can only be done with raw SQL in a Schema Patch file
  4. Create the etc/db_constraints.xml file and specify foreign key there in the constraint node

Answer(s): A


Reference:

https://magento.stackexchange.com/questions/192317/magento-2-how-to-add-foreign-key-in- update-schema



Which entity in Magento supports scoped attributes?

  1. Customer
  2. CMS Page
  3. Category
  4. Customer Address

Answer(s): C



A custom module must make changes to the schema following each setup:upgrade run. This must be done after all other module's schema updates have been applied.
How is this accomplished?

  1. Write a plugin intercepting \Magento\Setup\Model\Installer::handleDBSchemaData
  2. Create an UpgradeSchemaAfter class which implements InstallSchemaInterface
  3. Update the module's setup_priority in etc/modules.xml
  4. Create a Recurring class which implements InstallSchemaInterface

Answer(s): D



Which two ways does Magento persist category relationships in the database? (Choose two.)

  1. Using slash-separated values in the path field
  2. in the table catalog_category_index
  3. in the parent_id field
  4. Using comma-separated values in the parent-ids field

Answer(s): B,C



Which three scopes can be used to set different System Configuration values in Magento? (Choose three.)

  1. Language
  2. Area
  3. Store View
  4. Store
  5. Website

Answer(s): B,C,E



Viewing page 13 of 28
Viewing questions 61 - 65 out of 135 questions


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

AI Tutor AI Tutor 👋 I’m here to help!