Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Adobe Exam AD0-E717 Topic 10 Question 47 Discussion

Actual exam question for Adobe's AD0-E717 exam
Question #: 47
Topic #: 10
[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?

Show Suggested Answer Hide Answer
Suggested Answer: C

When renaming a table in Magento, to prevent data loss, the developer must define the table and its columns mapping in the db_schema_whitelist.json file. This declarative schema approach ensures that the data migration tool knows about the changes and can migrate data from the old table to the newly named table without losing any data.


Contribute your Thoughts:

Luisa
24 hours ago
Option B is the way to go. Declarative schema is the future, and it should handle this kind of migration seamlessly.
upvoted 0 times
...
Sabrina
1 months ago
I'm not sure, but I think option A could also work if the developer ensures data migration is handled properly in the onCreate function.
upvoted 0 times
...
Francesco
1 months ago
I agree with Caprice, option B seems like the safest option to prevent data loss during the table renaming process.
upvoted 0 times
...
Caprice
1 months ago
I think option B is the best choice because it supports renaming the table without losing data.
upvoted 0 times
...
Nenita
1 months ago
Haha, Option A is hilarious! Migrating data from another table? That's just asking for trouble.
upvoted 0 times
...
Stephanie
1 months ago
I think Option C is the way to go. Defining the table and column mapping is a more reliable way to handle schema changes.
upvoted 0 times
Tasia
4 days ago
Defining the mapping in the JSON file can help ensure smooth data migration.
upvoted 0 times
...
Luann
28 days ago
I think using db.schema_whitelist.json is a good practice for preventing data loss.
upvoted 0 times
...
Aron
1 months ago
I agree, Option C seems like the most reliable choice.
upvoted 0 times
...
...
Kirk
2 months ago
Option B seems correct, but I'm not sure if it's supported in all database systems.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77