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-E704 Topic 13 Question 59 Discussion

Actual exam question for Adobe's AD0-E704 exam
Question #: 59
Topic #: 13
[All AD0-E704 Questions]

You are working on a module MyCompany_MyModule which adds a select attribute with a few options using the \Magento\Eav\Setup\EavSetup: :addAttribute() method in data in data install script.

There is no uninstall script. While debugging, you have uninstalled the module with the command:

bin magento module:uninstall MyCompany_MyModule

Then you reinstalled the module. What will be the effect on the attribute?

Show Suggested Answer Hide Answer
Suggested Answer: D

Contribute your Thoughts:

Tonette
7 days ago
I think the attribute will be updated if the options differ. The module should be able to handle changes to the attribute configuration.
upvoted 0 times
...
Essie
12 days ago
The attribute will be deleted and created again. This makes sense since there is no uninstall script to properly handle the removal of the attribute.
upvoted 0 times
...
Celia
19 days ago
I'm not sure, but I think a duplicate attribute will be created with a different attribute code.
upvoted 0 times
...
Amber
20 days ago
I believe the attribute remains the same but the attribute options will be duplicated.
upvoted 0 times
...
Jacki
24 days ago
I think the attribute will be deleted and created again.
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