How do you obtain customer information in a JavaScript module?
A. Magento does not expose customer information in JavaScript for security reasons
B. By sending an AJAX request to the url: /customer/account/info/?json=1
C. By using customerData.get(`customer') call, where customerData is an instance of Magento_Customer/ js/customer-data
D. Customer information is available in localStorage and be retrieved by calling window.localStorage.getItem(`customer')
You added a plugin declaration to MyCompany/MyModule/etc/di.xml:
What will be the effect of this declaration?
A. An exception because plugins must not be applied to the interfaces
B. An exception because of the syntax error in the declaration
C. The plugin will be ignored because ActionInterface will never be instantiated directly
D. The plugin will be applied to all implementors of the ActionInterface
You have created a module with a custom ACL resource and want to restrict access to resources of your module.
Which three items are restricted based on ACL role permissions? (Choose three.)
A. CLI Commands
B. Webapi resources
C. Storefront login
D. System configuration sections
E. Adminhtml controllers
You got a notification about error that occurred on a production environment. The merchant gave you the error identifier.
How do you find the error message based on the identifier?
A. An error is written to the var/log/exception.log file including the identifier
B. The error is sent to the pre-configured error email with the identifier in the subject
C. A file with a name matching the identifier is written to the var/report folder
D. An error message is written to the database table error_log with an error_id field matching the identifier
Which entity in Magento supports scoped attributes?
A. Customer
B. CMS Page
C. Category
D. Customer Address
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
You are working on a new entity called vendor. You implemented the model, resource model and collection. You want to ensure that standard model events will be fired for your model, so an observer can be created for the events vendor_save_after, vendor_save_commit_after and others.
How do you do that?
A. Create an entry in etc/di.xml and add the argument eventPrefix with the value of vendor
B. Declare the $_eventPrefix property in your vendor model and set it to vendor
C. You must implement all appropriate methods and fire the events manually
D. Ensure that the primary key in the corresponding table is named vendor_id
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/InstallSchema.php
B. Setup/UpgradeSchema.php
C. Setup/InstallEntity.php
D. Setup/UpgradeData.php
You have created a new section in system configuration under the Catalog tab:
How do you restrict an access to the section using Magento ACL?
A. Option A
B. Option B
C. Option C
D. Option D
While reviewing a layout file named sales_order_view.xml you notice the element
What is the purpose of this element?
A. Replaces the customer_account handle with sales_order_view
B. Nothing, this element has been deprecated
C. Adds the customer_account handle to the page's handles list
D. Updates the current page handle to customer_account
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Adobe exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your AD0-E703 exam preparations and Adobe certification application, do not hesitate to visit our Vcedump.com to find your solutions here.