Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Adobe Exam AD0-E720 Topic 2 Question 16 Discussion

Actual exam question for Adobe's AD0-E720 exam
Question #: 16
Topic #: 2
[All AD0-E720 Questions]

An Adobe Commerce developer needs to modify the width and height of all product images inside the theme Vendor/theme. What file inside the theme is responsible for these changes?

Show Suggested Answer Hide Answer
Suggested Answer: A

To customize a JavaScript component that is written as a function, the developer can use option A. This option will use the prototype property of the function to extend its functionality and add new methods or properties. For example:

function Component() { // Component logic }

Component.prototype.customMethod = function() { // Custom method logic };

This will create a new method called customMethod on the prototype of the Component function, which can be accessed by any instance of the Component object. The developer can also override existing methods or properties on the prototype by reassigning them with new values.

Option B is not correct because it will not extend the native JavaScript function, but create a new function that wraps the original function. This will not allow the developer to access or modify the properties or methods of the original function. Option C is not correct because it will not extend the native JavaScript function, but create a new object that inherits from the original function. This will not allow the developer to customize the original function itself, but only its instances.


Contribute your Thoughts:

Vonda
27 days ago
Maybe they're testing us on our ability to read between the lines... or is that just me being a little too 'meta' here?
upvoted 0 times
...
Ettie
27 days ago
I'm just hoping the correct answer isn't 'All of the above' - that would be a real head-scratcher!
upvoted 0 times
...
Danica
29 days ago
This is a tricky one, but I'm going to have to go with B. The view.xml file just seems like the most logical place for these kinds of theme-level image settings.
upvoted 0 times
...
Tommy
1 months ago
Nah, I'm pretty sure it's C. The theme.xml file is the main configuration file for the entire theme, so that's where you'd expect to find image settings.
upvoted 0 times
...
Theodora
1 months ago
I'm not so sure. The view.xml file is responsible for a lot of the visual configuration, so that might be the right answer.
upvoted 0 times
Merilyn
2 days ago
I'm not sure, it could also be images.xml.
upvoted 0 times
...
Annette
4 days ago
I think it might be the view.xml file.
upvoted 0 times
...
...
Catalina
2 months ago
I think the answer has to be A. The images.xml file is where you define the image settings, including the width and height.
upvoted 0 times
Sherrell
7 days ago
I'm pretty sure it's A) Vendor/theme/etc/images.xml. That's where you can make those changes for the product images.
upvoted 0 times
...
Quentin
15 days ago
Actually, I think C) Vendor/theme/etc/theme.xml is the file responsible for modifying the width and height of product images in the theme.
upvoted 0 times
...
Marguerita
1 months ago
No, I believe the correct file is B) Vendor/theme/etc/view.xml. That's where you can adjust the dimensions of product images.
upvoted 0 times
...
Teresita
2 months ago
I think the answer has to be A. The images.xml file is where you define the image settings, including the width and height.
upvoted 0 times
...
...
Frederica
2 months ago
I'm not sure, but I think it might be C) Vendor/theme/etc/theme.xml.
upvoted 0 times
...
Paris
3 months ago
I agree with Sherrell, because the view.xml file is responsible for layout configurations.
upvoted 0 times
...
Sherrell
3 months ago
I think the answer is B) Vendor/theme/etc/view.xml.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77