O GoConqr está de visual novo! Conte para nós o que você achou.

Quiz

PROFESSIONAL DEVELOPER TEST POOL-1 (MAGENTO 2 CERTIFIED )

Miska Red 30 perguntas 13.668 visualizações 5,0 (8 avaliações)

Fazer o quiz

Este quiz tem tempo limite, por isso abre no player de sempre.

Perguntas do quiz (30)

  1. 1You see this code in etc/adminhtml/routes.xml:
    <route id="mymodule" frontName="user-subscriptions">
    <module name="MyCompany_MyModule" />
    </route> You have placed a controller in Controller/Index/Subscribe.php. If you want to create layout XML instructions for this controller, what would be the layout XML's filename?
    1. Amymodule_index_subscribe.xml
    2. Bmymodule_subscribe_[ACTION NAME].xml
    3. Cuser_subscriptions_index_subscribe.xml
    4. Duser_subscriptions_subscribe_[ACTION NAME].xml
  2. 2You have created a new product type, sample, and need to customize how it renders on the shopping cart page. Keeping maintainability in mind, how do you add a new renderer?
    1. ACreate the layout file, checkout_cart_item_renderers.xml, reference the checkout.cart.item.renderers block and add a new block with an as="sample" attribute.
    2. BOverride the cart/form.phtml template and add logic for the sample product type.
    3. CCreate the layout file, checkout_cart_index.xml, and reference the checkout.cart.renderers block and add a block with the as="sample" attribute.
    4. DCreate the layout file, checkout_cart_index.xml, and update the cart page's uiComponent to appropriately render the sample product type.
  3. 3You are building an tool that imports products from an ERP. There are 20 columns of additional information that are associated with each product. This extra information must also be associated with an update time to know when to refresh the data. Keeping maintainability in mind, how do you build this into Magento?
    1. AUtilize an extension attribute.
    2. BOverride the Product model and add the fields.
    3. CCreate a separate model and build code to associate the two record types.
    4. DCreate 20 EAV attributes and check their updated_at column.
  4. 4What interface should a frontend controllers action implement?
    1. A\Magento\Framework\App\ActionInterface
    2. B\Magento\Frontend\Controller\ActionInterface
    3. C\Magento\Frontend\Controller\ControllerInterface
    4. D\Magento\Framework\App\ControllerInterface
  5. 5You are making some major adjustments to a core Magento class (ClassA). These adjustments are only necessary when utilized from a specific Magento class (ClassB). You have created MyClass that contains the needed customizations.
    Keeping upgradeability in mind, how do you configure di.xml to make the substitution happen?
    1. AEnsure that MyClass extends ModuleA and set the <argument/>, for ModuleB to point to your new class in di.xml.
    2. BSet a <preference/> for ModuleA to be replaced by MyClass
    3. CCreate a rewrite node that injects MyClass into ClassB.
    4. DCreate a virtual type that extends ModuleB, specifying an <argument/> for MyClass.
  6. 6You 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/helena-hooded-fleece.html , Keeping ,maintainability in mind ,How to get product url with category?
    1. AAdmin -> Stores -> Configuration -> Catalog -> Catalog -> Search Engine Optimization -> "Use Categories Path for Product URLs" set to "Yes"
    2. BIt is not possible to display Categories name on product url
    3. C$product->setCategoryId($categoryId)->getProductUrl();
    4. DYou Can Build category URL path \vendor\magento\module-catalog-url-rewrite\Model\CategoryUrlPathGenerator.php
  7. 7You are building a new module to add extra functionality to the Magento application. What files are required?
    1. Aregistration.php
    2. Betc/module.xml
    3. Ccomposer.json
    4. DSetup/InstallSchema.php
    5. Eetc/config.xml
  8. 8You need to add the Google Tag Manager (GTM) to every page. What three steps do you take to accomplish this in MyCompany_MyModule?
    1. AAdd into view/frontend/layout/default.xml.
    2. BCreate view/frontend/layout/default.xml.
    3. CCreate view/frontend/templates/script.phtml and add GTM code.
    4. DRun bin/magento create:module:template script.phtml
    5. ECopy vendor/module-catalog/view/template/script.phtml to view/template/script.phtml and add GTM script.
  9. 9You need to control access to a custom controller action. How do you tell Magento about this new control option?
    1. ACreate etc/acl.xml and add <resource id="MyCompany_MyModule::customAction" ... />
    2. BIn the controller, implement the _isAllowed method.
    3. CCreate etc/adminhtml/acl.xml and add <acl id="MyCompany_MyModule::customAction" ... />
    4. DUse the CLI to add the new resource option.
  10. 10You are trying to determine why a product is not appearing in a category. What table does Magento on the frontend to locate the relationship between a category and its products?
    1. Acatalog_category_product
    2. Bcatalog_product_parent
    3. Ccatalog_category_product_index
    4. Dcatalog_category_product_relationship

Informações

Descrição
POOL-1 30 question, This only my study notes, questions will NOT be found on the final exam. They might be similar. 60 questions 90mi 64% to pass Based on Magento Open Source (2.3) and Magento Commerce (2.3),
Idioma
English
Visualizações
13.668
Avaliação
5,0 de 5 · 8 avaliações
Avalie este quiz
Avalie este quiz

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?