Question 51
An Adobe Commerce developer is developing a custom module. As part of their implementation they have decided that all instances of their Custom\Module\Model\Example class should receive a new instance of Magento\Filestem\adapter\local.
How would the developer achieve this using di. xml?
A)

B)

C)

How would the developer achieve this using di. xml?
A)

B)

C)

Question 52
An Adobe Commerce developer added a new API method to search and retrieve a list of Posts for a custom Blog functionality. This is the content of the module's etc/webapi.xml file:
The new code has been deployed to production and the merchant is using https:
//merchant.domain.com/swagger to review the new endpoint, but it is not visible in swagger.
What would be a reason for this?
The new code has been deployed to production and the merchant is using https:
//merchant.domain.com/swagger to review the new endpoint, but it is not visible in swagger.
What would be a reason for this?
Question 53
An Adobe Commerce developer is asked to restrict access onboth the admin menu item Custom_Reports:
:Financial and the admin pagecustomreport/financial/index attached to the menu. The developer has added the resource Customreports/financial in etc/ael.xml. and the following code on etc/adninhtml/nenu.xml :

Given that const ADMIN_RESOURCE was NOT set on the controller of customreports-financial/index and the secret key is not enabled in the URL which users can access the page?
:Financial and the admin pagecustomreport/financial/index attached to the menu. The developer has added the resource Customreports/financial in etc/ael.xml. and the following code on etc/adninhtml/nenu.xml :

Given that const ADMIN_RESOURCE was NOT set on the controller of customreports-financial/index and the secret key is not enabled in the URL which users can access the page?
Question 54
There are two different configurable products which both share one variation. The shared variation is represented by the same simple product.
A customer added both configurables to the cart with the same selected variation?
How will they be displayed?
A customer added both configurables to the cart with the same selected variation?
How will they be displayed?
Question 55
You want to declare a block of the type \Magento\Framework\View\Element\Template with a template named view.phtml in the layout XML.
What is the correct layout declaration for this?

What is the correct layout declaration for this?
