Mule-Dev-301 Salesforce Certified MuleSoft Developer II Questions and Answers
The Center for Enablement team published a common application as a reusable module to the central Nexus repository.
How can the common application be included in all API implementations?
Refer to the exhibits.
A Mule application's pom.xml configures the Maven Resources plugin to exclude parsing binary files in the project's src/main/resources/certs directory.
Which configuration of this plugin achieves a successful build?
Exhibits - Options A and B:

Exhibits - Options C and D:

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 developer is working on a project that requires encrypting all data before sending it to a backend application. To accomplish this, the developer will use PGP encryption in the Mule 4 Cryptography module.
What is required to encrypt the data before sending it to the backend application?
Refer to the exhibits.
Based on the code snippet, schema.json file, and payload below, what is the outcome of the given code snippet when a request is sent with the payload?
Exhibits:

Refer to the exhibits.
The flow name is "implementation" with code for the MUnit test case.
When the MUnit test case is executed, what is the expected result?
Exhibit:

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 Mule implementation uses an HTTP Request within an Until Successful scope to connect to an API.
How should a permanent error response like HTTP:UNAUTHORIZED be handled inside Until Successful to reduce latency?
A Mule application deployed to multiple CloudHub 2.0 replicas needs to temporarily persist large files over 10MB between flow executions, and routinely needs to query whether the file data exists on separate executions.
How can this be achieved?
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?
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?
When a client and server are exchanging messages during the mTLS handshake, what is being agreed on during the cipher suite exchange?
A Mule application for processing orders must log the order ID for every log message output.
What is a best practice to enrich every log message with the order ID?
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?