Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam MCD - Level 1 All Questions

View all questions & answers for the MCD - Level 1 exam

Exam MCD - Level 1 topic 1 question 103 discussion

Actual exam question from Mulesoft's MCD - Level 1
Question #: 103
Topic #: 1
[All MCD - Level 1 Questions]

Refer to the exhibits.


A web client sends a POST request with the payload { `oid`: `1000`. `itemid`: `AC200`, `qty`: `4` } to the Mule application. The File Write operation throws a
FILE:CONNECTIVITY error.
What response message is returned to the web client?

  • A. "FILE:CONNECTIVITY"
  • B. "ORDER:NOT_CREATED"
  • C. "OTHER ERROR"
  • D. "File written"
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
almoraima
Highly Voted 3 years, 8 months ago
B is correct
upvoted 17 times
LESANTI
3 years, 6 months ago
becouse the error of write operation is mapped like a order:not_created Error
upvoted 5 times
...
...
Dineshsinghal
Highly Voted 3 years, 5 months ago
Answer is B. I am not sure why examtopics is providing wrong answer for most of the questions.
upvoted 7 times
...
aook002
Most Recent 7 months, 1 week ago
Selected Answer: B
Error "FILE:CONNECTIVITY" is thrown. Because of Error mapping - treat "FILE:CONNECTIVITY" as a "ORDER:NOT_CREATED" error. The "ORDER:NOT_CREATED" error is handled via an Error On Continue, meaning the Status is 200 and the payload is set to "ORDER:NOT_CREATED". Therefore B.
upvoted 1 times
...
ExamDev
10 months ago
Selected Answer: B
B is correct.
upvoted 2 times
...
AntarJalil
10 months, 3 weeks ago
B is correct . I just re-created the scenario on studio to make sure. When debugging , I noticed that the "Write" step immediately is showing the error type "ORDER:NOT_CREATED" and then it goes strait to that corresponding error handling section and finally showing "ORDER:NOT_CREATED" as response.
upvoted 1 times
...
reklame_info
1 year ago
A is correct: When the FILE:CONNECTIVITY error is thrown by the File Write operation, it is caught by the On Error Continue scope with the type FILE:CONNECTIVITY. Since it is an On Error Continue scope, it will set the payload to "FILE:CONNECTIVITY" which is then sent in a response with the HTTP 200 OK success status response code. The error type mapping would affect the response, in a case of On Error Propagate, which then would not execute an error scope, would not set the payload and would not send a payload with the HTTP 200 OK success status response code.
upvoted 1 times
...
Maxroyo
2 years, 2 months ago
Selected Answer: B
B is correct
upvoted 1 times
...
frediepulgoso
2 years, 8 months ago
B is correct
upvoted 1 times
...
miguel_romero
2 years, 11 months ago
B is correct
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...