Labour Day Special - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: top65certs

Magento Certified Developer Magento-2-Certified-Associate-Developer Book

Magento 2 Certified Associate Developer Exam Questions and Answers

Question 5

You are creating a new page layout for your custom module.

What is the primary difference between container and block elements?

Options:

A.

They extend different abstract classes

B.

A container’s children are rendered automatically

C.

Only containers can be removed by name or alias

D.

A block’s position within the layout can be altered

Question 6

A Magento industry partner shipping provider has tasked you to build their integration module called MyCompany_ShippingProvider.

Where do you define the class that provides options for the select field that enables or disables the provider in the file etc/adminhtml/system.xml?

Options:

A.

Magento\Config\Model\Config\Option\Yesno

B.

Magento\Config\Model\Config\Source\Yesno

C.

Magento\Config\Model\Config\Frontend\Yesno

D.

Magento\Config\Model\Config\Backend\Yesno

Question 7

What order operation is available in the My Account section in the storefront?

Options:

A.

Edit order

B.

Refund

C.

Reorder

D.

Invoice

Question 8

You have been given the task of importing products from an external source. You decide to create a custom module to do this. The class handling the import creates a product for each record, sets the data on it and saves it to the database.

What do you inject into a constructor to represent each product you create?

Options:

A.

\Magento\Catalog\Model\Product

B.

\Magento\Catalog\Api\Data\ProductInterfaceFactory

C.

\Magento\Catalog\Api\Data\ProductInterface

D.

\Magento\Catalog\Model\ProductBuilder