Salesforce Salesforce MuleSoft

Salesforce Salesforce-MuleSoft-Developer-II Practice Test & Study Guide

Salesforce Certified MuleSoft Developer 2 (SU24)

Exam code
Salesforce-MuleSoft-Developer-II
Questions
60
Updated
25 Nov 2026

What's in the Salesforce-MuleSoft-Developer-II study guide

  • 60practice questions with answers
  • PDFread and print on any device
  • Test enginepractice and exam modes online
  • 90 daysof free updates
  • Instant access from My Account after payment
  • 90 days of free updates
  • Money-back guarantee – see conditions
  • Help by live chat or email

Price$99

Choose a format

Prices in USD. Downloads appear in My Account once your order is complete.

  • Instant access from My Account after payment
  • 90 days of free updates
  • Money-back guarantee – see conditions
  • Help by live chat or email
Free demo

Salesforce-MuleSoft-Developer-II sample questions

Check the style and quality of the material before you buy.

Question 1

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

  • A. XMLUnit
  • B. Junit
  • C. MUnit Extensions Maven plugin
  • D. MUnit Maven plugin

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. References: https://docs.mulesoft.com/mule-sdk/1.1/xml-sdk#testing

Question 2

An order processing system is composed of multiple Mule application responsible for warehouse, sales and shipping. Each application communication using Anypoint MQ. Eachmessage must be correlated against the original order ID for observability and tracing.How should a developer propagate the order ID as the correlation ID across eachmessage?

  • A. Use the underlying HTTP request of Anypoint MQ to set the ‘X-CORRELATION_ID’header to the order ID
  • B. Set a custom Anypoint MQ user property to propagate the order ID and set thecorrelation ID in the receiving applications.
  • C. Use the default correlation ID, Anypoint MQ will sutomatically propagate it.
  • D. Wrap all Anypoint MQ Publish operations within a With CorrelationID scope from theTracing module, setting the correlation ID to the order ID

Answer: D

Explanation

To propagate the order ID as the correlation ID across each message using Anypoint MQ, the developer should wrap all Anypoint MQ Publish operations within a With CorrelationID scope from the Tracing module, setting the correlation ID to the order ID. The With CorrelationID scope allows setting a custom correlation ID for any event that occurs within it. The Tracing module also enables distributed tracing across different Mule applications and services using Anypoint Monitoring. References:

Question 3

A Mule application deployed to multiple Cloudhub 2.0 replicas needs to temporarily persistlarge files over 10MB between flow executions, and routinely needs to query whether thefile data exists on separate executions.How can this be achieved?

  • A. Store the contents of the file on separate storage, and store the key and location of thefile Object using Object Store v2
  • B. Use an in-memory Object Store
  • C. Store the key and full contents of the file in an Object Store
  • D. Store the key and full contents of the file, caching the filename and location betweenrequests

Answer: A

Explanation

To temporarily persist large files over 10MB between flow executions, and routinely query whether the file data exists on separate executions, the developer should store the contents of the file on separate storage, and store the key and location of the file object using Object Store v2. This way, the developer can avoid storing large files in memory or exceeding the size limit of Object Store v2 (10MB per object). The developer can also use Object Store v2 operations to query, retrieve, or delete the file object by its key. References: https://docs.mulesoft.com/object-store/osv2-faq#can-i-store-files-inobject-

store-v2

Question 4

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

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. References: https://docs.mulesoft.com/muleruntime/

4.3/about-mule-message#message-attributes

Question 5

A Mule application defines as SSL/TLS keystore properly ‘tis,keystore.keyPassword’’ assecure.How can this property be referenced to access its value within the application?

  • A. #{secure::tiskeystore,keyPassowrd}
  • B. ${secure::tiskeystore,keyPassowrd}
  • C. ${secure::tiskeystore,keyPassowrd}
  • D. p{secure::tiskeystore,keyPassowrd}

Answer: B

Explanation

secure::tiskeystore,keyPassowrdShortExplanationofCorrectAnswerOnly:Toreferenceasecur epropertyvaluewithintheapplication,thedeveloperneedstousethesyntax{secure::}. In this case, the property name is tiskeystore,keyPassword, so the correct syntax is ${secure::tiskeystore,keyPassowrd}. References: https://docs.mulesoft.com/muleruntime/

4.3/secure-configuration-properties#referencing-secure-properties

Question 6

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

  • A. In Design Center, open the RAML and modify each operation to include the majorversion number
  • B. In Anypoint Studio, generate scaffolding from the RAML, and the modify the<http:listerner> in the generated flows to include a parameter to replace the versionnumber
  • C. In Design Center, open the RAML and modify baseUn to include a variable thatindicates the version number
  • D. In Anypoint Studio, generate scaffolding from the RAML, and then modify the flownames generated by APIKit to include a variable with the major version number

Answer: C

Explanation

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. References: https://docs.mulesoft.com/api-designer/design-modify-ramlspecs # baseuri https://docs.mulesoft.com/api-manager/2.x/api-versioning

Question 7

An API has been developed and deployed to CloudHub Among the policies applied to thisAPI is an allowlist of IP addresses. A developer wants to run a test in Anypoint Studio anddoes not want any policies applied because their workstation is not included in the allowlist.What must the developer do in order to run this test locally without the policies applied?

  • A. Create a properties file specifically for local development and set the API instance ID toa value that is not used in API Manager
  • B. Pass in the runtime parameter ‘’-Danpow.platform.gatekeeper=disabled’’
  • C. Deactivate the API in API Manager so the Autodiscovery element will not find theapplication when it runs in Studio
  • D. Run the test as-s, with no changes because the Studio runtime will not attempt toconnect to API Manager

Answer: B

Explanation

To run a test locally without the policies applied, the developer should create a properties file specifically for local development and set the API instance ID to a value that is not used in API Manager. This way, the developer can use different configuration properties for different environments and avoid triggering API autodiscovery when running tests locally. API autodiscovery is a mechanism that associates an API implementation with its corresponding API specification and policies in API Manager based on its API instance ID. By setting this ID to a value that does not exist in API Manager, the developer can prevent API autodiscovery from finding and applying any policies to the local test.

References

Question 8

Mule application A is deployed to CloudHub and is using Object Store v2. Mute applicationB is also deployed to CloudHub.Which approach can Mule application B use to remove values from Mule application A’SObject Store?

  • A. Object Store v2 REST API
  • B. CloudHub Connector
  • C. Object Store Connector
  • D. CloudHub REST API

Answer: A

Explanation

To remove values from Mule application A’s Object Store v2, Mule application B can use Object Store v2 REST API. This API allows performing operations on Object Store v2 resources using HTTP methods, such as GET, POST, PUT, and DELETE. Mule application B can use the DELETE method to remove values from Mule application A’s Object Store v2 by specifying the object store ID and the key of the value to delete.

References

Question 9

Which statement is true about using mutual TLS to secure an application?

  • A. Mutual TLS requires a hardware security module to be used
  • B. Mutual TLS authenticates the identity of the server before the identity of the client
  • C. Mutual TLS ensures only authorized end users are allowed to access an endpoint
  • D. Mutual TLS increases the encryption strength versus server-side TLS alone

Answer: B

Explanation

Mutual TLS (mTLS) is an extension of TLS that requires both parties (client and server) to present their certificates to each other during the handshake process. This way, both parties can verify each other’s identity and establish a secure connection. The authentication of the server happens before the authentication of the client, as the server sends its certificate first and then requests the client’s certificate. References:

Question 10

A Mule application need to invoice an API hosted by an external system to initiate aprocess. The external API takes anywhere between one minute and 24 hours to computeits process.Which implementation should be used to get response data from the external API after itcompletes processing?

  • 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
  • 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

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. References: https://docs.mulesoft.com/mule-runtime/4.3/http-listenerref # callback

Why RealExamCollection is the best choice for Salesforce Salesforce-MuleSoft-Developer-II exam preparation

Secure your position in a competitive IT industry

The Salesforce Salesforce-MuleSoft-Developer-II certification is a strong way to demonstrate your understanding and ability. Our Salesforce-MuleSoft-Developer-II questions & answers help you prepare for it, so you can secure your current position and move your career forward.

Reviewed by IT professionals

We keep our Salesforce-MuleSoft-Developer-II practice questions up to date, with explanations. The questions and answers on RealExamCollection are reviewed by people with professional experience of Salesforce technologies.

One place to prepare

RealExamCollection brings together the material you need for the Salesforce Salesforce-MuleSoft-Developer-II exam. Explanations are added to the questions to help you understand the logic behind them and prepare for other Salesforce exams.

Updated Salesforce-MuleSoft-Developer-II questions & answers

We update the exam files regularly to add new questions. The date of the latest update is shown at the top of this page.

Free Salesforce-MuleSoft-Developer-II demo before you buy

You can view sample Salesforce-MuleSoft-Developer-II questions on this page before buying, to see the format and pattern of the material.

90 days of free updates

You are eligible for 90 days of free updates after buying the Salesforce-MuleSoft-Developer-II exam. If the file is updated in that time, you can download the latest version from your account.

Ready to prepare?

Salesforce Salesforce-MuleSoft-Developer-II · 60 questions

Choose a format