2026 Latest Salesforce-MuleSoft-Developer-II dumps Exam Material with 62 Questions [Q23-Q39]

Share

2026 Latest Salesforce-MuleSoft-Developer-II dumps Exam Material with 62 Questions

Salesforce Salesforce-MuleSoft-Developer-II Questions and Answers Guarantee you Oass the Test Easily

NEW QUESTION # 23
Which pattern can a web API use to notify its client of state changes as soon as they occur?

  • A. Shared database trigger
  • B. HTTP Webhock
  • C. ETL data load
  • D. Schedule Event Publisher

Answer: B

Explanation:
A web API can use HTTP Webhook to notify its client of state changes as soon as they occur. A webhook is an HTTP callback that allows an API to send real-time notifications to another system or application when an event happens. The client registers a URL with the API where it wants to receive notifications, and then the API sends an HTTP request to that URL with information about the event. Reference: https://docs.mulesoft.com/connectors/webhook/webhook-connector


NEW QUESTION # 24
When implementing a synchronous API where the event source is an HTTP Listener, a developer needs to return the same correlation ID back to the caller in the HTTP response header.
How can this be achieved?

  • A. Configure a custom correlation policy
  • B. Enable the auto-generate CorrelationID option when scaffolding the flow
  • C. NO action is needed as the correlation ID is returned to the caller in the response header by default
  • D. Enable the CorrelationID checkbox in the HTTP Listener configuration

Answer: C

Explanation:
When implementing a synchronous API where the event source is an HTTP Listener, Mule automatically propagates some message attributes between flows via outbound and inbound properties. One of these attributes is correlation ID, which is returned to the caller in the response header by default as MULE_CORRELATION_ID. Reference: https://docs.mulesoft.com/mule-runtime/4.3/about-mule-message#message-attributes


NEW QUESTION # 25
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?

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

Answer: D

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


NEW QUESTION # 26
A mule application exposes and API for creating payments. An Operations team wants to ensure that the Payment API is up and running at all times in production.
Which approach should be used to test that the payment API is working in production?

  • A. Configure the application to send health data to an external system
  • B. Create a health check endpoint that reuses the same port number and HTTP Listener configuration as the API itself
  • C. Monitor the Payment API directly sending real customer payment data
  • D. Create a health check endpoint that listens on a separate port and uses a separate HTTP Listener configuration from the API

Answer: D

Explanation:
To test that the payment API is working in production, the developer should create a health check endpoint that listens on a separate port and uses a separate HTTP Listener configuration from the API. This way, the developer can isolate the health check endpoint from the API traffic and avoid affecting the performance or availability of the API. The health check endpoint should return a simple response that indicates the status of the API, such as OK or ERROR. Reference: https://docs.mulesoft.com/api-functional-monitoring/afm-create-monitor#create-a-monitor


NEW QUESTION # 27
Refer to the exhibit.

When creating a new project, which API implementation allows for selecting the correct API version and scaffolding the flows from the API specification?

  • A. Import RAML from local file
  • B. Generate a local RAML from anypoint Studio
  • C. Download RAML from Design Center
  • D. Import a published API

Answer: C

Explanation:
To create a new project that selects the correct API version and scaffolds the flows from the API specification, the developer should import a published API. This option allows importing an API specification that has been published to Anypoint Exchange or Design Center, and selecting a specific version of that API specification. The developer can also choose to scaffold flows based on that API specification. Reference: https://docs.mulesoft.com/apikit/4.x/apikit-4-new-project-task


NEW QUESTION # 28
A Mule implementation uses a HTTP Request within an Unit Successful scope to connect to an API.
How should a permanent error response like HTTP:UNAUTHORIZED be handle inside Until Successful to reduce latency?

  • A. Configure retrying until a MULERETRY_EXHAUSTED error is raised or the API responds back with a successful response.
  • B. Put the HTTP Request inside a try scope in Unit Successful.
    In the error handler, use On Error Continue to catch permanent errors like HTTP UNAUTHORIZED.
  • C. In Until Successful configuration, set the retry count to 1 for error type HTTP: UNAUTHORIZED.
  • D. Put the HTTP Request inside a try scope in Unit Successful.
    In the error handler, use On Error Propagate to catch permanent errors like HTTP UNAUTHORIZED.

Answer: B

Explanation:
To handle a permanent error response like HTTP:UNAUTHORIZED inside Until Successful, the developer should put the HTTP Request inside a try scope in Unit Successful, and use On Error Continue to catch permanent errors like HTTP UNAUTHORIZED in the error handler. This way, the developer can avoid retrying requests that will always fail due to a permanent error, and reduce latency. On Error Continue allows the flow to continue processing after handling the error. Reference: https://docs.mulesoft.com/mule-runtime/4.3/until-successful-scope https://docs.mulesoft.com/mule-runtime/4.3/on-error-continue-concept


NEW QUESTION # 29
An order processing system is composed of multiple Mule application responsible for warehouse, sales and shipping. Each application communication using Anypoint MQ. Each message 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 each message?

  • A. Use the default correlation ID, Anypoint MQ will sutomatically propagate it.
  • B. Use the underlying HTTP request of Anypoint MQ to set the 'X-CORRELATION_ID' header to the order ID
  • C. Set a custom Anypoint MQ user property to propagate the order ID and set the correlation ID in the receiving applications.
  • D. Wrap all Anypoint MQ Publish operations within a With CorrelationID scope from the Tracing 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. Reference: https://docs.mulesoft.com/tracing-module/1.0/tracing-module-reference#with-correlation-id-scope https://docs.mulesoft.com/tracing-module/1.0/tracing-module-concepts


NEW QUESTION # 30
A Mule application uses API autodiscovery to access and enforce policies for a RESTful implementation.

  • A. The name of the flow that has APlkit Console to receive all incoming RESTful operation requests.
  • B. Any of the APIkit generate implement flows
  • C. Northing because flowRef is an optional attribute which can be passed runtime
  • D. The name of the flow that has HTTP listener to receive all incoming RESTful operation requests

Answer: D

Explanation:
To use API autodiscovery to access and enforce policies for a RESTful implementation, flowRef must be set to the name of the flow that has HTTP listener to receive all incoming RESTful operation requests. This way, API autodiscovery can identify the API implementation and associate it with the corresponding API specification and policies in API Manager. The flow that has HTTP listener is usually the main flow that contains the APIKit Router. Reference: https://docs.mulesoft.com/api-manager/2.x/api-auto-discovery-new-concept#flowref


NEW QUESTION # 31
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 passes
  • B. The test case fails with an unexpected error type
  • C. The test throws an error and does not start
  • D. The test case fails with an assertion error

Answer: D

Explanation:
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/2.3/assert-equals-processor


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

  • A. Notification-based invalidation
  • B. Write-through invalidation
  • C. White-behind invalidation
  • D. Time to live

Answer: D

Explanation:
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. Reference: https://docs.mulesoft.com/mule-runtime/4.3/cache-scope#cache_invalidation


NEW QUESTION # 33
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?

  • A. testPayload
  • B. OS:KEY_NOT_FOUND
  • C. nullPayload
  • D. originalPayload

Answer: C

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


NEW QUESTION # 34
A Mule application defines as SSL/TLS keystore properly 'tis,keystore.keyPassword'' as secure.
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: A

Explanation:
secure::tiskeystore,keyPassowrd∗∗ShortExplanationofCorrectAnswerOnly:Toreferenceasecurepropertyvaluewithintheapplication,thedeveloperneedstousethesyntax{secure::}. In this case, the property name is tiskeystore,keyPassword, so the correct syntax is ${secure::tiskeystore,keyPassowrd}. Reference: https://docs.mulesoft.com/mule-runtime/4.3/secure-configuration-properties#referencing-secure-properties


NEW QUESTION # 35
The flow is invoicing a target API. The API's protocol is HTTPS. The TLS configuration in the HTTP Request Configuration global element is set to None. A web client submits a request to http:localhost:8081/vehicles.

If the certificate of the target API is signed by a certificate authority (CA), what is true about the HTTP Request operation when the flow executes?

  • A. The HTTP Request operation will succeed if the CA's certificate is present in the JRE's default truststore.
  • B. The HTTP Request operation will succeed if the CA'S certificate is present in the JRE's default keystore
  • C. The HTTP Request operation will always fail regardless of the CA
  • D. The HTTP Request operation will always succeed regardless of the CA

Answer: A

Explanation:
The HTTP Request operation will use the default truststore of the JRE to validate the certificate of the target API. If the CA's certificate is present in the truststore, the operation will succeed. Otherwise, it will fail with a handshake exception. Reference: https://docs.mulesoft.com/mule-runtime/4.3/tls-configuration#tls-default


NEW QUESTION # 36
An API has been built to enable scheduling email provider. The front-end system does very little data entry validation, and problems have started to appear in the email that go to patients. A validate-customer'' flow is added validate the data.
What is he expected behavior of the 'validate-customer'' flow?

  • A. If the email address is invalid, processing continues to see if the appointment data and customer name are also invalid
  • B. If only the email address Is invalid a VALIDATION.INVALID_EMAIL error is raised
  • C. If all of the values are invalid the last validation error is raised:SCHEDULE:INVALID_CUSTOMER_NAME
  • D. If the appointment date and customer name are invalid, a SCHEDULE:INVALID_APPOINTMENT_DATE error is raised

Answer: B

Explanation:
The validate-customer flow uses an until-successful scope to validate each field of the customer data. The until-successful scope executes its processors until they succeed or exhausts the maximum number of retries. If any processor fails, it raises an error and stops executing the remaining processors. Therefore, if only the email address is invalid, a VALIDATION.INVALID_EMAIL error is raised and the validation of appointment date and customer name is skipped. Reference: https://docs.mulesoft.com/mule-runtime/4.3/until-successful-scope


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

  • A. Scatter-Gather as central Saga orchestrator for all API request with compensating actions for failing routes
  • B. A Parallel for Each scope with each HTTP request wrapped in a Try scope
  • C. VM queues as a reliability pattern with error handlers to roll back any requests
  • D. A database as a transactional outbox and an Until Successful router to retry any requests

Answer: A

Explanation:
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. Reference: https://docs.mulesoft.com/mule-runtime/4.3/scatter-gather-concept https://docs.mulesoft.com/mule-runtime/4.3/saga


NEW QUESTION # 38
A company with MuleSoft Titanium develops a Salesforce System API using MuleSoft out-of-the-box Salesforce Connector and deploys the API to CloudHub.
Which steps provide the average number of requests and average response time of the Salesforce Connector?

  • A. Change the API Implementation to capture the information in the log.
    Retrieve the information from the log file.
  • B. Access Anypoint Monitoring built-in dashboard.
    Select a resource.
    Locate the information under Log Manager < Raw Data.
  • C. Access Anypoint Monitoring's built-in dashboard. Select a resource.
    Locate the information under the Connectors tab.
  • D. Access Anypoint Monitoring's built-in dashboard
    Seclect a resource.
    Create a custom dashboard to retrieve the information.

Answer: C

Explanation:
To get the average number of requests and average response time of the Salesforce Connector, the developer should access Anypoint Monitoring's built-in dashboard, select a resource (such as an application or an API), and locate the information under the Connectors tab. The Connectors tab shows metrics for each connector used by the resource, such as average requests per minute, average response time, and failures. Reference: https://docs.mulesoft.com/monitoring/built-in-dashboard-reference


NEW QUESTION # 39
......


Salesforce Salesforce-MuleSoft-Developer-II Exam Syllabus Topics:

TopicDetails
Topic 1
  • Secure Data at Rest and in Transit: This topic involves implementing secure, environment-dependent properties management. It discusses creating, packaging, and distributing keys and certificates. Moreover, the topic also includes exposing and invoking APIs over HTTPS.
Topic 2
  • Implement Maintainable and Modular Mule Applications and Their Maven Builds: This topic covers modularizing and optimizing Mule application Maven build configurations. It discusses implementing Maven-based automated deployments to Mule runtimes. The topic also includes executing MUnit tests with Maven.
Topic 3
  • Expose Production-Ready Anypoint Platform-Managed APIs from Mule Applications: This topic includes implementing versioning of API-related artifacts and configuring custom or out-of-the-box API policies. Additionally, it covers server-side caching of API invocations using policies, requesting access to APIs, and implementing HTTP callbacks.
Topic 4
  • Implement Performant and Reliable Mule Applications: It discusses implementing ObjectStore and ensuring fault-tolerant, performant, and traceable message passing with VM and AnypointMQ connectors. The topic also covers fault-tolerant invocations of HTTP-based APIs, validating assertions and messages.
Topic 5
  • Implement Monitorable Mule Applications: This topic encompasses exposing Health Check endpoints from a Mule application and implementing effective logging. It also includes changing log levels, aggregating, and analyzing logs. Furthermore it involves monitoring Mule applications and implementing message correlation.

 

Share Latest Salesforce-MuleSoft-Developer-II DUMP Questions and Answers: https://www.dumpstorrent.com/Salesforce-MuleSoft-Developer-II-exam-dumps-torrent.html