Special Summer Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: scxmas70

Note! Following AD0-E704 Exam is Retired now. Please select the alternative replacement for your Exam Certification.

AD0-E704 Exam Dumps - Adobe Certified Master - Adobe Commerce Architect

Go to page:
Question # 9

You are developing an in-house solution for catalog management which is implemented as a Magento module called MyCompany_MyModule. To streamline integration with the ERP system you decided to expose MyCompany_MyModule'S functionality via REST.

What are the three minimum requirements to achieve this?

A.

Add webapi. xml declarations for all methods to be exposed

B.

Specify the parameter and return types in the PHP method signatures

C.

Represent all functionalities which need to be exposed as service contracts

D.

Specify the parameter and return types in the method annotations

E.

Add Cap: annotations to all methods which need to be exposed

Full Access
Question # 10

Suppose there are 3 classes: Class A, B and C. Class C have dependecy of Class A You need to overrride/change an argument of class A, create an object of it and inject in Class B in such a way that it should not affect the class C. What should be the magento standard way to do this:

A.

In module’s etc/di.xml, define virtualType node to override argument and create a subclass of A. Then use type node to pass the subclass A object into class B.

B.

In module’s etc/config.xml, define virtualType node to override argument and create a subclass of A. Then use type node to pass the subclass A object into class B.

C.

In module’s etc/system.xml, define virtualType node to override argument and create a subclass of A. Then use type node to pass the subclass A object into class B.

D.

In module’s etc/menu.xml, define virtualType node to override argument and create a subclass of A. Then use type node to pass the subclass A object into class B.

Full Access
Question # 11

You need to create a list of warehouses with a set of details in the configuration values: warehouse name, warehouse postcode. For this, suppose you created a custom configuration file under your module's etc/warehouses_list.xml. Now what should be the name of it's XSD schema for this xml file validation:

A.

etc/warehouses_list.xsd

B.

etc/xsd/warehouses_list.xsd

C.

etc/warehouses/list.xsd

D.

xsd/warehouses_list.xsd

Full Access
Question # 12

A Magento site is experiencing an issue where a fatal out of memory error occurs during a custom bulk catalog import process. Here is the code:

A.

Call Magento\Framework\Data\Collection: setMemoryLimit to increase PHP's memory limit

B.

Inject an instance Of Uagento\Catalog\model\ResourceModel\Product\IteratingCollectionFactory into your code instead

C.

Use a \Magento\Framework\Model\ResourceModel\iterator to walk through the collection row-by-row

D.

UseMagento\Model\Entity\Collection\AbstractCollection: :setPage to iterate through the collection in chunks

Full Access
Question # 13

You are working on a custom page where the content of a CMS block has to be rendered. You know the merchant is using Staging for CMS blocks. In your code you have access to the $repository object which is an instance of \Magento\Cms\Api\BlockRepositoryInterface. $blockld which is the original block ID, and $current Version which is the current Staging version.

How do you load the CMS block with the right Staging version?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Go to page: