Exam2pass
0 items Sign In or Register
  • Home
  • IT Exams
  • Guarantee
  • FAQs
  • Reviews
  • Contact Us
  • Demo
Exam2pass > Salesforce > Salesforce Certifications > SALESFORCE-MULESOFT-DEVELOPER-II > SALESFORCE-MULESOFT-DEVELOPER-II Online Practice Questions and Answers

SALESFORCE-MULESOFT-DEVELOPER-II Online Practice Questions and Answers

Questions 4

Which type of cache invalidation does the Cache scope support without having to write any additional code?

A. Write-through invalidation

B. White-behind invalidation

C. Time to live

D. Notification-based invalidation

Buy Now

Correct Answer: C

The Cache scope supports time to live (TTL) as a cache invalidation strategy without having to write any additional code. TTL specifies how long the cached response is valid before it expires and needs to be refreshed. The Cache scope also supports custom invalidation strategies using MEL or DataWeave expressions. https://docs.mulesoft.com/mule-runtime.3/cachescope# cache_invalidation

Questions 5

What is the MuleSoft recommended method to encrypt sensitive property data?

A. The encryption key and sensitive data should be different for each environment

B. The encryption key should be identical for all environments

C. The encryption key should be identical for all environments and the sensitive data should be different for each environment

D. The encryption key should be different for each environment and the sensitive data should be the same for all environments

Buy Now

Correct Answer: A

The MuleSoft recommended method to encrypt sensitive property data is to use the Secure Properties Tool that comes with Anypoint Studio. This tool allows encrypting properties files with a secret key and then decrypting them at runtime using the same key. The encryption key and sensitive data should be different for each environment to ensure security and avoid accidental exposure of sensitive data. https:// docs.mulesoft.com/mule-runtime.3/secure-configurationproperties

Questions 6

Which statement is true when working with correlation IDS?

A. The HTTP Listener regenerates correlation IDs regardless of the HTTP request

B. The Anypoint MQ Connector automatically propagates correlation IDS

C. The HTTP Listener generates correlation IDS unless a correlation ID is received in the HTTP request

D. The VM Connector does not automatically propagate correction IDs

Buy Now

Correct Answer: C

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. https://docs.mulesoft.com/mule-runtime.3/about-mule-message#message-attributes

Questions 7

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

A. A database as a transactional outbox and an Until Successful router to retry any requests

B. A Parallel for Each scope with each HTTP request wrapped in a Try scope

C. Scatter-Gather as central Saga orchestrator for all API request with compensating actions for failing routes

D. VM queues as a reliability pattern with error handlers to roll back any requests

Buy Now

Correct Answer: C

To invoke multiple HTTP APIs in parallel and roll back failed requests in sequence, the developer should use a Scatter-Gather router as a central Saga orchestrator for all API requests with compensating actions for failing routes. A Scatter-Gather router executes multiple routes concurrently and aggregates the results. A Saga orchestrator coordinates a series of actions across different services and handles failures by executing compensating actions. Therefore, using a Scatter- Gather router as a Saga orchestrator allows invoking multiple HTTP APIs in parallel and rolling back any failed requests in sequence. https://docs.mulesoft.com/ mule-runtime.3/scattergather-concept https://docs.mulesoft.com/mule-runtime.3/saga

Questions 8

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

A. External callback URL, access token URL, client ID response access token

B. Token URL, authorization URL, client ID, client secret local callback URL

C. External callback URL, access token URL, client ID, response refresh token

D. External callback URL, access token URL, local authorization URL, authorization URL, client ID, client secret

Buy Now

Correct Answer: D

To use the OAuth 2.0 Authorization Code grant type for authentication, the HTTP Connector configuration requires the following properties: token URL, authorization URL, client ID, client secret, and local callback URL. The token URL is the endpoint of the authorization server that provides access tokens. The authorization URL is the endpoint of the authorization server that initiates the user consent flow. The client ID and client secret are the credentials of the Mule application registered with the authorization server. The local callback URL is the endpoint of the Mule application that receives the authorization code from the authorization server. Reference: https://docs.mulesoft.com/http-connector.6/http-authentication#oauth-2-0

Questions 9

Bioinfo System API is implemented and published to Anypoint Exchange. A developer wants to invoke this API using its REST Connector. What should be added to the POM?

A. Option A

B. Option B

C. Option C

D. Option D

E. Option E

Buy Now

Correct Answer: E

To invoke Bioinfo System API using its REST Connector, option E should be added to the pom.xml file.

This option adds a dependency for Bioinfo System API REST Connector with its group ID, artifact ID, version, classifier, and type. The classifier specifies that it is a REST Connector (raml-client), and the type specifies that it is a Mule plugin

(mule-plugin).

Reference:

https://docs.mulesoft.com/apikit.x/apikit-4-generate-from-rest-api-task#add-the-api-dependencyto-the-pom-file

Questions 10

Refer to the exhibit.

The flow name is "implementation'' with code for the MUnit test case. When the MUnit test case is executed, what is the expected result?

A. The test case fails with an assertion error

B. The test throws an error and does not start

C. The test case fails with an unexpected error type

D. The test case passes

Buy Now

Correct Answer: A

Based on the code snippet and MUnit test case below, when the MUnit test case is executed, the expected result is that the test case fails with an assertion error. This is because the assert-equals processor compares two values for equality,

and fails if they are not equal. In this case, the expected value is "Hello World', but the actual value returned by the implementation flow is "Hello Mule'. Therefore, the assertion fails and an error is thrown.

Reference:

https://docs.mulesoft.com/munit.3/assert-equals-processor

Questions 11

A Mule application includes a subflow containing a Scatter.Gather scope. Within each log of the Scatter.Gatter. an HTTP connector calls a PUT endpoint to modify records in different upstream system. The subflow is called inside an Unit successful scope to retry if a transitory exception is raised. A technical spike is being performed to increase reliability of the Mule application. Which steps should be performed within the Mule flow above the ensure idempontent behavior?

A. Change the PUT requests inside the Scatter-Gather to POST requests

B. Ensure an error-handling flow performs corrective actions to roll back all changes if any leg of the Scatter- Gather fails

C. Remove the Put requests from the Scatter-Getter and perform them sequentially

D. None, the flow already exhibits idempotent behavior

Buy Now

Correct Answer: B

To ensure idempotent behavior within a Mule flow that contains a subflow with a Scatter-Gather scope, the developer should ensure an error-handling flow performs corrective actions to roll back all changes if any leg of the Scatter-Gather fails. Idempotency means that multiple identical requests have the same effect as a single request. Therefore, if one of the HTTP requests inside the Scatter- Gather fails, the error-handling flow should undo any changes made by other successful requests to ensure consistency and avoid partial updates. https://docs.mulesoft.com/muleruntime/4.3/scatter-gather-concept https://docs.mulesoft.com/mule-runtime.3/error-handling

Questions 12

Refer to the exhibit.

What is the result if "Insecure'' selected as part of the HTTP Listener configuration?

A. The HTTP Listener will trust any certificate presented by the HTTP client

B. The HTTP Lister will accept any unauthenticated request

C. The HTTP listener will only accept HTTP requests

D. Mutual TLS authentication will be enabled between this HTTP Listener and an HTTP client

Buy Now

Correct Answer: C

Based on the exhibit below, if "Insecure' is selected as part of the HTTP Listener configuration, the HTTP listener will only accept HTTP requests. This means that no TLS context will be configured for this listener and no encryption or

authentication will be applied to incoming requests. The protocol attribute of this listener will be set to HTTP instead of HTTPS.

Reference:

https://docs.mulesoft.com/http-connector.6/http-listener-ref#insecure

Questions 13

A developer has created the first version of an API designed for business partners to work commodity prices. What should developer do to allow more than one major version of the same API to be exposed by the implementation?

A. In Design Center, open the RAML and modify each operation to include the major version number

B. In Anypoint Studio, generate scaffolding from the RAML, and the modify the in the generated flows to include a parameter to replace the version number

C. In Design Center, open the RAML and modify baseUn to include a variable that indicates the version number

D. In Anypoint Studio, generate scaffolding from the RAML, and then modify the flow names generated by APIKit to include a variable with the major version number

Buy Now

Correct Answer: C

To allow more than one major version of the same API to be exposed by the implementation, the developer should modify the baseUri property in the RAML file to include a variable that indicates the version number. The baseUri property defines the base URL of the API and can include variables that are replaced with actual values when mocking or deploying the API. By using a variable for the version number, the developer can expose different versions of the API using different base URLs and avoid conflicts or confusion. https:// docs.mulesoft.com/api-designer/design-modifyraml-specs#baseuri https://docs.mulesoft.com/api-manager.x/api-versioning

Exam Code: SALESFORCE-MULESOFT-DEVELOPER-II
Exam Name: Salesforce Certified MuleSoft Developer II (Mule-Dev-301)
Last Update: May 30, 2026
Questions: 60

PDF (Q&A)

$45.99
ADD TO CART

VCE

$49.99
ADD TO CART

PDF + VCE

$59.99
ADD TO CART

Exam2Pass----The Most Reliable Exam Preparation Assistance

There are tens of thousands of certification exam dumps provided on the internet. And how to choose the most reliable one among them is the first problem one certification candidate should face. Exam2Pass provide a shot cut to pass the exam and get the certification. If you need help on any questions or any Exam2Pass exam PDF and VCE simulators, customer support team is ready to help at any time when required.

Home | Guarantee & Policy |  Privacy & Policy |  Terms & Conditions |  How to buy |  FAQs |  About Us |  Contact Us |  Demo |  Reviews

2026 Copyright @ exam2pass.com All trademarks are the property of their respective vendors. We are not associated with any of them.