最新のAdobe AD0-E703試験問題解答がズラリ [Q58-Q76]

Share

最新のAdobe AD0-E703試験問題解答がズラリ

AD0-E703試験練習テスト問題(更新された137問あります)

質問 58
While developing a module you need to modify an existing Data Patch.
How can you force Magento to execute an existing Data Patch file again?

  • A. By removing the Data Patch, running the command: bin/magento setup:db-data:upgrade, then copying the file back and running the command again
  • B. By changing the version of the Data Patch in the getVersion method
  • C. By deleting the record with the Data Patch class name from the table patch_list table
  • D. By modifying the data_version value in the setup_module table

正解: C

 

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

  • A. By using a layout update
  • B. By creating a child of the My Account UI component
  • C. By creating a new UI component
  • D. By adding the new section into the customer_account table in the database

正解: A

 

質問 60
You are updating a module to add extra functionality to the Magento application, Where would Magento look for modules?

  • A. lib/vendor-name/module-name
  • B. app/vendor/vendor-name/module-name
  • C. vendor/vendor-name/module-name
  • D. app/code/VendorName/ModuleName

正解: C,D

 

質問 61
A custom module needs to log all calls of \Magento\Customer\Api\AddressRepositoryInterface::save().
Which mechanism do you use?

  • A. An extension attribute configured in the extension_attributes.xml
  • B. An observer on the customer_address_repository_save event, which is automatically fired for every repository save
  • C. A plugin declared for the save() method
  • D. A proxy configured to intercept all calls to any public method and log them

正解: C

 

質問 62
You 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?

  • A. catalog_category_product_relationship
  • B. catalog_product_parent
  • C. catalog_category_product
  • D. catalog_category_product_index

正解: C

 

質問 63
The module MyCompany_MyModule will add a new page to the admin interface at the URL path admin/mycompany/entity_grid.
How do you name the file containing the action controller class so the admin router matches the path to the class?

  • A. Controller/Adminhtml/Mycompany/Entity_Grid.php
  • B. Controller/Adminhtml/Entity/Grid.php
  • C. Controller/Adminhtml/Mycompany/Entity/Grid.php
  • D. Controller/Adminhtml/Entity/Grid/Index.php

正解: A

 

質問 64
A module you are working on needs to send a newsletter to all subscribed customers at predefined intervals.
Which two actions do you take to make sure the newsletter is sent? (Choose two.)

  • A. Implement \MyCompany\MyModule\Cron\NewsLetterSender::execute and register it in etc/crontab/.xml
  • B. Implement \MyCompany\MyModule\Cron\NewsLetterSender::execute and register it in etc/crontab/di.xml
  • C. Make sure bin/magento cron:run is added to the system crontab
  • D. Register the plugin for \Magento\Customer\Model\Customer::authenticate in etc/crontab.xml

正解: A,C

 

質問 65
Magento allows you to specify custom values per store for product attributes created in the admin panel.
Which architectural pattern makes it possible?

  • A. Entity Attribute Value
  • B. Extension Attribute
  • C. Store Manager
  • D. Dependency Injection

正解: A

 

質問 66
A client has asked you to include category url keys in product URLs.
How is this done?

  • A. This is not possible because products can belong to multiple categories
  • B. Create an after plugin on \Magento\UrlRewrite\Controller\Router::generateRewrite
  • C. Create an observer for controller_action_postdispatch_catalog_product_view
  • D. Set the configuration value of catalog/seo/product_use_categories to Yes

正解: D

 

質問 67
How can you access the select query of a collection?

  • A. The select query is not available in the collection class, it will be generated by the MySQL adapter right before executing a query
  • B. You can get it by using public method getSelect() which returns an instance of Magento\Framework\DB\Select
  • C. You can only access the select query after the collection has been loaded by calling the public method query()
  • D. It is stored in a protected variable $query and can only be accessed from the inside of a collection class

正解: B

 

質問 68
A merchant is interested in setting different prices for the same products in different store scopes.
What do you reply to this inquiry?

  • A. The prices can only be scoped per website or globally
  • B. The prices can be scoped per store
  • C. The price scope can be set to store but this will lead to performance degradation of category pages
  • D. The prices do not support scopes

正解: A

 

質問 69
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 plugin on the IndexManager class to change load order.
  • B. Use a dependencies node in your indexer configuration.
  • C. Create a bash script to execute each indexer in the correct order.
  • D. Specify the sortOrder in your indexer configuration.

正解: B

 

質問 70
There is a custom extension called MyCompany_MyModule. It has the following layout customization declared in MyCompany/MyModule/view/frontend/layout/default.xml:
<referenceContainer name="content">
<block class="Magento\Framework\View\Element\Template"
name="my.block"
template="MyCompany_MyModule::my_template.phtml"
cacheable="false"/>
</referenceContainer>
What will be the result of the customization?

  • A. my.block on the all store front pages will be cached using ESI
  • B. Only the default landing page will be non-cacheable
  • C. All store front pages will be non-cacheable
  • D. my.block on the default landing page only will be cached using ESI.

正解: C

 

質問 71
Where do you change the frontName for the admin router?

  • A. app/etc/config.xml
  • B. composer.json
  • C. app/etc/env.php
  • D. app/etc/local.xml

正解: C

 

質問 72
You are adding a child node to the product.info block using the XML:

How will this block be rendered?

  • A. By calling $block->getChildHtml('mynewblock') in the parent block's template
  • B. Child block nodes are automatically rendered as HTML
  • C. Automatically if the block class Custom implements the _toHtml method
  • D. The layout is invalid since block elements cannot be nested

正解: A

 

質問 73
You are creating a new page layout for your custom module.
What is the primary difference between container and block elements?

  • A. Only containers can be removed by name or alias
  • B. A container's children are rendered automatically
  • C. A block's position within the layout can be altered
  • D. They extend different abstract classes

正解: B

 

質問 74
You are building a report using complex SQL aggregations to locate the required data.
In what type of class do you put these SQL statements?

  • A. Helper
  • B. Model
  • C. Resource model
  • D. Repository

正解: C

 

質問 75
You are writing a customization for the customer module. You need to make sure the configuration files from your module are loaded after the customer module's configuration.
Where should the dependency be declared?

  • A. etc/config.xml
  • B. composer.json
  • C. etc/module.xml
  • D. etc/di.xml

正解: B

 

質問 76
......

あなたを合格させるAdobe試験にはAD0-E703試験問題集:https://www.jpntest.com/shiken/AD0-E703-mondaishu

弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

オンラインサポート時間:( UTC+9 ) 9:00-24:00
月曜日から土曜日まで

サポート:現在連絡