Cert Magento Frontend AD0-E710 - Javascript - Part 1

Cert Magento Frontend AD0-E710 - Javascript - Part 1

Professional Development

15 Qs

quiz-placeholder

Similar activities

PHP

PHP

Professional Development

19 Qs

POP BIB-7

POP BIB-7

Professional Development

20 Qs

HTML & CSS

HTML & CSS

Professional Development

11 Qs

Perwira Gas (PeGAS) Forum Quiz

Perwira Gas (PeGAS) Forum Quiz

Professional Development

10 Qs

All TechEd Up

All TechEd Up

Professional Development

10 Qs

Coffee Morning TW 1 2022 Sesi 1

Coffee Morning TW 1 2022 Sesi 1

Professional Development

10 Qs

6. Service Blue Print Universal BPR

6. Service Blue Print Universal BPR

Professional Development

10 Qs

Manajemen Rantai Pasok

Manajemen Rantai Pasok

Professional Development

10 Qs

  Cert Magento Frontend AD0-E710 - Javascript - Part 1

Cert Magento Frontend AD0-E710 - Javascript - Part 1

Assessment

Quiz

Professional Development

Professional Development

Practice Problem

Hard

Created by

Kevin Dev

Used 7+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 10 pts

You are Explore JavaScript resources JS resources location. Where you can find the JS components of "Theme level, for a particular module" ?

(<theme_dir>/<VendorName>_<ModuleName>/web). Resources added here are available for [inheriting] themes

(lib/web). Resources located here are available in any place in Magento.

(<theme_dir>/web). Resources added here are available for [inheriting] themes.

 (<module_dir>/view/<areaname>/web). If the module is enabled, resources added here are available in other modules and themes.yy

2.

MULTIPLE CHOICE QUESTION

1 min • 10 pts

An Adobe Commerce developer needs to alias URLs and third party libraries inside a requirejs-config.js file. Which configuration would the developer use ?

paths: {    

‘thirdpartylib’: ‘library/file’,

‘thirdpartyurl’: ‘https://somelibrary.com/file’

}

 alias: {    

‘thirdpartylib’: ‘library/file’,

    ‘thirdpartyurl’:‘https://somelibrary.com/file’

}

map: {    

‘thirdpartylib’: ‘library/file’,

    ‘thirdpartyurl’: ‘https://somelibrary.com/file’

}

 shim: {    

‘thirdpartylib’: ‘library/file’,

    ‘thirdpartyurl’: ‘https://somelibrary.com/file’

}

3.

MULTIPLE CHOICE QUESTION

1 min • 10 pts

You are Accessing JS resources, JS resources are accessed using relative paths actual location: lib/web/jquery.js File published to pub/static: pub/static/<area>/Magento/<theme>/<locale>/jquery.js How to Called this script?

require(["jquery"], function($){ });

require(["jquery.js"], function($){ });

require(["lib/web/jquery.js"], function($){ });

require(["web/jquery.js"], function($){ });

4.

MULTIPLE CHOICE QUESTION

1 min • 10 pts

You are Accessing JS resources JS resources are accessed using relative paths.

File actual location: app/code/Magento/ConfigurableProduct/view/frontend/web/js/configurable.js

File published to pub/static: pub/static/frontend/Magento/<theme>/<locale>/Magento_ConfigurableProduct/js/configurable.js.

Here <theme> and <locale> are the currently applied in your instance theme and locale. How to Called in script?

require([“js/configurable"], function(){ });

require([

"Magento_ConfigurableProduct::js/configurable"

], function(Configurable){ });

require(["configurable"], function($){ });

require([

"Magento_ConfigurableProduct/js/configurable"

], function(Configurable){ });

5.

MULTIPLE CHOICE QUESTION

1 min • 10 pts

You are creating Dependencies between JavaScript resources To build a dependency on the third-party plugin, specify a [shim] in the following configuration files: requirejs-config.js

var config = { "shim": { "3-rd-party-plugin": ["jquery"] } };

What is content example of <third-party-plugin>.js ?

!(function($){

// plugin code

// where $ == jQuery

})(jQuery);

(function($){

// plugin code

// where $ == jQuery

})(jQuery);

(function($shim){

// plugin code

// where $ == jQuery

})(jQuery);

(function(shim){

// plugin code

// where $ == jQuery

})($);

6.

MULTIPLE CHOICE QUESTION

1 min • 10 pts

You are Explore JavaScript resources JS resources location. Where you can find the JS components of "Module level" ?

 (<theme_dir>/<VendorName>_<ModuleName>/web). Resources added here are available for [inheriting] themes

(lib/web). Resources located here are available in any place in Magento.

(<theme_dir>/web). Resources added here are available for [inheriting] themes.

 (<module_dir>/view/<areaname>/web). If the module is enabled, resources added here are available in other modules and themes.

7.

MULTIPLE SELECT QUESTION

1 min • 10 pts

By default, the Magento application uses the --- and ---to optimize the time of loading pages with included JavaScript files, and to manage dependencies of JavaScript resources. (Select one or more of the following:)

module loader

 AngularJS

VueJs

RequireJS

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?