Question 740
An AL HttpClient integration already exchanges requests and responses with an external supplier, but it treats HTTP 429 or 503 responses as success during peak traffic. A targeted trial still reproduces the original gap after the team attempted this change: Inspect HTTP status and response body before declaring the exchange successful. Which repair directly addresses the remaining defect?
Explanation
Correct Answer
Add explicit success-status checks and suitable retry or failure handling for the returned response. This directly addresses the remaining defect for the requirement—An AL HttpClient integration already exchanges requests and responses with an external supplier, but it treats HTTP 429 or 503 responses as success during peak traffic. It restores the mechanism described here: transport completion does not imply application success; the status code and body determine whether the remote operation succeeded.
Incorrect Answers
This correction is for the separate condition: A warehouse connector posts text data to a service that requires a precise HTTP content type and encoding. It would not directly restore the intended behavior in this situation: An AL HttpClient integration already exchanges requests and responses with an external supplier, but it treats HTTP 429 or 503 responses as success during peak traffic. Here, add explicit success-status checks and suitable retry or failure handling for the returned response, because transport completion does not imply application success; the status code and body determine whether the remote operation succeeded.
This correction is for the separate condition: A supplier sync process risks logging live access tokens when the remote service returns an error. It would not directly restore the intended behavior in this situation: An AL HttpClient integration already exchanges requests and responses with an external supplier, but it treats HTTP 429 or 503 responses as success during peak traffic. Here, add explicit success-status checks and suitable retry or failure handling for the returned response, because transport completion does not imply application success; the status code and body determine whether the remote operation succeeded.
This correction is for the separate condition: A tax extension must submit a structured request to an authorized external tax engine and read its response. It would not directly restore the intended behavior in this situation: An AL HttpClient integration already exchanges requests and responses with an external supplier, but it treats HTTP 429 or 503 responses as success during peak traffic. Here, add explicit success-status checks and suitable retry or failure handling for the returned response, because transport completion does not imply application success; the status code and body determine whether the remote operation succeeded.





Microsoft Dynamics 365 Business Central Developer (MB-820) Practice Tests