Adobe Commerce Architect Master AD0-E718 Dumps

Page 1

Exam:AD0-E718

Title:

1/5
Thesafer,easierwaytohelpyoupassAdobeAD0-E718exam
https://www.passcert.com/AD0-E718.html AdobeCertifiedMasterAdobeCommerceArchitect

Thesafer,easierwaytohelpyoupassAdobeAD0-E718exam

1.Youaredevelopinganewpaymentmethod.Itisrequiredthatanynewordercreatedwiththispayment methodneedstohaveaspecificcustomstatusAssumethestatushasbeenaddedtothesystemalready, assignedtotheprocessingstate,andtheneworderstateforthepaymentmethodisprocessing.

Howdoyousetthecustomstatusonordersplacedwiththenewpaymentmethod?

AAddacustomstatuscodetotheMagisthecorrectwaytomodifytheUl

componeento\Sales\Model\Order-\Paymentclassasa$newOrderStatusconstructorparameterusing dixml

BCreateasystemconfigurationoptionorderstatusandsetthestatuscodeasitsvalue

CCreateanobserverfortheeventsalesordersetstatus,getthe$statusparameterandsetthenew statususing$status->setStatus()

DCreateacommandsetOrderStatusandaddittoacommandPoolwithanamesetstatus

Answer:C

2.Youaretaskedtoworkonamessagequeuemodule.

Whenlookingatthequeueconfigurationyouseethefollowing:

Keepinginmindmaintainability,youchangeitto:

Whatwillhappen?

AThiscodewillcancelallthetopicstartingwithcustomer

B.Thiscodewillnotworkasmessagequeuedoesnotallow#wildcard

CThiscodewillreplaceallofthedifferenttopicsas#isthesymbolforeverything

D.Thiscodewillreplaceonlysomeofthetopics

Answer:D

3Youareworkingonaprojectwithalargedatabasewithmanyproducts,salesrulesandCMSpages

ThemerchantisgoingtouseMagentoStagingforscheduledupdates,buttheyweretoldthatuseof StagingwillmodifyallSQLqueriesandslowdownwebsiteperformance

WhatmodificationdoesMagentoStagingmaketoexistingSQLqueries?

AItcreatesacopyofthestagedtablewiththestageddataandjoinsthenewtabletoreplaceoriginal valueswiththestagedones

BEveryquerywhichusesstagedentitieswillhaveanadditionaljointothestagingupdatetablefiltered bythecurrentversion

CMagentostagingdoesnotmodifyanyexistingqueriessoithasnoadditionalimpact

2/5

Thesafer,easierwaytohelpyoupassAdobeAD0-E718exam

D.Foreveryquerythatusesstagedentitiesitaddsanadditionalwerestatementtofilterarowbythe currentversion

Answer:D

4SupposeyouneedtoaddacustomcssfileinlayoutXMLinsuchawaythatitshouldload asynchronouslytoimprovethepageloadperformance

Whatisthecorrectattributeforthis:

Aasync

Bdefer

Crel Diecondition

Answer:B

5.Youneedtoincludethecustomeraccountmenuonacustomstorefrontpage,butonlywhenthe methodMyCompany\\lyModule\ViewModel\MyView::hasCustomerMenu()returnstrue Howdoyouaccomplishthis?

AInthepageactioncontroller,injecttheLayoutinterfaceandifhasCustonerMenu()returnstrue,call $layout->addHandle(‘custooeraccount')

BCreateanafterpluginforMagento\Framework\View\UyoutInterface::getOutput()andif hasCustomerMenuOreturnstrue,Call$subject->addHandledcustomeraccount')

CInthepageactioncontroller,ifhasCustomer-Menu()returnstrue,beforereturningthepageresultcall Spage->addHandleCcuston»raccount')

DInthepage'slayoutXMLfile,add<updatehandle="customeraccount"

if="MyCompany\MyModule\ViewModel\MyView::hasCustomerMenu">

Answer:D

6Supposeyouareworkingonaspecificuicomponetformwherefront-endcustomerscanupdatetheir nameandphonenumberonlywhentheadminusersetstheeditablefieldflagto1forhissubmitteddata fromthebackend.

Accordingtothisflag,whenloadingthedataintheformforfront-endusers,howwouldyoucheckand customizetoenable/disablethenameandphonenumberfields?

AInuicomponetxml,underfieldsetnode,includetheFormProviderJavascriptcomponent “MagentoUi/js/form/provider”andextendittocustomizethespecificfieldswhendataisbeingpopulated byit

B.Inuicomponetxml,underfieldsetnode,includetheFormProviderJavascriptcomponent “MagentoUi/js/form/dataProvider”andextendittocustomizethespecificfieldswhendataisbeing populatedbyit

CInuicomponetxml,underDataSourcenode,includetheFormProviderJavascriptcomponent “MagentoUi/js/form/provider”andextendittocustomizethespecificfieldswhendataisbeingpopulated byit

DInuicomponetxml,underDataSourcenode,includetheFormProviderJavascriptcomponent “MagentoUi/js/form/dataProvider”andextendittocustomizethespecificfieldswhendataisbeing populatedbyit

Answer:C

3/5

Thesafer,easierwaytohelpyoupassAdobeAD0-E718exam

7Youaretroubleshootinganissuewherearelatedproductruleisnotshowingtheproductexpectedbya user.

Yourunthiscommand:

binmagentocache:cleantargetrule

Whatimpactdoesthishave?

AProductstoDisplaycalculationwillbeclearedfromtheMagentocache

BHTMLoutputoftargetruleblockswillbeclearedfromtheMagentocache

CCachedselectstatementswillbeclearedfromtheMagentocache

DCachedselectstatementswillbeclearedfromactionselectcolumnofthemagentotargetruletable

Answer:D

8YouneedtobuildacustommoduletoaddanoticetotheAdvancedInventorysectionontheproduct form.Thenoticetextcanbespecifiedinthesystemconfiguration.

Howdoyouimplementthis?

A.Youaddapluginontheform\Magento\Cataiog\Ui\DataProvid«r\Product\Form\ProductDataProviderto addafieldintheAdvancedInventorysection

B.YOUaddapluginon

Magento\CatalogInventory\Ui\DataProvider\Product\Form\Modifier\AdvancedInventorytomodifythe Sectionmetadata

CYouinjectacustomblockintothereferencecontainerinthecatalogproductindexlayout

DYouaddafieldtoproductformxmlasachildofthestockdatafieldset

Answer:D

9Whenyoureferenceafactoryorproxyinaclassconstructor,theseclassesaregeneratedbydefault insidegenerateddirectory,iftheyarenotpresentincodebase WhichMagentoclassisresposibleforthis?

AObjectManager

B.FileManager

CClassManager

D.IntanceManager

Answer:A

10Youareimplementingarequirementtoexcludeallshippingrateslessthan$50ifthereisaspecific productintheshoppingcart.

Howdoyoudothis?

ACreateanafterpluginforthemethod\Magento\shiPping\Modei\shipPing::collectivesandaccessthe rateresultobjectusingthegetResuhomethodoftheShippingclassYoucanupdatethelistofratesin theresultobject

BCreateanobserverfortheeventshippingratescollectafter-Intheobserveryouhaveaccesstothe ratesresultobjectwhichcontainsalltheratesYoucansetanewlistofratestotheresultobject CCreateanafterpluginforthemethod

\Hageino\checkoutUpi\shippinginfonaationManageDein::getShippingRatesThemethodreturnsalistof rateswhichyoucanfilterintheplugin

4/5

Thesafer,easierwaytohelpyoupassAdobeAD0-E718exam

D.Createashoppingcartpricerulewithaconditionofhavingtheproductinthecartandanactionto excludeshippingrateslessthan$50

Answer:D

11YouaremakingamoduleMyCompanyMyModuleandthemerchantasksforanattributethatisonly availabletosimpleandconfigurableproductsThisneedstobedefinedinthecatalogeavattributetable Howcanwecreatethisbehaviorduringthecreationofthisattribute?

Answer:B

12Youneedtocreatealistofwarehouseswithasetofdetailsintheconfigurationvalues:warehouse name,warehousepostcodeForthis,supposeyoucreatedacustomconfigurationfileunderyour module'setc/warehouseslistxml

Nowwhatshouldbethenameofit'sXSDschemaforthisxmlfilevalidation:

Aetc/warehouseslistxsd

B.etc/xsd/warehouseslist.xsd

Cetc/warehouses/listxsd

D.xsd/warehouseslist.xsd

Answer:A

5/5
A) B) C) D) AOptionA BOptionB COptionC DOptionD

Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.