Free MCD-Level-2 Exam Braindumps (page: 5)

Page 5 of 16

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?

  1. Use an HTTP Connector to invoke the API and wait for a response
  2. Use a Scheduler to check for a response every minute
  3. Use an HTTP Connector inside Async scope to invoice the API and wait for a response
  4. Expose an HTTP callback API in Mule and register it with the external system

Answer(s): 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



Refer to the exhibit.
A Mute Object Store is configured with an entry TTL of one second and an expiration interval of 30 seconds.

What is the result of the flow if processing between os'store and os:retrieve takes 10 seconds?

  1. nullPayload
  2. originalPayload
  3. OS:KEY_NOT_FOUND
  4. testPayload

Answer(s): A

Explanation:

The result of the flow is nullPayload if processing between os:store and os:retrieve takes 10 seconds. This is because the entry TTL of the object store is one second, which means that any stored value expires after one second and is removed from the object store. The expiration interval of 30 seconds only determines how often the object store checks for expired values, but it does not affect the TTL. Therefore, when os:retrieve tries to get the value after 10 seconds, it returns nullPayload because the value has already expired and been removed.


Reference:

https://docs.mulesoft.com/object- store/osv2-faq#how-does-the-time-to-live-work



Which plugin or dependency is required to unit test modules created with XML SDK?

  1. XMLUnit
  2. Junit
  3. MUnit Extensions Maven plugin
  4. MUnit Maven plugin

Answer(s): C

Explanation:

To unit test modules created with XML SDK, the developer needs to use the MUnit Extensions Maven plugin. This plugin allows testing XML SDK modules using MUnit by adding a dependency to the module under test and using a custom processor tag to invoke it.


Reference:

https://docs.mulesoft.com/mule-sdk/1.1/xml-sdk#testing



Which statement is true when working with correlation IDS?

  1. The HTTP Listener regenerates correlation IDs regardless of the HTTP request
  2. The Anypoint MQ Connector automatically propagates correlation IDS
  3. The HTTP Listener generates correlation IDS unless a correlation ID is received in the HTTP request
  4. The VM Connector does not automatically propagate correction IDs

Answer(s): C

Explanation:

When working with correlation IDs, the HTTP Listener generates correlation IDs unless a correlation ID is received in the HTTP request. In that case, it propagates the received correlation ID throughout the flow execution. Correlation IDs are used to track events across different flows or applications.


Reference:

https://docs.mulesoft.com/mule-runtime/4.3/about-mule-message#message-attributes



Page 5 of 16



Post your Comments and Discuss MuleSoft MCD-Level-2 exam with other Community members:

Anonymous commented on November 10, 2024
Good ONE FOR mcd l2
INDIA
upvote

RM commented on October 30, 2024
Thank you for the dumps
Anonymous
upvote

Champ commented on September 26, 2024
Good to see that something is still free. I truly appreciate this service.
Mexico
upvote