exam questions

Exam AD0-E718 All Questions

View all questions & answers for the AD0-E718 exam

Exam AD0-E718 topic 1 question 8 discussion

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

A company has an Adobe Commerce store. An attribute named “my_attribute” (type “text”) is created to save each product’s global ID that is shared between multiple systems.
Several months after going live, the values of “my_attribute” are all integer. This causes a problem for the other systems when those systems receive this data.
An Adobe Commerce Architect needs to recommend a solution to change the type of “my_attribute” from text to int.
Which two steps should the Architect take to achieve this? (Choose two.)

  • A. Migrate data from table “catalog_product_entity_text” to “catalog_product_entity_int” for the attribute_id
  • B. Go to Admin > Stores > Attributes > Product, edit “my_attribute” and update type from “text” to "int"
  • C. Write a plugin for \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBackend::afterLoad() and load data from “catalog_product_entity_int”
  • D. Create a Data Patch and update “my_attribute” type from “text” to “int”
  • E. Run the command bin/magento indexer:reset catalog_product_attribute
Show Suggested Answer Hide Answer
Suggested Answer: BD 🗳️

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
[Removed]
1 year, 4 months ago
A and D. If you change attribute type the data of this attribute will be lost since it remains in the old type table. To make it available in new type table you should perform a data migration
upvoted 1 times
...
abhilash198
1 year, 7 months ago
D and E should be the answer
upvoted 1 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