ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 8 - Certified MuleSoft Developer II discussion

Report
Export

A Mule application contain two policies Policy A and Policy A has order1, and Policy B has order 2. Policy A Policy B, and a flow are defined by he configuration below.

When a HTTP request arrives at the Mule application's endpoint, what will be the execution order?

A.
A1, B1, F1, B2, A2
Answers
A.
A1, B1, F1, B2, A2
B.
B1, A1, F1, A2, B2
Answers
B.
B1, A1, F1, A2, B2
C.
F1, A1, B1, B2, A2
Answers
C.
F1, A1, B1, B2, A2
D.
F1, B1, A1, A2, B2
Answers
D.
F1, B1, A1, A2, B2
Suggested answer: A

Explanation:

Based on the configuration below, when a HTTP request arrives at the Mule application's endpoint, the execution order will be A1, B1, F1, B2, A2. This is because policies are executed before and after the API implementation flow according to their order attribute. Policy A has order 1, which means it is executed first before Policy B, which has order 2. The flow is executed after both policies are executed before the flow. Then, Policy B is executed after the flow before Policy A is executed after the flow.

Reference: https://docs.mulesoft.com/api-manager/2.x/policies-policy-order

asked 23/09/2024
DOMINIC FERNANDEZ
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first