A developer defined a new table in db.schema.xml while creating a new module.What should be done to allow the removal of columns from the database when deleting them from db.schema.xml?
Answer(s): A
If a developer wants to allow the removal of columns from the database when deleting them from db.schema.xml, they need to define the removable columns in the db_schema_whitelist.json file. This file will tell Magento which columns can be removed from the database.
Which attribute option restricts Catalog EAV attributes to only certain product types?
Answer(s): C
The allowed_in attribute restricts Catalog EAV attributes to only certain product types. This attribute can be used to prevent certain attributes from being displayed on certain product types.
Which two methods add sorting to collections inherited from the \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection class? (Choose two.)
Answer(s): A,D
The two methods that add sorting to collections inherited from the\Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection class are setOrder and addOrder. These methods allow adding one or more order clauses to a collection query.The setSorting and addSorting methods do not exist in Adobe Commerce.
[Adobe Commerce Developer Guide - Collections]
The value of a product attribute in the Adobe Commerce system needs to have a different format before it is displayed.Which attribute model class is responsible for this?
The frontend attribute model class is responsible for formatting the value of a product attribute before it is displayed on the storefront. This class can implement methods such as getValue, getLabel, getInputType, and getOptionText to modify the attribute value.The backend attribute model class is responsible for saving and loading the attribute value to and from the database. The source attribute model class is responsible for providing the list of options for an attribute.
[Adobe Commerce Developer Guide - Attribute models]
Post your Comments and Discuss Adobe AD0-E717 exam with other Community members:
Christine commented on November 06, 2024 Good for practice Anonymous upvote
Xiching commented on August 20, 2024 Thank you for publishing these questions. I assisted me to pass my exam. China upvote
Our website is free, but we have to fight against bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the AD0-E717 content, but please register or login to continue.