You are building a new module to add extra functionality to the Magento application. What files are required?
A. etc/config.xml
B. Setup/InstallSchema.php
C. registration.php
D. composer.json
E. etc/module.xml
正解:C,D,E
質問 2:
What interface should a frontend controllers action implement?
A. \Magento\Framework\App\ActionInterface
B. \Magento\Frontend\Controller\ActionInterface
C. \Magento\Framework\App\ControllerInterface
D. \Magento\Frontend\Controller\ControllerInterface
正解:A
質問 3:
While integrating a merchant's product information management system with Magento, you create a module MyCompany_MerchantPim that adds a catalog product EAV attribute pim_entity_id programmatically. In which type of setup script do you create the EAV attribute?
A. Setup/UpgradeSchema.php
B. Setup/InstallEntity.php
C. Setup/UpgradeData.php
D. Setup/InstallSchema.php
正解:C
質問 4:
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 API-related configuration resides
B. It is where the module's service contracts are stored
C. It is where the API response cache is stored
D. You need to review the files in this folder to understand its purpose
正解:D
質問 5:
You have loaded an instance of Magento\Catalog\Model\Product in the $product variable. You know that the loaded product has the type configurable with four variations. These variations have the prices: $10, $12, $12,
$15.
What will be the result of the $product->getFinalPrice() call?
A. [10, 12, 12, 15]
B. 10
C. [10, 12, 15]
D. 15
正解:B
Ikushima -
加点ポイント高いです。Pass4Testさんのお陰でいい内容に出会いました。幸せです。この問題集ひとつで充分足りるんじゃないかと思ってます。