ExamGecko
Home / MuleSoft / MCD - Level 2 / List of questions
Ask Question

MuleSoft MCD - Level 2 Practice Test - Questions Answers, Page 4

Add to Whishlist

List of questions

Question 31

Report Export Collapse

In a Mule project, Flow-1 contains a flow-ref to Flow-2 depends on data from Flow-1 to execute successfully.

Which action ensures the test suites and test cases written for Flow-1 and Flow-2 will execute successfully?

Chain together the test suites and test cases for Flow-1 and Flow-2
Chain together the test suites and test cases for Flow-1 and Flow-2
Use ''Set Event to pass the input that is needed, and keep the test cases for Flow-1 and Flow-2 independent
Use ''Set Event to pass the input that is needed, and keep the test cases for Flow-1 and Flow-2 independent
Use ''Before Test Case'' To collect data from Flow-1 test cases before running Flow-2 test cases
Use ''Before Test Case'' To collect data from Flow-1 test cases before running Flow-2 test cases
Use 'After Test Case' to produce the data needed from Flow-1 test cases to pass to Flow-2 test cases
Use 'After Test Case' to produce the data needed from Flow-1 test cases to pass to Flow-2 test cases
Suggested answer: B
Explanation:

To ensure the test suites and test cases written for Flow-1 and Flow-2 will execute successfully, the developer should use a Set Event processor to pass the input that is needed by Flow-2, and keep the test cases for Flow-1 and Flow-2 independent. This way, the developer can isolate the testing of each flow and avoid coupling them together.

Reference: https://docs.mulesoft.com/munit/2.3/munit-test-flow

asked 18/09/2024
mahdis khaledi
51 questions

Question 32

Report Export Collapse

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?

Use an HTTP Connector to invoke the API and wait for a response
Use an HTTP Connector to invoke the API and wait for a response
Use a Scheduler to check for a response every minute
Use a Scheduler to check for a response every minute
Use an HTTP Connector inside Async scope to invoice the API and wait for a response
Use an HTTP Connector inside Async scope to invoice the API and wait for a response
Expose an HTTP callback API in Mule and register it with the external system
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 18/09/2024
Jessica Mahoney
45 questions

Question 33

Report Export Collapse

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?

MuleSoft MCD - Level 2 image Question 33 52823 09182024213621000000

nullPayload
nullPayload
originalPayload
originalPayload
OS:KEY_NOT_FOUND
OS:KEY_NOT_FOUND
testPayload
testPayload
Suggested answer: 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

asked 18/09/2024
test testsers
45 questions

Question 34

Report Export Collapse

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

XMLUnit
XMLUnit
Junit
Junit
MUnit Extensions Maven plugin
MUnit Extensions Maven plugin
MUnit Maven plugin
MUnit Maven plugin
Suggested answer: 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

asked 18/09/2024
Tommy Basnes
44 questions

Question 35

Report Export Collapse

Which statement is true when working with correlation IDS?

The HTTP Listener regenerates correlation IDs regardless of the HTTP request
The HTTP Listener regenerates correlation IDs regardless of the HTTP request
The Anypoint MQ Connector automatically propagates correlation IDS
The Anypoint MQ Connector automatically propagates correlation IDS
The HTTP Listener generates correlation IDS unless a correlation ID is received in the HTTP request
The HTTP Listener generates correlation IDS unless a correlation ID is received in the HTTP request
The VM Connector does not automatically propagate correction IDs
The VM Connector does not automatically propagate correction IDs
Suggested answer: 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

asked 18/09/2024
Mellisa Stroman
44 questions

Question 36

Report Export Collapse

Refer to the exhibit.

What is the result of the Mule Maven Plugin configuration of the value of property its,keystorePassoword in CloudHub 2.0?

MuleSoft MCD - Level 2 image Question 36 52826 09182024213621000000

Become a Premium Member for full access
  Unlock Premium Member

Question 37

Report Export Collapse

An organization uses CloudHub to deploy all of its applications.

How can a common-global-handler flow be configured so that it can be reused across all of the organization's deployed applications?

Become a Premium Member for full access
  Unlock Premium Member

Question 38

Report Export Collapse

A Mule API receives a JSON payload and updates the target system with the payload. The developer uses JSON schemas to ensure the data is valid.

How can the data be validation before posting to the target system?

Become a Premium Member for full access
  Unlock Premium Member

Question 39

Report Export Collapse

Which pattern should be used to invoke multiple HTTP APIs in parallel and roll back failed requests in sequence?

Become a Premium Member for full access
  Unlock Premium Member

Question 40

Report Export Collapse

Which properties are mandatory on the HTTP Connector configuration in order to use the OAuth 2.0 Authorization Code grant type for authentication?

Become a Premium Member for full access
  Unlock Premium Member
Total 60 questions
Go to page: of 6
Search

Related questions