ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 72 - MCIA - Level 1 discussion

Report
Export

An external REST client periodically sends an array of records in a single POST request to a Mule application API endpoint.

The Mule application must validate each record of the request against a JSON schema before sending it to a downstream system in the same order that it was received in the array Record processing will take place inside a router or scope that calls a child flow. The child flow has its own error handling defined. Any validation or communication failures should not prevent further processing of the remaining records.

To best address these requirements what is the most idiomatic(used for it intended purpose) router or scope to used in the parent flow, and what type of error handler should be used in the child flow?

A.
First Successful router in the parent flowOn Error Continue error handler in the child flow
Answers
A.
First Successful router in the parent flowOn Error Continue error handler in the child flow
B.
For Each scope in the parent flowOn Error Continue error handler in the child flow
Answers
B.
For Each scope in the parent flowOn Error Continue error handler in the child flow
C.
Parallel For Each scope in the parent flowOn Error Propagate error handler in the child flow
Answers
C.
Parallel For Each scope in the parent flowOn Error Propagate error handler in the child flow
D.
Until Successful router in the parent flowOn Error Propagate error handler in the child flow
Answers
D.
Until Successful router in the parent flowOn Error Propagate error handler in the child flow
Suggested answer: B

Explanation:

Correct answer is For Each scope in the parent flow On Error Continue error handler in the child flow.

You can extract below set of requirements from the question a) Records should be sent to downstream system in the same order that it was received in the array b) Any validation or communication failures should not prevent further processing of the remaining records First requirement can be met using For Each scope in the parent flow and second requirement can be met using On Error Continue scope in child flow so that error will be suppressed.

asked 18/09/2024
Eb Store
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first