Weekend Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: Board70

Magento-2-Certified-Associate-Developer Exam Dumps - Magento Certified Developer Questions and Answers

Question # 4

You have to install a new module on the production environment. All the module is adding a new product attribute. You enabled maintenance mode, copied the module code, run bin/magento setup:upgrade and disabled maintenance mode.

What two risks does this process pose? (Choose two.)

Options:

A.

It will clean all caches which will cause a performance degradation

B.

The new attribute will be invisible on the storefront until the cache is cleaned manually

C.

It will void all active sessions

D.

It will clean static assets from the pub/static folder

Buy Now
Question # 5

What happens when a category’s is_anchor attribute is set to 1?

Options:

A.

Products without a specified category will be associated with this category

B.

The customer will see all products from all children of the category

C.

This is the default category for a website

D.

The category will always be visible in the menu

Buy Now
Question # 6

A custom module needs to log all calls of \Magento\Customer\Api\AddressRepositoryInterface::save().

Which mechanism do you use?

Options:

A.

An observer on the customer_address_repository_save event, which is automatically fired for every repository save

B.

A proxy configured to intercept all calls to any public method and log them

C.

An extension attribute configured in the extension_attributes.xml

D.

A plugin declared for the save() method

Buy Now
Question # 7

What is the difference between online and offline shipping methods?

Options:

A.

Online means that a shipment will have a tracking number, and offline means no tracking numbers are available

B.

Online means Magento will use a shipping carrier’s API to obtain rates, offline means Magento will calculate the rates internally

C.

Online means that an item’s shipping will be processed by the merchant, offline means that it will be processed by the customer

D.

Online means that it will be sent to the customer using a shipping carrier, offline means the customer will pick up the order in person

Buy Now
Question # 8

You are adding a new entry to the backend menu that appears after

Marketing > SEO & Search > Site Map

You see the existing site map menu item is declared by the node:

What two actions do you take to configure the new menu entry location? (Choose two.)

Options:

A.

Specify item XML in the file etc/adminhtml/menu/marketing/seo/menu.xml

B.

Specify parent=”Magento_Sitemap::catalog_sitemap”

C.

Specify parent=”Magento_Backend::marketing_seo”

D.

Specify sortOrder=”100”

Buy Now
Question # 9

Your module, MyCompany_MyModule, is using the frontName mymodule. You need to locate the class responsible for the frontend path /mymodule/custom.

What file contains the controller class for the frontend path /mymodule/custom?

Options:

A.

Controller/Custom/Index.php

B.

Controller/Custom.php

C.

Controller/MyModule/Custom/Index.php

D.

Controller/Frontend/MyModule/Custom.php

Buy Now
Question # 10

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/?

Options:

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/”

Buy Now
Question # 11

You are developing a module and need to add another column to a table introduced by another module MyCompany_MyModule via db schema.

How do you do that?

Options:

A.

Create a etc/db_schema.xml file in your module, add the column and run bin/magento setup:upgrade

B.

Create a etc/db.xml file in your module, add the column and run bin/magento setup:db-schema:upgrade

C.

Run a command: bin/magento setup:db-schema:upgrade

D.

Create a etc/db_schema_whitelist.json file in your module, add the column and run bin/magento setup:upgrade

Buy Now
Question # 12

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.)

Options:

A.

$cache->clean([‘eav’, ‘db_ddl’]);

B.

$customerSetup->addAttribute(‘customer’, ‘notes’, $options);

C.

$customerSetup->getConnection()->addColumn(‘customer_entity’, ‘notes’, $columnSpecs);

D.

$notesAttribute->setData(‘used_in_forms’, [‘adminhtml_customer’]);

E.

$customerSetup->addAttributeToSet(‘customer’, $attributeSetIdCustomer, $groupId, ‘notes’);

Buy Now
Question # 13

The module MyCompany_MyModule will add a new page in the admin interface to display a custom entity in a grid.

You created a controller for this grid \MyCompany\MyModule\Controller\Adminhtml\CustomEntity\Index

Which two actions are required to make the new page accessible at the https://your.store.base.url/admin/my_module/custom_entity URL? (Choose two.)

Options:

A.

Register my_module route for the AdminRouter in MyCompany/MyModule/etc/adminhtml/di.xml

B.

Create a new menu item in MyCompany/MyModule/etc/adminhtml/menu.xml

C.

Specify the my_module/custom_entity URL using a @route annotation in the action controller execute() method

D.

Register my_module route in MyCompany/MyModule/etc/adminhtml/routes.xml

Buy Now
Exam Name: Magento 2 Certified Associate Developer Exam
Last Update: Feb 22, 2025
Questions: 103
Magento-2-Certified-Associate-Developer pdf

Magento-2-Certified-Associate-Developer PDF

$25.5  $84.99
Magento-2-Certified-Associate-Developer Engine

Magento-2-Certified-Associate-Developer Testing Engine

$28.5  $94.99
Magento-2-Certified-Associate-Developer PDF + Engine

Magento-2-Certified-Associate-Developer PDF + Testing Engine

$40.5  $134.99