| Sno. | Question | Options | Marks |
|---|---|---|---|
| 1. | Which of the following is NOT a valid plugin method type in Magento 2? |
(a). before method (b). around method (c). after method (d). replace method |
-0 |
| 2. | Which of the following correctly describes a ViewModel in Magento 2? |
(a). A helper class for templates defined via layout.xml (b). A block class replacement for controllers (c). A data provider for UI components only (d). A frontend model for product attributes |
1 |
| 3. | Which method type in a plugin allows you to modify both the arguments before execution and the return value after execution? |
(a). before method (b). after method (c). around method (d). All of the above |
-0 |
| Total Marks:1/3 | Percentage:33.333333333333% | ||