Spring Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: buysanta

Exact2Pass Menu

Magento 2 Certified Associate Developer Exam

Last Update 23 hours ago Total Questions : 103

The Magento 2 Certified Associate Developer Exam content is now fully updated, with all current exam questions added 23 hours ago. Deciding to include Magento-2-Certified-Associate-Developer practice exam questions in your study plan goes far beyond basic test preparation.

You'll find that our Magento-2-Certified-Associate-Developer exam questions frequently feature detailed scenarios and practical problem-solving exercises that directly mirror industry challenges. Engaging with these Magento-2-Certified-Associate-Developer sample sets allows you to effectively manage your time and pace yourself, giving you the ability to finish any Magento 2 Certified Associate Developer Exam practice test comfortably within the allotted time.

Question # 11

Which entity in Magento supports scoped attributes?

A.

Customer

B.

CMS Page

C.

Category

D.

Customer Address

Question # 12

You are setting up a brand new Magento installation for a merchant who is migrating from Magento 1 to Magento 2.

Keeping in mind upgradability and the need to customize, which one do you choose?

A.

Create a new Magento instance using composer create-project

B.

Clone the magento/magento2 GitHub repository

C.

Run php bin/magento setup:migrate < path-to-m1-installation > < new-version > command

D.

Create a new Magento instance by using the bin/magento install command

Question # 13

You are working on a custom web API endpoint and have configured it in etc/webapi.xml. This config is cached as part of the config_webservice cache type.

Keeping performance in mind, how do you refresh the cached version of this config using Magento CLI?

A.

cache:clean config_webservice

B.

cache:refresh config_webservice

C.

cache:flush

D.

cache:purge

Question # 14

You are building a report using complex SQL aggregations to locate the required data.

In what type of class do you put these SQL statements?

A.

Resource model

B.

Repository

C.

Model

D.

Helper

Question # 15

What scopes are available for customer attributes?

A.

Global only

B.

Website only

C.

Global and Website

D.

Global, Website and Store

Question # 16

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 two separate line items with quantity 1 each

B.

As one line item which lists both configurable products with quantity 1 each

C.

As one line item of the first product with quantity 2

D.

As one line item of the second product with quantity 2

Question # 17

You are working on a new entity called vendor. You implemented the model, resource model and collection. You want to ensure that standard model events will be fired for your model, so an observer can be created for the events vendor_save_after, vendor_save_commit_after and others.

How do you do that?

A.

Create an entry in etc/di.xml and add the argument eventPrefix with the value of vendor

B.

Declare the $_eventPrefix property in your vendor model and set it to vendor

C.

You must implement all appropriate methods and fire the events manually

D.

Ensure that the primary key in the corresponding table is named vendor_id

Question # 18

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 block, add a method with the following:return ObjectManager::getInstance()- > get(OrderRepositoryInterface::class);

D.

In your template, add the following:$orderRepository = new OrderRepository();

Question # 19

A module you are working on needs to send a newsletter to all subscribed customers at predefined intervals.

Which two actions do you take to make sure the newsletter is sent? (Choose two.)

A.

Implement \MyCompany\MyModule\Cron\NewsLetterSender::execute and register it in etc/crontab/di.xml

B.

Implement \MyCompany\MyModule\Cron\NewsLetterSender::execute and register it in etc/crontab/.xml

C.

Make sure bin/magento cron:run is added to the system crontab

D.

Register the plugin for \Magento\Customer\Model\Customer::authenticate in etc/crontab.xml

Question # 20

You are adding a new menu item to the admin backend which will link to a custom backend page.

The declaration of the route:

What do you specify as the menu item action attribute value so it links to /admin/mycompany/mymodule/?

A.

action=”adminhtml/mycompany/mymodule/”

B.

action=”admin/mycompany/mymodule/”

C.

It is not possible without extending the adminhtml route in routes.xml

D.

action=”mycompany/mymodule/”

Go to page: