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
質問 2:
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
質問 3:
What is a valid use case for an around plugin?
A. The execution of the pluginized method must be suppressed
B. The arguments of the after plugins must be modified
C. The execution of the before and after plugins must be suppressed
D. The arguments of the before plugins must be modified
正解:C
質問 4:
You have created a module with a custom ACL resource and want to restrict access to resources of your module.
Which three items are restricted based on ACL role permissions? (Choose three.)
A. Storefront login
B. Webapi resources
C. CLI Commands
D. Adminhtml controllers
E. System configuration sections
正解:B,D,E
質問 5:
A client has asked you to include category url keys in product URLs.
How is this done?
A. Set the configuration value of catalog/seo/product_use_categories to Yes
B. This is not possible because products can belong to multiple categories
C. Create an observer for controller_action_postdispatch_catalog_product_view
D. Create an after plugin on \Magento\UrlRewrite\Controller\Router::generateRewrite
正解:A
質問 6:
Which entity in Magento supports scoped attributes?
A. Customer
B. CMS Page
C. Category
D. Customer Address
正解:C
質問 7:
You have been asked to display details from the customer's latest order on the customer's account dashboard (customer/account/). You create a new custom template to show the information.
How do you obtain an order repository so you can fetch an order?
A. Create a view model and specify an OrderRepositoryInterface argument in the _construct method
B. In your template, add the
following:$orderRepository=ObjectManager::getInstance()->get(OrderRepositoryInterface::class);
C. In your template, add the following:$orderRepository = new OrderRepository();
D. In your block, add a method with the following:return
ObjectManager::getInstance()->get(OrderRepositoryInterface::class);
正解:A
質問 8:
How do you add a new link into the My Account sidebar?
A. By creating a new UI component
B. By adding the new section into the customer_account table in the database
C. By creating a child of the My Account UI component
D. By using a layout update
正解:D
Hasebe -
内容はまあまあ分かりやすいんです。このAD0-E702問題集で殆ど十分だと思われます。