20:00

Free Test
/ 10

Quiz

1/10
Suppose in the product rest API in Magento, you added a new attribute. But this attribute can be accessed by API consumers only when they have access permission. How do you create the attributes following the above condition:
Select the answer
1 correct answer
A.
New attributes must be created as custom_attribute to restrict the access using ACL
B.
New attribute must be created as extension_attribute to restrict the access using ACL
C.
We can’t create access permission for REST API, it’s only applicable for entity and repository.
D.
New attributes must be created by extending the product API interface, to restrict access using ACL.

Quiz

2/10
OrangeCompany decided to build a REST API based module in the application so that he can share the details of best-selling products to his franchisee. To make it's flexible and customizable in the future, he advised his developers to enable the support of extension_attribute in the API interface so that any new attributes can be added when required. What is the way to enable the entity/interface to support extension attributes in the module?
Select the answer
1 correct answer
A.
Check the interface for the methods getCustomAttributes() and setCustomAttributes() to determine if they are available for the entity.
B.
Check the interface for the implementation of Magento\Framework\Api\CustomAttributesDataInterface to enable support for extension attributes
C.
Check the interface for the implementation of Magento\Framework\EntityManager\Operation\ExtensionPool to enable support for extension attributes
D.
Check the interface for the methods getExtensionAttributes() and setExtensionAttributes() to determine if they are available for the entity.

Quiz

3/10
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?
Select the answer
1 correct answer
A.
Create json of all variables that are used in the email template and pass to setTemplateVars method of _transportBuilder insatance.
B.
Load the order using increment_id and use getData() to convert it to array and then pass to setTemplateVars method of _transportBuilder instance.
C.
Load the order using increment_id and pass this object to setTemplateVars method of _transportBuilder instance.
D.
None of these.

Quiz

4/10
A furniture merchant have 100k products in the store. In a custom product list page, he advised you to enable the caching as per user paginate the products. So what should the approach to cache the block data as per pagination request:
Select the answer
1 correct answer
A.
In block class toHtml() method, define cache_lifetime, cache_tags and cache_key_<current_page_here>
B.
In block class _construct() method, define cache_lifetime, cache_tags and cache_key_<current_page_here>
C.
In block class toHtml() method, set _isScopePrivate property to false as per requested page number.
D.
In block class _construct() method, set _isScopePrivate property to false as per requested page number.

Quiz

5/10
Suppose you are asked to disable/remove the customer review related functionalities. You can not disable the review module directly because the customer module depends on it. What is the possible way to remove all HTML outputs of the review module, from the frontend and backend? :
Select the answer
1 correct answer
A.
Turn-off Review module output globally by extending <Magento_install_dir>/vendor/magento/module-backend/etc/config.xml
B.
Turn-off Review module output globally by extending <Magento_install_dir>/vendor/magento/module-backend/etc/module.xml
C.
Create plugin or Override the class \Magento\Framework\View\Element\AbstractBlock and toHtml() method, and implement the logic to return empty data in case of review module’s block instance is present.
D.
Create plugin or Override the class \Magento\Backend\Block\Template and isOutputEnabled() method, and implement the logic to return false value in case of review module’s block instance is present.

Quiz

6/10
In homepage, you need to add inline css in the body tag. What should be the correct way of doing this using layout XML file cms_index_index.xml:
Select the answer
1 correct answer
A.
<page> <body> <attribute name="style" value="css.opacity=0"/> </body> </page>
B.
<page> <body> <attribute name="css" value="style.opacity=0"/> </body> </page>
C.
<page> <body> <attribute name="css" value="opacity:0"/> </body> </page>
D.
<page> <body> <attribute name="style" value="opacity:0;"/> </body> </page>

Quiz

7/10
Suppose in a store there are 500 categories and it's increasing as per the need. Let's say your frontend developer asked you to modify the header and include CSS files on some specific category pages based on the custom category attribute selection from backend. What should be the acceptable and easiest way to do this, so that no new file creation and code update will be required after implementation:
Select the answer
1 correct answer
A.
create a new layout XML file for the category called catalog_category_view.xml and add the layout modification code
B.
create a new layout XML file for the category called catalog_category_view_selectable_<Category ID>_CustomLayout.xml and assign it to the needed categories from backend, and add the layout modification code in it.
C.
create a custom layout handle for the category using observer layout_load_before and add the layout modification code
D.
create a custom layout handle for the category using observer layout_load_after and add the layout modification code

Quiz

8/10
Consider below code in a UiComponent xml file: Magedeal\Employee\Ui\DataProvider\Employee\DataProvider employee_data_source entity_id id What is the application of
Select the answer
2 correct answers
A.
The class attribute defines DataProvider class which is the primary source of any data or metadata that the component needs or will use.
B.
This references a PHP class that must implement \Magento\Framework\View\Element\UiComponent\DataProvider\DataProviderInterface. And it can also extend or implement the \Magento\Ui\DataProvider\ModifierPoolDataProvider
C.
The class attribute defines UiComponent class which is the primary source of any data or metadata that the component needs or will use.
D.
This references a PHP class that must implement \Magento\Framework\View\Element\UiComponent\DataProvider\UiComponentInterface. And it can also extend or implement the \Magento\Ui\DataProvider\ModifierPoolDataProvider

Quiz

9/10
Suppose you are working on a specific uicomponet form where front-end customers can update their name and phone number only when the admin user sets the editable_field_flag to 1 for his submitted data from the backend. According to this flag, when loading the data in the form for front- end users, how would you check and customize to enable/disable the name and phone number fields?
Select the answer
1 correct answer
A.
In uicomponet xml, under fieldset node, include the Form Provider Javascript component “Magento_Ui/js/form/provider” and extend it to customize the specific fields when data is being populated by it.
B.
In uicomponet xml, under fieldset node, include the Form Provider Javascript component “Magento_Ui/js/form/dataProvider” and extend it to customize the specific fields when data is being populated by it.
C.
In uicomponet xml, under DataSource node, include the Form Provider Javascript component “Magento_Ui/js/form/provider” and extend it to customize the specific fields when data is being populated by it.
D.
In uicomponet xml, under DataSource node, include the Form Provider Javascript component “Magento_Ui/js/form/dataProvider” and extend it to customize the specific fields when data is being populated by it.

Quiz

10/10
Suppose you are building an inquiry form using uicomponent. It has a feature that customer can edit the submitted data later if he wants to edit. What should the logic here to implement, in order to enable the form for re-edit:
Select the answer
1 correct answer
A.
DataProvider class provides execute() method which is responsible for data loading.
B.
DataProvider class provides getDataSourceData() method which is responsible for data loading.
C.
DataProvider class provides prepare() method which is responsible for data loading.
D.
DataProvider class provides getData() method which is responsible for data loading.
Looking for more questions?Buy now

Adobe-AD0-E704 Practice test unlocks all online simulator questions

Thank you for choosing the free version of the Adobe-AD0-E704 practice test! Further deepen your knowledge on Adobe Simulator; by unlocking the full version of our Adobe-AD0-E704 Simulator you will be able to take tests with over 89 constantly updated questions and easily pass your exam. 98% of people pass the exam in the first attempt after preparing with our 89 questions.

BUY NOW

What to expect from our Adobe-AD0-E704 practice tests and how to prepare for any exam?

The Adobe-AD0-E704 Simulator Practice Tests are part of the Adobe Database and are the best way to prepare for any Adobe-AD0-E704 exam. The Adobe-AD0-E704 practice tests consist of 89 questions and are written by experts to help you and prepare you to pass the exam on the first attempt. The Adobe-AD0-E704 database includes questions from previous and other exams, which means you will be able to practice simulating past and future questions. Preparation with Adobe-AD0-E704 Simulator will also give you an idea of the time it will take to complete each section of the Adobe-AD0-E704 practice test . It is important to note that the Adobe-AD0-E704 Simulator does not replace the classic Adobe-AD0-E704 study guides; however, the Simulator provides valuable insights into what to expect and how much work needs to be done to prepare for the Adobe-AD0-E704 exam.

BUY NOW

Adobe-AD0-E704 Practice test therefore represents an excellent tool to prepare for the actual exam together with our Adobe practice test . Our Adobe-AD0-E704 Simulator will help you assess your level of preparation and understand your strengths and weaknesses. Below you can read all the quizzes you will find in our Adobe-AD0-E704 Simulator and how our unique Adobe-AD0-E704 Database made up of real questions:

Info quiz:

  • Quiz name:Adobe-AD0-E704
  • Total number of questions:89
  • Number of questions for the test:50
  • Pass score:80%

You can prepare for the Adobe-AD0-E704 exams with our mobile app. It is very easy to use and even works offline in case of network failure, with all the functions you need to study and practice with our Adobe-AD0-E704 Simulator.

Use our Mobile App, available for both Android and iOS devices, with our Adobe-AD0-E704 Simulator . You can use it anywhere and always remember that our mobile app is free and available on all stores.

Our Mobile App contains all Adobe-AD0-E704 practice tests which consist of 89 questions and also provide study material to pass the final Adobe-AD0-E704 exam with guaranteed success. Our Adobe-AD0-E704 database contain hundreds of questions and Adobe Tests related to Adobe-AD0-E704 Exam. This way you can practice anywhere you want, even offline without the internet.

BUY NOW