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-E722 Topic 1 Question 19 Discussion

Actual exam question for Adobe's AD0-E722 exam
Question #: 19
Topic #: 1
[All AD0-E722 Questions]

A client has multiple warehouses where orders can be fulfilled. The cost of shipping goods from each warehouse varies by day, due to the number of workers available. The Architect needs to make sure that when an order is shipped, it is shipped from the lowest cost warehouse that is open.

How should this functionality be implemented?

Show Suggested Answer Hide Answer
Suggested Answer: B, C, E

The Architect can take the following steps to ensure validation of the configuration files with unique validation rules for the individual and merged files:

Create validation rules in marketplace.schema.xsd. This file defines the structure and constraints of the XML elements and attributes for the marketplace.feeds.xml configuration file. The Architect can use this file to specify the required and optional elements, data types, values, and patterns for the configuration file.

Provide schema to validate a merged file. This schema is used to validate the final configuration file that is generated after merging all the individual configuration files from different modules. The Architect can use this schema to check the consistency and completeness of the merged configuration file.

Provide schema to validate an individual file. This schema is used to validate each individual configuration file from each module before merging them. The Architect can use this schema to check the syntax and validity of each configuration file.


Contribute your Thoughts:

Fannie
1 months ago
Option A seems a bit too specific. I think creating a new class that handles the warehouse selection logic is a better approach. B or C would both work, but B looks a bit simpler to implement.
upvoted 0 times
Shawna
21 hours ago
I think option B is the way to go for implementing the functionality to select the lowest-cost warehouse for shipping orders.
upvoted 0 times
...
Jaclyn
10 days ago
Yes, creating a new class implementing Magento\\inventorySourceSelectionApi\\Model\\sourceSelectionInterface to sort open warehouses by cost sounds like a good approach.
upvoted 0 times
...
Malcolm
19 days ago
I agree, option B does seem simpler and more flexible for handling warehouse selection logic.
upvoted 0 times
...
...
Malika
1 months ago
Haha, I love the typo in option C. 'Hagento'? Definitely going to remember that one. But in all seriousness, I think option B is the way to go. It's a cleaner solution than modifying the core code.
upvoted 0 times
Mertie
15 days ago
User 3: Definitely, modifying core code can lead to more issues. Option B for the win!
upvoted 0 times
...
Jettie
18 days ago
User 2: I agree, 'Hagento' made me chuckle. Option B does seem like a cleaner solution though.
upvoted 0 times
...
Gwenn
19 days ago
User 1: Yeah, that typo in option C is pretty funny.
upvoted 0 times
...
...
Cherelle
2 months ago
I'm not sure about B. Wouldn't that require modifying the core Magento code? I think C might be a better option, as it allows us to create a plugin to sort the warehouse sources by cost.
upvoted 0 times
Teddy
29 days ago
I'm not sure about B. Wouldn't that require modifying the core Magento code? I think C might be a better option, as it allows us to create a plugin to sort the warehouse sources by cost.
upvoted 0 times
...
Peggy
1 months ago
C) Create an after plugin on Magento\\InventoryDistanceBasedSourceSelection\\Model\\Algorithms\\DistanceBasedAlgorithm to sort the warehouse sources by cost.
upvoted 0 times
...
Cory
1 months ago
A) Create a new class as a preference for Magento\\inventoryShipping\\plugin\\Sales\\shipment\\AssignSourceCodeToShipmentPlugin to set the lowest-cost warehouse on a shipment.
upvoted 0 times
...
...
Barrett
2 months ago
B seems like the right approach. Creating a new class that implements the sourceSelectionInterface and returns the open warehouses sorted by cost seems to be the most straightforward solution.
upvoted 0 times
Jonell
13 days ago
Definitely, implementing a class that returns open warehouses sorted by cost will streamline the process of selecting the best warehouse for shipping.
upvoted 0 times
...
Izetta
14 days ago
That sounds like a good plan. Sorting the warehouses by cost will ensure that orders are shipped from the lowest-cost warehouse.
upvoted 0 times
...
Cordell
19 days ago
Agreed, having a class that implements the sourceSelectionInterface will help in easily sorting the warehouses based on cost.
upvoted 0 times
...
Talia
2 months ago
I think option B is the way to go. It makes sense to create a new class that sorts the open warehouses by cost.
upvoted 0 times
...
...
Nickolas
2 months ago
I see your points, but I think option C is the way to go as it sorts Warehouse sources by cost using a Distance Based Algorithm.
upvoted 0 times
...
Cassie
2 months ago
I disagree, I believe option B is more efficient as it returns open warehouses sorted by cost, giving more flexibility.
upvoted 0 times
...
Malissa
2 months ago
I think option A is the best choice because it directly sets the lowest-cost warehouse on a shipment.
upvoted 0 times
...

Save Cancel