Exam MCD - Level 1 All QuestionsBrowse all questions from this exam
Question 73

Refer to the exhibits.

A web client sends a POST request to the HTTP Listener and the Validation component in the Try scope throws an error.

What response message is returned to the web client?

    Correct Answer: D

    When the validation component in the Try scope throws an error, the On Error Propagate component within the Try scope handles it first by setting the payload to 'ERROR1' and rethrowing the error. This propagated error is then handled by the On Error Continue component in the main flow's error handler, which sets the payload to 'ERROR2'. Consequently, the final response message returned to the web client is 'ERROR2'.

Discussion
almoraimaOption: D

D is correct

NirmalasaOption: D

D is correct

JaimeMongayOption: D

D es la correcta

calazansOption: D

D is correct

AntarJalilOption: D

D" is the correct option. I have builded this scenario in Studio and ERROR2 was the final response

rama75Option: A

A is correct

MaxroyoOption: D

The answer should be Error2. When the error is getting rethrown due to on error propagate, it will be captured in on error continue and hence the answer is Error2. In case, if there is NO on error continue exception handling, the error will be validation error.