A merchant wants to send email notifications to those customers after a week who placed the order but didn't pay. Suppose email content is almost similar to the default order email template content with some additional text, so you decided to use the same but in a new custom template. How you pass the order object to the email template so that it will render the all data of default template?
A. None of these.
B. Create json of all variables that are used in the email template and pass to setTemplateVars method of _transportBuilder insatance.
C. Load the order using increment_id and use getData() to convert it to array and then pass to setTemplateVars method of _transportBuilder instance.
D. Load the order using increment_id and pass this object to setTemplateVars method of _transportBuilder instance.
正解:A
質問 2:
For an existing core class, you created 3 plugins PluginA, PluginB and PluginC with sort orders 10, 20 and 30 respectively. but when implementing pluginB you used around method and did not used callable in it.What should be the plugins executaion order as per above scenerio:
A. PluginB, PluginC
B. PluginA, PluginB
C. PluginB, PluginC, PluginA
D. PluginA, PluginB, PluginC
正解:B
質問 3:
You are working on a project which uses Staging for different entities. You are considering the option to stage and rollback different entities independently. What is the scope of a Staging version in Magento?
A. Website, such that all entity values for the website are affected with a stage and rollback
B. Table, which makes it possible to stage and rollback the data from each table separately
C. Global, such that stage and rollback affect the whole database
D. Group of entities (catalog, customer, cms), which makes only possible to stage and rollback the whole group
正解:C
質問 4:
Magento can load the configuration file di.xml area-specific. During bootstrapping, each application entry point loads the appropriate di.xml files for the requested are
a. Please select the set of correct areas, where this file can be loaded by Magento:
A. adminhtml, frontend, webapi_rest, webapi_soap, crontab
B. backend, frontend, webapi_rest, webapi_soap, system
C. adminhtml, frontend, webapi_rest, webapi_soap, system
D. backend, frontend, webapi_rest, webapi_soap, crontab
正解:A
質問 5:
You are reviewing a codebase and come across the following in a layout XML file:
The project is using Varnish for full page caching. How will Magento use the 111 attribute value?
A. To set the timeout for the block output in the browser local storage
B. To set the Expires HTTP header when serving the block as an ESI
C. To set the cache lifetime when saving the block output to the block cache
D. To set the Expires HTTP response headers for any page containing this block
正解:C
質問 6:
A merchant has created a segment that applies to registered customers whose gender is female. You then migrate customers by copying data directly from one database to another. What two ways are used to assign migrated customers with a female gender to the segment?
A. Run bin Mgento index:reinde.\ customer_segment
B. Click on the Refresh Segment Data button in the Admin
C. Re-save the customer segment in the Admin
D. They will be automatically assigned by a cron job at the scheduled time
正解:A,B
質問 7:
When you reference a factory or proxy in a class constructor, these classes are generated by default inside generated directory, if they are not present in codebase. Which Magento class is resposible for this?
A. FileManager
B. ClassManager
C. ObjectManager
D. IntanceManager
正解:C
質問 8:
You want to run a script each time after all schema installation and schema upgrade scripts have executed, but before data setup scripts execution. What do you do?
A. You need to run bin magento module:recurring MyCompanyJlyModule each time after bin magento setup:update
B. Create a Recurring, php Script in the MyCompany MyModule Setup folder
C. Add an event observer for the event setup_upgrade_schema_after
D. Create a RecurringData. php Script in the MyCompany MyModule Setup folder
正解:C
Fukuchi -
この問題集の網羅性が高く分かりやすくなっているので、
是非、高得点での合格を目指してもらいたいです。
Adobeさん最高です。