Friday, December 14, 2018

Magento 2 Certified Professional Developer Practice Test


1. As you create a controller in Magento's adminhtml, you must configure it to respond appropriately to the ACL. Keeping simplicity in mind, what steps do you take to implement this?

A. 
Create a plugin to ensure that the ACL resource is accessible.
B. Check the authorization class' isAllowed method as the first check in the execute function.
C. 
Set the value of the ADMIN_RESOURCE constant to be the ACL resource.
D. 
Override _isAllowed and check the authorization class' isAllowed method for the ACL resource.

Correct Answer :  C
2. There is a product with a price of $25. The special price is $20 and is active through 2017. The tiered pricing has a discount for 2 or more products at $22.00. Additionally, a catalog price url applies a 10% off discount. What is the final price that is shown on the product page?
A. 22.50
B. 22.
C. 
20.
D. 
18.Correct Answer :  A


No comments:

Post a Comment