최신Magento 2 Certified Associate Developer - Magento-2-Associate-Developer무료샘플문제
문제1
A merchant tasked you to add an input field for notes to the Customer Account Information backend page.
Which three actions do you specify in a module's Data Patch to add a customer notes attribute? (Choose three.)
A merchant tasked you to add an input field for notes to the Customer Account Information backend page.
Which three actions do you specify in a module's Data Patch to add a customer notes attribute? (Choose three.)
정답: A,B,C
문제2
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?

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?

정답: C
문제3
You have configured an event observer to watch the checkout_submit_all_after event using this XML:

What is the required class definition for the event observer?

You have configured an event observer to watch the checkout_submit_all_after event using this XML:

What is the required class definition for the event observer?

정답: A
문제4
A custom module needs to log all calls of \Magento\Customer\Api\AddressRepositoryInterface::save().
Which mechanism do you use?
A custom module needs to log all calls of \Magento\Customer\Api\AddressRepositoryInterface::save().
Which mechanism do you use?
정답: A
문제5
How do you add a foreign key to an existing table created by another module?
How do you add a foreign key to an existing table created by another module?
정답: D
설명: (KoreaDumps 회원만 볼 수 있음)
문제6
What is the connection between product attribute sets and categories?
What is the connection between product attribute sets and categories?
정답: D
문제7
Assume that $collection is a new instance of a class that extends
Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection, and $ids is an array of ids.
How do you select a list of records from the database where the record ids are in the $ids list?

Assume that $collection is a new instance of a class that extends
Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection, and $ids is an array of ids.
How do you select a list of records from the database where the record ids are in the $ids list?

정답: B
문제8
You are working on a Magento store which will be selling in two countries. Each country has its own set of payment methods.
How do you organize the project to support this requirement?
You are working on a Magento store which will be selling in two countries. Each country has its own set of payment methods.
How do you organize the project to support this requirement?
정답: A
문제9
A third-party module uses a layout update that changes the template path for a core block from product/view/addto/compare.phtml of the Magento_Catalog module to custom/view/addto/compare.phtml of your custom module. The merchant has a customized version of this template in their custom theme.
What is a consequence of this setup?
A third-party module uses a layout update that changes the template path for a core block from product/view/addto/compare.phtml of the Magento_Catalog module to custom/view/addto/compare.phtml of your custom module. The merchant has a customized version of this template in their custom theme.
What is a consequence of this setup?
정답: D
문제10
Your module adds a new controller class which will return a JSON response.
What will be the return type of the execute method?
Your module adds a new controller class which will return a JSON response.
What will be the return type of the execute method?
정답: A