exam questions

Exam AD0-E718 All Questions

View all questions & answers for the AD0-E718 exam

Exam AD0-E718 topic 1 question 13 discussion

Actual exam question from Adobe's AD0-E718
Question #: 13
Topic #: 1
[All AD0-E718 Questions]

An Architect needs to integrate an Adobe Commerce store with a new Shipping Carrier. Cart data is sent to the Shipping Carrier’s API to retrieve the price and display to the customer. After the feature is implemented on the store, the API hits its quota and returns the error “Too many requests”. The Shipping Carrier warns the store about sending too many requests with the same content to the API.
In the carrier model, what should the Architect change to fix the problem?

  • A. Implement _setCacheQuotes()and _getCacheQuotes(), return the data if the request matches.
  • B. In _doShipmentRequest(), call canCollectRates() before sending request to the API.
  • C. Override getResponse(), save the response to a variable, check if the response exists, then return.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
brightkhan
1 year, 9 months ago
Answer is A. canCollectRates check is shipping enable doShipmentRequest generate shipping level
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago