Pass4itsure > Adobe > Adobe Magento Commerce > AD0-E703 > AD0-E703 Online Practice Questions and Answers

AD0-E703 Online Practice Questions and Answers

Questions 4

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

Which mechanism do you use?

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
Questions 5

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. If the custom module is removed, the custom template will no longer apply

B. This setup will throw an IllegalStateException

C. If a preference for the core block is set, the template will no longer apply

D. If another module is installed which also customizes the same core template, the templates will be rendered sequentially

Buy Now
Questions 6

You are creating a new indexer which must run after the targetrule_product_rule index process. When you run bin/magento indexer:reindex, your rule always runs first creating inaccurate data. What is the resolution?

A. Use a dependencies node in your indexer configuration.

B. Specify the sortOrder in your indexer configuration.

C. Use a plugin on the IndexManager class to change load order.

D. Create a bash script to execute each indexer in the correct order.

Buy Now
Questions 7

You are working on a project that contains a million SKUs. The merchant has requested the product view page to have a custom color schema and page layout depending on the product price range.

How do you implement this, keeping simplicity in mind?

A. Create a custom block which will dynamically choose the appropriate template

B. Specify custom layout update XML in the admin panel for every product

C. Write a Data Patch which will set the appropriate layout update XML for every product record

D. Enable the dynamic product page UI component and configure it to use a different layout per price range

Buy Now
Questions 8

You have created a new block and will be adding this block on every page. The block contains user-specific information and cannot be cached. The block is added to the default.xml with:

What does this accomplish?

A. The block will be loaded on the store front using AJAX

B. FPC will cache the block content for all cacheable pages

C. FPC will be bypassed for this block and all other page content will be cached

D. All store front pages are no longer cacheable

Buy Now
Questions 9

You are building CLI that use the console to create a customer account with our custom command as like

php bin/magento customer:user:create --customer-firstname="Mahin" --customer- lastname="Rahman" -customer-email="[email protected]" --customer- password="mahin@123" --website="1"

using: protected function configure() { $this->setName('customer:user:create') - >setDescription('Create new customer') ->setDefinition($this->getOptionsList()); } protected function getOptionsList(){ return [------------------]; }

Which below Option are not required in blank? (Choose 2)

A. new InputOption(Customer::KEY_SENDEMAIL, 0, InputOption::VALUE_OPTIONAL, '(1/0) Send email? (default 0)')

B. new InputOption(Customer::KEY_STORE, null, InputOption::VALUE_REQUIRED, '(Required) Store ID'),

C. new InputOption(Customer::KEY_PASSWORD, null, InputOption::VALUE_REQUIRED, '(Required) Customer password'),

D. new InputOption(Customer::KEY_EMAIL, null, InputOption::VALUE_REQUIRED, '(Required) Customer email'),

E. new InputOption(Customer::KEY_LASTNAME, null, InputOption::VALUE_REQUIRED, '(Required) Customer last name'),

F. new InputOption(Customer::KEY_FIRSTNAME, null, InputOption::VALUE_REQUIRED, '(Required) Customer first name'),

G. new InputOption(Customer::KEY_WEBSITE, null, InputOption::VALUE_REQUIRED, '(Required) Website ID'),

Buy Now
Questions 10

How do you add a new link into the My Account sidebar?

A. By creating a new UI component

B. By creating a child of the My Account UI component

C. By adding the new section into the customer_account table in the database

D. By using a layout update

Buy Now
Questions 11

What scopes are available for customer attributes?

A. Global only

B. Website only

C. Global and Website

D. Global, Website and Store

Buy Now
Questions 12

You are adding a new entry to the backend menu that appears after Marketing > SEO and 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.)

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
Questions 13

What is the relationship between products and categories in Magento?

A. Products may be assigned to zero or more categories

B. Product to category relation is dynamically defined by Catalog Product Rules

C. Each product belongs to zero or one category

D. Each product always belongs to one category

Buy Now
Exam Code: AD0-E703
Exam Name: Adobe Certified Expert - Magento Commerce Developer
Last Update: Apr 20, 2024
Questions: 135
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$45.99

VCE

$49.99

PDF + VCE

$59.99