Black Friday Rush: 75% Off All Exam Bundles! Apply the coupon code below before the offer expires! - Ends in 0d 00h 00m 00s - Coupon code: newyear

Salesforce Mule-Dev-301 - Salesforce Certified MuleSoft Developer II

Page: 1 / 2
Total 60 questions

Which command is used to convert a JKS keystore to PKCS12?

A.

keytool -importkeystore -srckeystore keystore.jks -srcstoretype PKCS12 -destkeystore keystore.p12 -deststoretype JKS

B.

keytool -importkeystore -srckeystore keystore.jks -srcstoretype JKS -destkeystore keystore.p12 -deststoretype PKCS12

C.

keytool -importkeystore -srckeystore keystore.p12 -srcstoretype PKCS12 -destkeystore keystore.jks -deststoretype JKS

D.

keytool -importkeystore -srckeystore keystore.p12 -srcstoretype JKS -destkeystore keystore.p12 -deststoretype PKCS12

A Mule application needs to invoke an API hosted by an external system to initiate a process. The external API takes anywhere between one minute and 24 hours to complete its process.

Which implementation should be used to get response data from the external API after it completes processing?

A.

Expose an HTTP callback API in Mule and register it with the external system

B.

Use a Scheduler to check for a response every minute

C.

Use an HTTP Connector inside Async scope to invoke the API and wait for a response

D.

Use an HTTP Connector to invoke the API and wait for a response

A System API that communicates to an underlying MySQL database is deployed to CloudHub. The DevOps team requires a readiness endpoint to monitor all system APIs.

Which strategy should be used to implement this endpoint?

A.

Use an existing resource endpoint of the API

B.

Create a dedicated endpoint that responds with the API status and reachability of the underlying systems

C.

Create a dedicated endpoint that responds with the API status only

D.

Create a dedicated endpoint that responds with the API status and health of the server

A Flight Management System publishes gate change notification events whenever a flight's arrival gate changes. Other systems, including Baggage Handler System, Inflight Catering System, and Passenger Notifications System, must each asynchronously receive the same gate change notification to process the event accordingly.

Which configuration is required in Anypoint MQ to achieve this publish/subscribe model?

A.

Publish the gate change notification to an Anypoint MQ exchange. Have each client subscribe directly to the exchange.

B.

Publish the gate change notification to an Anypoint MQ queue. Create different Anypoint MQ exchanges meant for each of the other subscribing systems. Bind the queue with each of the exchanges.

C.

Publish the gate change notification to an Anypoint MQ queue. Have each client subscribe directly to the queue.

D.

Publish the gate change notification to an Anypoint MQ exchange. Create different Anypoint MQ queues meant for each of the other subscribing systems. Bind the exchange with each of the queues.

A new Mule project has been created in Anypoint Studio with the default settings.

Which file inside the Mule project must be modified before using Maven to successfully deploy the application?

A.

config.yaml

B.

settings.xml

C.

pom.xml

D.

mule-artifact.json

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 validated before posting to the target system?

A.

Add the JSON module dependency and add the validate schema operation in the flow, configured to reference the schema

B.

Using the DataWeave If Else condition, test the values of the payload against the examples included in the schema

C.

Apply the JSON Schema policy in API Manager and reference the correct schema in the policy configuration

D.

Use a DataWeave 2.0 transform operation, and at the top of the DataWeave script, add: %dw 2.0 / import json-module

A Mule application deployed to a standalone Mule runtime uses VM queues to publish messages to be consumed asynchronously by another flow.

In the case of a system failure, what will happen to in-flight messages in the VM queues that have not been consumed?

A.

For persistent queues, the message will be processed after the system comes online

B.

For transient queues, the message will be processed after the system comes online

C.

For any type of queue, the message will be lost

D.

For any type of queue, the message will be processed after the system comes online

A scatter-gather router is configured with four routes: Route A, B, C and D.

Route C fails.

Which expression allows access to the failing route so that it can be compensated?

A.

error.errorMessage.payload.failures[2]

B.

payload.failures[2]

C.

payload[2]

D.

error.errorMessage.payload.results[2]

Two APIs are deployed to a two-node on-prem cluster. Due to a requirements change, the two APIs must communicate to exchange data asynchronously.

How can this be solved?

A.

Instead of using the VM Connector use directly

B.

It is not possible to use the VM Connector since the APIs are running in a cluster mode and each node has its own set of VM Queues

C.

If the two APIs use the same domain, VM Connector can be leveraged

D.

The VM Connector is used for inter-application communication, so it is not possible to use the VM Connector

A Mule application exposes an API for creating payments. An Operations team wants to ensure that the Payments API is up and running at all times in production.

Which approach should be used to test that the Payments API is working in production?

A.

Create a health check endpoint that reuses the same port number and HTTP Listener configuration as the API itself

B.

Configure the application to send health data to an external system

C.

Create a health check endpoint that listens on a separate port and uses a separate HTTP Listener configuration from the API

D.

Monitor the Payments API directly, sending real customer payment data