A merchant requires the ability to configure contact information for their brick and mortar stores as a CSV file upload. The module already exists and contains an etc/adminhtml/system.xml file where the new field can be added.
How do you specify the class that will process the uploaded file?
A.
B.
C.
D.
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
A custom module is performing an optimized custom query for quote items. The class applies the query customizations on the select object of a quote item collection instance.

You are tasked to resolve an issue where the query sometimes does not deliver the expected results. You have debugged the problem and found another class is also using a quote item collection and is loading the collection before the custom module. How do you resolve the issue, keeping maintainability in mind?
A. You change the argument type to \Magento\Quote\Model\ResourceModel\Quote\Item\CollectionFactory and instantiate the collection using $collectionFactory->create();
B. You remove the constructor argument and use ObjectManager::getInstance()- >create(\Magento\Quote \Model\ResourceModel\Quote\Item\Collection::class) to instantiate the collection instead.
C. You inject \Magento\Framework\DB\Select instead of the collection and perform the desired query independently of the collection.
D. You inject \Magento\Quote\Api\CartItemRepositoryInterface because low level query customizations are not allowed.
You are reviewing a Magento module and see a directory named Service.
What can you determine from this directory's name?
A. It is where the API response cache is stored
B. It is where API-related configuration resides
C. It is where the module's service contracts are stored
D. You need to review the files in this folder to understand its purpose
A module declares the route:

What is the layout handle of the storefront path /custom/feature/?
A. mymodule_feature
B. custom_feature
C. mymodule_feature_index
D. custom_feature_index
What happens when a category's is_anchor attribute is set to 1?
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
Magento allows you to specify custom values per store for product attributes created in the admin panel.
Which architectural pattern makes it possible?
A. Store Manager
B. Extension Attribute
C. Entity Attribute Value
D. Dependency Injection
A client has asked you to include category url keys in product URLs.
How is this done?
A. Create an observer for controller_action_postdispatch_catalog_product_view
B. This is not possible because products can belong to multiple categories
C. Set the configuration value of catalog/seo/product_use_categories to Yes
D. Create an after plugin on \Magento\UrlRewrite\Controller\Router::generateRewrite
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
You are customizing the display of product details page. On this page ur customer need to change the url in which the product category name will be appear as http://mystore.com/women/tops-women/helenahooded-fleece.html , Keeping ,maintainability in mind.
How to get product url with category?
A. Admin -> Stores -> Configuration -> Catalog -> Catalog -> Search Engine Optimization - > "Use Categories Path for Product URLs" set to "Yes"
B. It is not possible to display Categories name on product url
C. $product->setCategoryId($categoryId)->getProductUrl();
D. You Can Build category URL path \vendor\magento\module-catalog-url- rewrite\Model \CategoryUrlPathGenerator.php