¡GoConqr estrena diseño! Cuéntanos qué te parece.

Test

FRONT END DEVELOPER POOL-1 (MAGENTO 2 CERTIFIED PROFESSIONAL)

Miska Red 40 preguntas 2.998 visitas 5,0 (1 valoración)

Hacer el test

Este test tiene tiempo límite, así que se abre en el reproductor de siempre.

Preguntas del test (40)

  1. 1You are building MyCompany/MyTheme and need to customize the header template. Where do you place the new phtml template to override the header?
    1. AMyCompany/MyTheme/templates/html/header.phtml
    2. BMyCompany/MyTheme/Magento_Theme/html/header.phtml
    3. CMyCompany/MyTheme/Magento_Theme/templates/html/header.phtml
    4. DMyCompany/MyTheme/Magento_Theme/templates/override/html/header.phtml
  2. 2What is true regarding the differences between the define and require functions?(2)
    1. Adefine is passive and only runs when it is called.
    2. Brequire is always run (as long as the module's file is loaded).
    3. Cdefine is an application's entry point. This is what should be used in a phtml template.
    4. Drequire is a dependency of the application and a error will result if this module is missing.
  3. 3You are making some major modifications to the customer account page. These modifications mean that you are unable to use the original layout instructions for this page. In what file do you place your custom layout instructions?
    1. Aapp/design/frontend/MyCompany/MyTheme/layout/customer_account_index.xml
    2. Bapp/design/frontend/MyCompany/MyTheme/Magento_Customer/layout/customer_account_index.xml
    3. Capp/design/frontend/MyCompany/MyTheme/Magento_Customer/layout/override/frontend/customer_account_index.xml
    4. Dapp/design/frontend/MyCompany/MyTheme/Magento_Customer/customer_account_index.xml
  4. 4You are browsing the Magento_Catalog's widget file and see this:
    <widget id="new_products" class="Magento\Catalog\Block\Product\Widget\NewWidget">
    <parameters> <!-- ... --> </parameters> <containers> <container name="sidebar.additional">
    <template name="default" value="list_default" /> <template name="names_only" value="list_names" />
    <template name="images_only" value="list_images" />
    </container>
    </containers>
    </widget>
    What is the purpose of the template nodes?
    1. AIt filters options for the template when the widget is inserted into a page's layout.
    2. BIt sets a data value on the block when it is used in a CMS page or block.
    3. CIt adds a new option to the widget configuration area.
    4. DIt creates new templates when the widget is used in a container.
  5. 5How do you locate strings to be translated a custom module.
    1. AEnable inline translation in Stores > Configuration
    2. Bbin/magento i18n:collect-phrases
    3. Cgrep your module for __\(['"].*?['"]\)
    4. DOpen the admin panel's Content > Translation Wizard.
  6. 6What command symlinks files from a module or the var/view_preprocessed directories to their respective location in pub/static?

    1. Abin/magento dev:source-theme:deploy
    2. Bbin/magento indexer:reindex
    3. Cbin/magento setup:static-content:deploy
    4. Dbin/magento setup:di:compile
  7. 7On the catalog product page, this XML instruction is executed:
    <block class="Magento\Catalog\Block\Product\View" name="product.info.review" template="Magento_Catalog::product/view/review.phtml" after="product.info.stock.sku"/> You have created MyCompany_MyModule which needs to utilize your own version of review.phtml. What layout XML instruction do you use to accomplish this?

    1. A<referenceBlock name="product.info.review" template="MyCompany_MyModule::new-review.phtml"/>
    2. B<referenceBlock name="product.info.review">
      <action method="setTemplate"><template>MyCompany_MyModule::new-review.phtml</template></action>
      </referenceBlock>
    3. C<referenceBlock name="product.info.review">
      <parameters>
      <argument name="template" xsi:type="string">MyCompany_MyModule::new-review.phtml</argument>
      </parameters>
      </referenceBlock>
    4. D<referenceBlock name="product.info.review" remove="true"/>
      <block name="product.info.review" template="MyCompany_MyModule::new-review.phtml"/>
  8. 8Magento 2 Themes use a combination of ------ to achieve the desired look(Fill in gap)
    1. APHP,HTML & XML
    2. BXML, CSS & HTML
    3. CCSS and JavaScript
    4. DHTML, JavaScript & CSS
    5. EAll
  9. 9Where Composer-based themes can be stored ?
    1. Aapp/design/frontend/<vendor>/<theme> /
    2. Bm2-root/vendor/
    3. Capp/code/<vendor>/<module>/
    4. DAnywhere
    5. ENowhere
  10. 10You are building a module that will be sold on Magento Marketplace . This module adds significant functionality is meant as a foundation for building extra functionality & u need to provide developers with a way to easily add additional style. How do you do this?
    1. AIn your _module.less file , add //@magento_import source/_foundation.less'; This will include all _foundation.less files into your module's _module.less
    2. BThe _extends.less with an S at the end within the Blank Theme, is a file where they created all the classes that can be extended via LESS later within the theme, without the need of creating new components or modular structure for style changes
    3. CIn your _modules.less file , Add @import 'source/_foundation.less'; .Magento has extentded the @import directive to search all modules
    4. DIn view/web/css/source/includes.xml add: <includeAll>_foundation.less<includeAll>
    5. EYou need to utilize the Assuilder class to compile other module's LESS files.

Información

Descripción
POOL-1 Full . This quiz was made using my own study notes & the study guide from https://u.magento.com/magento-2-certified-professional-front-end-developer . It is by no means official and is not necessarily similar to the real Magento 2 certification exam. Real Exam need more deep knowledge to working with magento 2 . Hints: 60 items 90m to complete exam,63% pass , 1.5+ hands-on experience Based on Magento (2.2) front end development
Idioma
English
Visitas
2.998
Valoración
5,0 de 5 · 1 valoración
Valora este test
Valora este test

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?