Question 410
After fixing this issue, what policy would best prevent regression: A payment create action times out after acceptance and a blind retry duplicates charges?
Explanation
Correct Answer
The continuing risk arises from Retry policy and transient faults: Transient HTTP and connector errors can be retried safely only when operations support retry/idempotency. Retain this safeguard: Never assume replaying a create request is safe merely because the first call timed out. It addresses the recurring failure mode as a lasting operational boundary. In the stated case, A payment create action times out after acceptance and a blind retry duplicates charges.
Incorrect Answers
Flow action expressions: Expressions should handle nulls, numeric conversion and dynamic content types correctly. The Flow action expressions measure could pass while the case-specific verification remains unmet.
Scopes and run-after: Scopes and Configure run after support explicit failure handling in cloud flows. It does not meet the specific verification: never assume replaying a create request is safe merely because the first call timed out.
Connector selection: Connectors expose supported operations and authentication methods; a custom connector may be needed for unique APIs. This is a separate issue; the scenario instead describes a payment create action times out after acceptance and a blind retry duplicates charges.