ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 60 - MCD - Level 1 discussion

Report
Export

Refer to the exhibit.

The main flow is configured with their error handlers. A web client submit a request to the HTTP Listener and the HTTP Request throws an HTTP:NOT_FOUND error.

What response message is returned?''

What response message is returned?

A.
APP: API RESOURCE NOT FOUND
Answers
A.
APP: API RESOURCE NOT FOUND
B.
HTTP: NOT FOUND
Answers
B.
HTTP: NOT FOUND
C.
other error
Answers
C.
other error
D.
success - main flow
Answers
D.
success - main flow
Suggested answer: A

Explanation:

Correct answer is APP: API RESOURCE NOT FOUND

---------------------------------------------------------------------------------------------------------------------------------------------------

1) A web client submits the request to the HTTP Listener.

2) The HTTP Request throws an 'HTTP:NOT_FOUND' error, execution halts.

3) The On Error Propagate error Handler handles the error. In this case ,HTTP:NOT_FOUND error is mapped to custom error APP:API_RESOURCE_NOT_FOUND. This error processor sets payload to APP:API_RESOURCE_NOT_FOUND.

4) ''APP:API_RESOURCE_NOT_FOUND. '' is the error message returned to the requestor in the body of the HTTP request with HTTP Status Code: 500

Reference Diagram:

asked 18/09/2024
Akram Abou Soultan
32 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first