ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 29 - Certified MuleSoft Developer II discussion

Report
Export

A Mule application need to invoice an API hosted by an external system to initiate a process. The external API takes anywhere between one minute and 24 hours to compute its process.

Which implementation should be used to get response data from the external API after it completes processing?

A.
Use an HTTP Connector to invoke the API and wait for a response
Answers
A.
Use an HTTP Connector to invoke the API and wait for a response
B.
Use a Scheduler to check for a response every minute
Answers
B.
Use a Scheduler to check for a response every minute
C.
Use an HTTP Connector inside Async scope to invoice the API and wait for a response
Answers
C.
Use an HTTP Connector inside Async scope to invoice the API and wait for a response
D.
Expose an HTTP callback API in Mule and register it with the external system
Answers
D.
Expose an HTTP callback API in Mule and register it with the external system
Suggested answer: D

Explanation:

To get response data from the external API after it completes processing, the developer should expose an HTTP callback API in Mule and register it with the external system. This way, the external API can invoke the callback API with the response data when it is ready, instead of making the Mule application wait for a long time or poll for a response repeatedly.

Reference: https://docs.mulesoft.com/mule-runtime/4.3/http-listener-ref#callback

asked 23/09/2024
Vangelis Gouloutis
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first