nerdexam
Salesforce

ARC-300 · Question #25

Northern Trail Outfitters uses an Order Management system (OMS), which creates an order tracking number for every order 24 hours after receiving it. The OMS provides only a web-service interface to…

The correct answer is C. Configure circuit breaker and timeout for the OMS web service call to prevent thread exhaustion. See the full explanation below for the reasoning.

Question

Northern Trail Outfitters uses an Order Management system (OMS), which creates an order tracking number for every order 24 hours after receiving it. The OMS provides only a web-service interface to get this tracking number. There is a job that updates this tracking number for exported orders, which were last modified yesterday. Part of this jobs code looks like the following:

Based on the above description and code snippet, which coding best practice should the Architect enforce?

Options

  • APost-processing of search results is a bad practice that needs to be corrected.
  • BThe transaction for updating of orders needs to be rewritten to avoid problems with transaction
  • CConfigure circuit breaker and timeout for the OMS web service call to prevent thread exhaustion.
  • DStandard order import should be used instead of modifying multiple order objects with custom

How the community answered

(37 responses)
  • A
    5% (2)
  • B
    16% (6)
  • C
    70% (26)
  • D
    8% (3)

Community Discussion

No community discussion yet for this question.

Full ARC-300 Practice