Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Adobe AD0-E717 Exam - Topic 7 Question 36 Discussion

Which file is used to add a custom router class to the list of routers?
A) routes.xml
B) di.xml
C) config.xml

Adobe AD0-E717 Exam - Topic 7 Question 36 Discussion

Actual exam question for Adobe's AD0-E717 exam
Question #: 36
Topic #: 7
[All AD0-E717 Questions]

Which file is used to add a custom router class to the list of routers?

Show Suggested Answer Hide Answer
Suggested Answer: A, D

On an Adobe Commerce Cloud Enhanced Integration Environment, enabling Fastly CDN (Content Delivery Network) can significantly improve performance by caching content closer to the user's location, reducing load times. Additionally, removing all of the integration's inactive branches helps to optimize the environment by decluttering and focusing resources on active development. Restricting catalog size may not be feasible or desirable, and disabling cron jobs can disrupt necessary background operations unless specifically needed for performance testing or troubleshooting.


Contribute your Thoughts:

0/2000 characters
Erick
7 months ago
Really? I had no idea it was di.xml!
upvoted 0 times
...
Rolande
7 months ago
Wait, are you sure? I always thought routes.xml was involved.
upvoted 0 times
...
Norah
7 months ago
Yeah, I agree with Loren, di.xml is the one!
upvoted 0 times
...
Cecily
7 months ago
I thought it was config.xml?
upvoted 0 times
...
Loren
7 months ago
It's definitely di.xml for custom routers.
upvoted 0 times
...
Whitley
8 months ago
I definitely remember routes.xml being mentioned, but I can't recall if it was specifically for custom routers.
upvoted 0 times
...
Glenn
8 months ago
I’m leaning towards config.xml, but I could be mixing it up with another topic.
upvoted 0 times
...
Chantell
8 months ago
I feel like we practiced a similar question, and I want to say it's di.xml, but that might be for dependency injection.
upvoted 0 times
...
Bea
8 months ago
I think it's routes.xml, but I'm not entirely sure. I remember it being related to routing configurations.
upvoted 0 times
...
Andree
8 months ago
I'm leaning towards C. config.xml, since that's where a lot of Magento configuration is done, including routing. But I could be wrong.
upvoted 0 times
...
Loren
8 months ago
The question mentions a "custom router class", so I'm guessing the answer is B. di.xml, since that's where you'd register any custom classes.
upvoted 0 times
...
Christiane
8 months ago
Hmm, I'm not sure about this one. I'll have to review my notes on Magento routing to be more confident in my answer.
upvoted 0 times
...
Carole
8 months ago
I think it's B. di.xml is where you configure the dependency injection, which includes registering custom router classes.
upvoted 0 times
...
Freeman
1 year ago
I'm gonna go with option D) the 'magic.xml' file. It's where all the real sorcery happens, trust me.
upvoted 0 times
...
Nikita
1 year ago
Ah, the classic 'which file do I need to edit' question. I'd say we should just throw the whole codebase out and start over, that's the only way to be sure.
upvoted 0 times
...
Twanna
1 year ago
Wait, is this a trick question? I thought we had to use the 'addRouter' method in our code to add a custom router. What's this file business all about?
upvoted 0 times
Ashleigh
11 months ago
config.xml is used for general configuration settings, not for adding custom routers.
upvoted 0 times
...
Cathern
12 months ago
C) config.xml
upvoted 0 times
...
Felice
12 months ago
di.xml is used for dependency injection, not for adding custom routers.
upvoted 0 times
...
Aliza
12 months ago
B) di.xml
upvoted 0 times
...
Tori
1 year ago
No, you can also add a custom router class by configuring it in the routes.xml file.
upvoted 0 times
...
Merissa
1 year ago
A) routes.xml
upvoted 0 times
...
...
Lorean
1 year ago
Haha, it's obviously routes.xml, that's where we define our routes, duh!
upvoted 0 times
...
Bambi
1 year ago
Hmm, I think config.xml is where we configure the routers, but I could be wrong.
upvoted 0 times
Alline
12 months ago
Yeah, that's correct!
upvoted 0 times
...
Cory
12 months ago
C) config.xml
upvoted 0 times
...
Eveline
12 months ago
I think it's config.xml too.
upvoted 0 times
...
Tequila
1 year ago
C) config.xml is not the file used to add a custom router class.
upvoted 0 times
...
Katina
1 year ago
C) config.xml
upvoted 0 times
...
Shenika
1 year ago
B) di.xml is not the file used to add a custom router class.
upvoted 0 times
...
Graham
1 year ago
B) di.xml
upvoted 0 times
...
Demetra
1 year ago
A) routes.xml
upvoted 0 times
...
Estrella
1 year ago
A) routes.xml is the correct file to add a custom router class.
upvoted 0 times
...
...
Anisha
1 year ago
That makes sense, but I still think it's A) routes.xml because it specifically deals with routing
upvoted 0 times
...
Ben
1 year ago
I'm pretty sure it's di.xml, that's where we define all our custom dependencies.
upvoted 0 times
Dolores
1 year ago
No, I'm pretty sure it's di.xml because that's where we define custom dependencies.
upvoted 0 times
...
Gerald
1 year ago
I think it's routes.xml, that's where we configure the routing for the application.
upvoted 0 times
...
...
Tamekia
1 year ago
I disagree, I believe the answer is B) di.xml because it handles dependency injection
upvoted 0 times
...
Anisha
1 year ago
I think the answer is A) routes.xml
upvoted 0 times
...

Save Cancel