exam questions

Exam AD0-E717 All Questions

View all questions & answers for the AD0-E717 exam

Exam AD0-E717 topic 1 question 12 discussion

Actual exam question from Adobe's AD0-E717
Question #: 12
Topic #: 1
[All AD0-E717 Questions]

In a new release of a module, a developer decides to rename a table that was defined in the earlier versions.
Which action, if any, allows the developer to prevent data loss?

  • A. Define onCreate=“migrateDataFromAnotherTable(old_table_name)” attribute in the table tag.
  • B. Declarative schema supports ‘RENAME TABLE’, so the data will be migrated to the new table automatically.
  • C. Define the table and columns mapping in the db_schema_whitelist.json.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
rofibim897
Highly Voted 1 month, 3 weeks ago
the correct answer should be A. Define onCreate=“migrateDataFromAnotherTable(old_table_name)” attribute in the table tag. from magento documentation " Renaming a table via RENAME TABLE is NOT supported. To migrate data from another table, specify the onCreate attribute on the table declaration, and add specify the source table name: onCreate="migrateDataFromAnotherTable(catalog_category_entity)" " source: https://developer.adobe.com/commerce/php/development/components/declarative-schema/configuration/#rename-a-table
upvoted 5 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago