[Sep-2022] AD0-E704 Dumps PDF - AD0-E704 Real Exam Questions Answers [Q49-Q73]

Share

[Sep-2022] AD0-E704 Dumps PDF - AD0-E704 Real Exam Questions Answers

AD0-E704 Dumps 100% Pass Guarantee With Latest Demo


Adobe AD0-E704 Exam Syllabus Topics:

TopicDetails
Topic 1
  • Understand the Magento quote architecture and customizing quote-related functionality
  • Demonstrate an ability to operate with Magento blocks and templates
Topic 2
  • Demonstrate an ability to perform complex operations with the Magento pricing framework
  • Using the Entity-Attribute-Value (EAV) Model
Topic 3
  • Demonstrate understanding of catalog staging and its impact on the system
  • Demonstrate an ability to use non-catalog EAV entities
Topic 4
  • Demonstrate an ability to understand and customize Magento products
  • Demonstrate understanding of Magento events processing
Topic 5
  • Demonstrate understanding of frontend security with Magento
  • Demonstrate an ability to operate with attribute options
Topic 6
  • Describe the EAV data access process in Magento
  • Create and debug shipping and payment methods in Magento
Topic 7
  • Demonstrate understanding Adminhtml security with Magento
  • Demonstrate an ability to create complex forms and grids
Topic 8
  • Demonstrate an understanding of the product search framework
  • Demonstrate understanding of customer segmentation
Topic 9
  • Demonstrate understanding of the admin login process and admin actions processing
  • Determine advanced uses of the Magento configuration system
Topic 10
  • Demonstrate understanding of advanced capabilities in Magento Commerce
  • Demonstrate understanding UiComponents architecture
Topic 11
  • Demonstrate understanding of the staging workflow
  • Demonstrate advanced use of Magento layouts

 

NEW QUESTION 49
Suppose you want to develope a custom extension that should provide product_redirect_links to amazon.com, ebay.com and other sites. Suppose this must be added using extension_attribute feature to make that availbe for product repository and services, then what are the customizations needed to develope it: Choose 2

  • A. In your custom module create, etc/di.xml and add plugin code to join product_redirect_links attribute to ProductRepositoryList
    <type name="Magento\Catalog\Api\ProductRepositoryInterface">
    <plugin name="joinExternalLinksToProductRepositoryList"
    type="Magento\ExternalLinks\Model\Plugin\Product\Repository"/>
    </type>
  • B. None of these
  • C. In your custom module, create etc/extension_attributes.xml, and define needed attribute_code under
    extension_attributes for="Magento\Catalog\Api\Data\ProductInterface"
  • D. In your custom module create Setup/InstallSchema.php and add requried product attribute create code and run setup:upgrade.

Answer: A,C

 

NEW QUESTION 50
You are debugging a problem with a shopping cart price rule which gives free shipping for the whole cart if the subtotal is greater than $100. You are seeing that when a custom shipping method is selected, the shipping price is still present even though the subtotal is greater than $100.
How do you fix this problem?

  • A. Create an option allow_freeshiping in the system configuration of the shipping method and set its value to 1
  • B. Add the shipping method's code to the price rule action
  • C. Add the shipping method's code to the price rule condition
  • D. Modify the carrier class to process the free_shipping flag of the quote items

Answer: A

 

NEW QUESTION 51
You need to do an analysis of Admin actions on the website for a 24 hour period that happened 90 days ago using the Admin actions log. Assuming that the Log Entry Lifetime store configuration setting has not been changed from the default, where do you access the data?

  • A. It has been permanently deleted by the Magento log rotation cron
  • B. It is archived in the magento_logging_event_archive table
  • C. It is available by default for review in the actions log report grid
  • D. It is archived in the var\logging\archive folder on the server

Answer: C

 

NEW QUESTION 52
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. Use a \Magento\Framework\Model\ResourceModel\iterator to walk through the collection row-by-row
  • B. UseMagento\Model\Entity\Collection\AbstractCollection: :setPage to iterate through the collection in chunks
  • C. Inject an instance Of Uagento\Catalog\model\ResourceModel\Product\IteratingCollectionFactory into your code instead
  • D. Call Magento\Framework\Data\Collection: setMemoryLimit to increase PHP's memory limit

Answer: A,C

 

NEW QUESTION 53
The merchant is planning to use Special Product prices with the date range on their Magento Commerce website. How does Magento Commerce Edition process Special Prices?

  • A. It creates a new scheduled update using Staging with the date range special_price_from to special_price_to
  • B. Magento includes Special Price in calculation of the final price which is performed on-the-fly on all pages
  • C. It has a cron job which activates special prices when needed and runs a reindex
  • D. Magento has special index tables dedicated to special price only which are joined when special price is active

Answer: A

 

NEW QUESTION 54
You are working on a new feature to allow multiple vendors for various products. To display vendors you add a custom fieldset component and select with the name myCompanyVendors. It will be shown if the number of vendors is more than one.
To do this you implement a custom method on your component:

How do you cause the method to be called when the value of options change?
A)

B)

C)

D)

  • A. Option C
  • B. Option D
  • C. Option B
  • D. Option A

Answer: C

 

NEW QUESTION 55
You are reviewing a custom observer for the event sales_order_save_after which is fired when an order is placed on the storefront. The observer is sending a remote request to an analytics system with the order data.
What issue may this observer cause?

  • A. The final price for the order is not available on the sales_order_save_after event
  • B. In case of an error in the observer the order will not be saved in the database
  • C. This event will not be fired if the order is placed through the WebAPI
  • D. The payment status is not available at the moment when the order is saved

Answer: B

 

NEW QUESTION 56
Suppose you are working with order collection where you need to get the Customer collection object in foreach loop to check wheather current order's customer accout is locked or not. For this you injected Magento\Customer\Model\Customer $customer in the constructor to use $customer collection object. But in loop when this object is used, you notice that it's returning the same customer even if you pass different customer id to filter the customer collection inside loop. What is the solution for this problem?

  • A. We can not filter a collection in foreach loop, need to use load() on customer model
  • B. Use proxy class for customer and use create() method to get a fresh customer object
  • C. None of these
  • D. Use factory class for customer and use create() method to get a fresh customer object

Answer: D

 

NEW QUESTION 57
You want to display customized product list along with it's tier prices. To render this price which class should be used and which data needs to be provided ?

  • A. In layout xml, use class= Magento\Catalog\Pricing\Render and
    price_render argument= product.price.render.tier
  • B. In layout xml, use class= Magento\Catalog\Pricing\Render and
    price_render argument= product.price.render.simple
  • C. None of these
  • D. In layout xml, use class= Magento\Catalog\Pricing\Render and
    price_render argument= product.price.render.default

Answer: D

 

NEW QUESTION 58
Which of the following task can't be performed using command-line interface in Magento?

  • A. Create admin user.
  • B. Create front-end user.
  • C. Generating non-existent classes such as factories and interceptors for plug-ins, generating the dependency injection configuration for the object manager.
  • D. Managing indexes, including reindexing.

Answer: B

 

NEW QUESTION 59
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

Answer: A

 

NEW QUESTION 60
You are integrating an external system from which products and categories will be synchronized with Magento.
To keep the category tree synchronized, an identifier attribute needs to be added to the catalog_category entity. The identifier value is generated by the external system as an unsigned 3 byte integer and is global in scope. Your code will run many concurrent queries to select categories based on this ID in order to synchronize changes.
Keeping performance in mind, what attribute backend type do you choose when creating the EAV attribute?

  • A. varchar
  • B. static
  • C. text
  • D. int

Answer: D

 

NEW QUESTION 61
Suppose you are tasked with update a product price to 10% more and it's cart rule to provide 5% discount after 2 month. So after this timeperiod, product price and cart rule must be activated workign in the frontend for users. Which Magento feature you should use to do the above task?

  • A. We can't set any "schedule update" in future date for product or cart rule data.
  • B. Use "Schedules Update" feature provided by the "Magento Catalog" module.
  • C. Use "Schedules Update" feature provided by the "Magento Sales" module.
  • D. Use "Schedules Update" feature provided by the "Magento Staging" module.

Answer: D

 

NEW QUESTION 62
Suppose, you need to create custom configuration file called search.xml, in the a custommodule under etc/. Which steps are needed to achieve this:

  • A. Create module_dir/etc/config.xml and modules_dir/etc/config.xsd
  • B. Define loader in module_dir/etc/di.xml, for the custom conifguration file module_dir/etc/search.xml
  • C. Create module_dir/etc/search.xml and modules_dir/etc/search.xsd
  • D. Define loader in module_dir/etc/di.xml, for the custom conifguration file module_dir/etc/config.xml

Answer: B,C

 

NEW QUESTION 63
You are making a module MyCompany_MyModule and the merchant asks for an attribute that is only available to simple and configurable products. This needs to be defined in the catalog_eav_attribute table.
How can we create this behavior during the creation of this attribute?
A)

B)

C)

D)

  • A. Option C
  • B. Option D
  • C. Option B
  • D. Option A

Answer: C

 

NEW QUESTION 64
You have a requirement to customize the Product Detail Page so users can enter their ID in a custom field and get a personalized price. The user has to see the lower of the personalized and the Magento price.
Which two actions do you take to enable the personalized price on the Product Detail Page and the checkout?

  • A. Create a plugin for the Magento\Catalog\Model\Product::getFinalPrice method
  • B. Create an observer for the event catalog_product_load_after, access the $product object and set a new price using the setFinalPrice method
  • C. Modify the indexer so all possible prices are listed in the price index table
  • D. Add a price class to the prices parameter of the Magento\Catalog\Pricing\Price\Pool class and implement the getvalue method

Answer: A,B

 

NEW QUESTION 65
After the installation of several 3rd-party extensions to the merchant's store, it was noticed the admin panel authentication consistently fails with the credentials used before. Where do you start debugging to understand why the authentication is failing?

  • A. \Magento\Backend\App\Act ion\AuthenticationWrapper::dispatch
  • B. \Magento\Backend\App\Action\Composite\Authentication::dispatch
  • C. \Magento\Backend\App\Act ion\Plugin\Authentication::aroundDispatch
  • D. \Magento\Backend\App\Act ion\Observer\Authentication::execute

Answer: A

 

NEW QUESTION 66
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:

  • A. <page>
    <body>
    <attribute name="css" value="opacity:0"/>
    </body>
    </page>
  • B. <page>
    <body>
    <attribute name="css" value="style.opacity=0"/>
    </body>
    </page>
  • C. <page>
    <body>
    <attribute name="style" value="opacity:0;"/>
    </body>
    </page>
  • D. <page>
    <body>
    <attribute name="style" value="css.opacity=0"/>
    </body>
    </page>

Answer: C

 

NEW QUESTION 67
Your company asks you to create the option to disable RMA for the customer group named CustomerGroup1. How do you do it?
A) It will require a code customization
B) This feature already exists and can be set in:
Admin > Store > Settings > Configuration > Sales > Rma Settings > Exclude Customer Group
C)

D)

  • A. Option
  • B. Option
  • C. Option
  • D. Option

Answer: B

 

NEW QUESTION 68
You are creating a module lo enable customers to attach an image file to the quote items while adding a product to the cart. To save development time, you want to build on top of functionality provided by the class \Magento\Catalog\Model\ImageUploader as much as possible.
The class constructor signature is:
What do you do to process the uploaded file?

  • A. Configure a Virtual type based on \Magento\Catalog\Model\ImageUploader Specifying $baseTmpPath. $basePath and SallowedExtensions
  • B. Create a custom Class implementing \Magento\Catalog\Model\ImageUploaderInterface and add it to the $uploaders argument of the UploaderPoolinterface via di.xml
  • C. Create a custom implementation because the catalog imageUploader can not be used to for files associated with quote items
  • D. Configure a plugin for the method \Magento\Catalog\Model\ImageUploader: moveFileFromTmp() in di. xml

Answer: A

 

NEW QUESTION 69
You defined a custom layout file 1column-2footers.xml under /view/frontend/layouts.xml. Now, what is the conventional path to creating the custom layout file 1column-2footers.xml?

  • A. <module_dir>/view/frontend/layout
  • B. <module_dir>/etc/frontend/layout
  • C. <module_dir>/etc/frontend/page_layout/
  • D. <module_dir>/view/frontend/page_layout

Answer: D

 

NEW QUESTION 70
You are working on a project with a large database with many products, sales rules and CMS pages. The merchant is going to use Magento_Staging for scheduled updates, but they were told that use of Staging will modify all SQL queries and slow down website performance.
What modification does Magento_Staging make to existing SQL queries?

  • A. Magento.staging does not modify any existing queries so it has no additional impact
  • B. Every query which uses staged entities will have an additional join to the staging_update table filtered by the current version
  • C. For every query that uses staged entities it adds an additional were statement to filter a row by the current version
  • D. It creates a copy of the staged table with the staged data and joins the new table to replace original values with the staged ones

Answer: C

 

NEW QUESTION 71
You are working on a customization that requires a list of shipping rates available to a user. Which call returns the list of shipping rates?

  • A. \Magento\Shipping\Helper\Rates: :getAHRates
  • B. \Magento\Checkout\Api\ShippingInformationManagementInterface::getRates
  • C. \Magento\Quote\Model\Quote\Address::getAllShippingRates
  • D. \Magento\Quote\Model\Quote::getShippingRates

Answer: C

 

NEW QUESTION 72
The merchant asked you to implement an order review step on the checkout after the payment step. Which problem do you need to resolve?

  • A. Magento does not allow to add a step after the payment step
  • B. The "Place order" button belongs to a payment method template so you have to customize all payment methods
  • C. There is no WebAPI class for placing an order without saving a payment data
  • D. There is no WebAPI endpoint for saving payment data without placing an order

Answer: A

 

NEW QUESTION 73
......

Dumps Real Adobe AD0-E704 Exam Questions [Updated 2022]: https://www.exam4tests.com/AD0-E704-valid-braindumps.html