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 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
25 days 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
Malcolm
4 days ago
I agree, option B does seem simpler and more flexible for handling warehouse selection logic.
upvoted 0 times
...
...
Malika
26 days 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
Jettie
3 days ago
User 2: I agree, 'Hagento' made me chuckle. Option B does seem like a cleaner solution though.
upvoted 0 times
...
Gwenn
4 days ago
User 1: Yeah, that typo in option C is pretty funny.
upvoted 0 times
...
...
Cherelle
1 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
14 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
22 days ago
C) Create an after plugin on Magento\\InventoryDistanceBasedSourceSelection\\Model\\Algorithms\\DistanceBasedAlgorithm to sort the warehouse sources by cost.
upvoted 0 times
...
Cory
28 days 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
1 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
Cordell
4 days ago
Agreed, having a class that implements the sourceSelectionInterface will help in easily sorting the warehouses based on cost.
upvoted 0 times
...
Talia
1 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