You are reviewing a codebase and come across the following in a layout XML file:
The project is using Varnish for full page caching. How will Magento use the 111 attribute value?
Answer : C
On a merchant website you inherit an extension that allows customers to rate products. The extension adds two integer attributes to store the rating values, avg_rating and rating_count. The merchant reports an issue that the displayed average is lower than it should be. You determine you need to change the avg_rating attribute backend typetodecim to fix the issue.
In your module's Data Patch script, which three steps do you take to change the attribute backend type?
A)
B)
C)
D)
E)
Answer : B, C, E
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?
Answer : A
The merchant asked you to implement an order review step on the checkout after the payment step. Which problem do you need to resolve?
Answer : D
You are creating a module lo enable customers to attach an image file to the quote items while adding a product to the cart. To save development time, you want to build on top of functionality provided by the class \Magento\Catalog\Model\ImageUploader as much as possible.
The class constructor signature is:
What do you do to process the uploaded file?
Answer : D
Magento regenerates the admin URL secret key for each new session. What is the purpose of this key?
Answer : C
You have a requirement to customize the Product Detail Page so users can enter their ID in a custom field and get a personalized price. The user has to see the lower of the personalized and the Magento price.
Which two actions do you take to enable the personalized price on the Product Detail Page and the checkout?
Answer : B, C