You are developing a new payment method. It is required that any new order created with this payment method needs to have a specific custom status. Assume the status has been added to the system already, assigned to the processing state, and the new order state for the payment method is processing. How do you set the custom status on orders placed with the new payment method?
Answer : C
OrangeCompany decided to build a REST API based module in the application so that he can share the details of best-selling products to his franchisee. To make it's flexible and customizable in the future, he advised his developers to enable the support of extension_attribute in the API interface so that any new attributes can be added when required. What is the way to enable the entity/interface to support extension attributes in the module?
Answer : D
A furniture merchant have 100k products in the store. In a custom product list page, he advised you to enable the caching as per user paginate the products. So what should the approach to cache the block data as per pagination request:
Answer : B
While debugging a problem with a scheduled product update, you want to get a list of products that are scheduled for the next update. How does Magento Staging store scheduled entities?
Answer : D
Suppose you are building an inquiry form using uicomponent. It has a feature that customer can edit the submitted data later if he wants to edit. What should the logic here to implement, in order to enable the form for re-edit:
Answer : D
Suppose you need to add a custom css file in layout XML in such a way that it should load asynchronously to improve the page load performance. What is the correct attribute for this:
Answer : B
You need to build a custom module to add a notice to the Advanced Inventory section on the product form. The notice text can be specified in the system configuration. How do you implement this?
Answer : D