The constructor function for \Magento\Catalog\Model\Category contains this excerpt:

With the automatic dependency injection that Magento provides, how is the StoreManagerInterface resolved?
A. Magento looks to the di.xml files in the entire system for a preference node for
\Magento\Store\Model\StoreManagerInterface. This class is constructed and injected
B. If no $storeManager is provided, Magento's code generator creates a shell concrete class based on
\Magento\Store\Model\StoreManagerInterface
C. Magento finds all classes that implement \Magento\Store\Model\StoreManagerInterface (ordered alphabetically) and injects the first class.
D. Magento throws an exception because you cannot instantiate an interface
正解:A
解説: (Pass4Test メンバーにのみ表示されます)
質問 2:
What order operation is available in the My Account section in the storefront?
A. Edit order
B. Reorder
C. Invoice
D. Refund
正解:B
質問 3:
What is the connection between product attribute sets and categories?
A. Each category is linked to a single product attribute set, and only products from that attribute set are allowed in the category
B. Categories have no connection to product attribute sets, and any product can be assigned to any category
C. Each category is linked to a single product attribute set, and only products from that category's set or any of its parent categories'
D. Categories can be connected to multiple product attribute sets, and only products from one of those sets are allowed in the category
正解:B
質問 4:
How can you access the select query of a collection?
A. You can only access the select query after the collection has been loaded by calling the public method query()
B. You can get it by using public method getSelect() which returns an instance of Magento\Framework\DB\Select
C. It is stored in a protected variable $query and can only be accessed from the inside of a collection class
D. The select query is not available in the collection class, it will be generated by the MySQL adapter right before executing a query
正解:B
質問 5:
You have created a module controller that responds to the following URL: /mycompany/product/load/id/123.
Which two methods will load the product model by ID as specified in the URL? (Choose two.)
A. \Magento\Catalog\Model\ResourceModel\Product::load($productModel, $id)
B. \Magento\Catalog\Model\ResourceModel\Product\Collection::fetchItemById($id)
C. \Magento\Catalog\Model\ResourceModel\Product\Collection::load()->fetchById($id)
D. \Magento\Catalog\Api\ProductRepositoryInterface::getById($id)
正解:C,D
質問 6:
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. As one line item of the second product with quantity 2
B. As one line item of the first product with quantity 2
C. As two separate line items with quantity 1 each
D. As one line item which lists both configurable products with quantity 1 each
正解:C
1118 お客様のコメント





末*遥 -
友達の大部分はAD0-E702試験に合格しないので、私が合格したことに信じられない。何か手伝いを見つけるべきると思う。
だから、AD0-E702問題集を購入した。点数に満足します。本当にありがとうございます!