Halloween Sale - Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70dumps

AD0-E720 Questions and Answers

Question # 6

An Adobe commerce developer wants to initialize a JavaScript component using a data attribute. Which option would initialize the JavaScript component?

A.

B.

C.

Full Access
Question # 7

An Adobe Commerce developer has been asked to add text to an email template that supports translations. Which two options would they use during their implementation? (Choose two.)

A.

{{translations "Lorem Ipsum is simply dummy text of the printing"}}

B.

{{translations "%items items" items="numltems"}}

C.

{{trans "Lorem Ipsum is simply dummy text of the printing"}}

D.

{{trans "%items items" items="numltems"}}

Full Access
Question # 8

An Adobe Commerce developer was asked to customize a JavaScript component which is written as a function. How would the developer extend the native JavaScript function?

A)

B)

C)

A.

Option A

B.

Option B

C.

Option C

Full Access
Question # 9

What is the difference between styles-l.less and styles-m.less ?

A.

styles-i.less is used to generate basic and mobile-specific styles and stytes-m.less is used to generate desktop-specific styles.

B.

styles-i.less is used to generate desktop-specific styles and stytes-m.less is used to generate only mobile-specific styles.

C.

styles-i.less is used to generate desktop-specific styles and stytes-m.less is used to generate basic and mobile-specific styles.

Full Access
Question # 10

An Adobe Commerce developer needs to pass JSON data to a JavaScript component while keeping XSS prevention strategies in mind.

Which two options would the developer use? (Choose two.)

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 11

An Adobe Commerce developer wants to apply a knockout binding to a <div> to run a function, onClick(), when it's clicked. Which two solutions would the developer use to achieve this? (Choose two.)

A.

B.

<div><!-- ko click: 'onClick' --> <!-- /ko -->

C.

D.

Full Access
Question # 12

an Adobe commerce developer wants to override the core Magento Ul library dropdowns in your theme. Which is the correct way to achieve this?

A.

/web/css/source/_dropdowns.less

B.

lib/web/css/source/.dropdowns.less

C.

/web/css/source/lib/.dropdowns.less

Full Access
Question # 13

An Adobe Commerce developer has been asked to implement a custom font specifically for emails. The Adobe Commerce developer has already added their font into the file system.

Keeping best practice in mind, which two files would need to be implemented to show the custom font in the email?

A.

/Vendor/Theme/web/css/source/_extend.less

Use the ^import font function with the url of the custom font from the theme.

/Vendor/Theme/web/css/source/_email.less file

B.

Add in the styles to target the elements that require being changed.

/vendor/Theme/web/css/source/_typography.less

C.

Add in a lib-font-face mixin with the custom font name into the newly created file.

D.

Add the font-family into the <head></head> of the email within the email template.

Full Access
Question # 14

An Adobe Commerce developer needs to debug an issue, where the path of the block template was invalid and the warning was added to a log file. Which mode are errors only written to a log file and not displayed?

A.

developer only

B.

default and production

C.

developer and default

Full Access
Question # 15

An Adobe Commerce developer wants to initialize a JS component via Layout XML in custom reference block test. component. Which Layout XML instruction would be used to initialize this JS component?

A)

B)

C)

A.

Option A

B.

Option B

C.

Option C

Full Access