Multiple Choice
How do you add a foreign key to an existing table created by another module?
A) Create etc/db_schema.xml file with the table node and constraint child node Create etc/db_schema.xml file with the table node and constraint child node
B) Run the command bin/magento setup:db-schema:upgrade <table> <constraint declaration> Run the command bin/magento setup:db-schema:upgrade <table> <constraint declaration>
C) This can only be done with raw SQL in a Schema Patch file
D) Create the etc/db_constraints.xml file and specify foreign key there in the constraint node Create the etc/db_constraints.xml file and specify foreign key there in the constraint node
Correct Answer:

Verified
Correct Answer:
Verified
Q92: A module you are working on needs
Q93: A third-party module uses a layout update
Q94: You are working on a custom web
Q95: You added a new constructor argument to
Q96: What will be the result of calling
Q97: You are writing a customization for the
Q98: You are adding a new menu item
Q99: You have been asked to display details
Q100: The module MyCompany_MyModule will add a new
Q101: How do you persist an entity to