Weekend Sale Special - 75% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: big75certs

Free and Premium Salesforce Mule-Dev-301 Dumps Questions Answers

Salesforce Certified MuleSoft Developer II Questions and Answers

Question 1

Refer to the exhibit.

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

Exhibit:

Options:

A.

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

B.

The HTTP Listener will only accept HTTP requests

C.

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

D.

The HTTP Listener will accept any unauthenticated request

Buy Now
Question 2

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?

Options:

A.

The application needs the public key from the backend service to encrypt the data

B.

The application needs both the private and public keys to encrypt the data

C.

The application needs the private key from the backend service to encrypt the data

D.

The application needs to configure HTTPS TLS context information to encrypt the data

Question 3

Refer to the exhibits.

The flow is invoking 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

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?

Exhibit:

Options:

A.

The HTTP Request operation will always succeed regardless of the CA

B.

The HTTP Request operation will succeed if the CA's certificate is present in the JRE's default truststore

C.

The HTTP Request operation will succeed if the CA's certificate is present in the JRE's default keystore

D.

The HTTP Request operation will always fail regardless of the CA

Question 4

Mule application A is deployed to CloudHub and is using Object Store v2. Mule application B is also deployed to CloudHub.

Which approach can Mule application B use to remove values from Mule application A's Object Store?

Options:

A.

CloudHub REST API

B.

CloudHub Connector

C.

Object Store v2 REST API

D.

Object Store Connector

Question 5

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:

Options:

A.

The Mule flow will execute successfully with status code 204

B.

The Mule flow will execute successfully with status code 200, and in response will display the message "Age in years which must be equal to or greater than zero."

C.

The Mule flow will throw the exception "JSON:SCHEMA_NOT_HONOURED"

D.

The Mule flow will execute successfully with status code 200, and the response will be the JSON sent in request

Question 6

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

Options:

A.

Write-behind invalidation

B.

Write-through invalidation

C.

Time to live

D.

Notification-based invalidation

Question 7

Multiple individual Mule applications need to use the Mule Maven plugin to deploy to CloudHub. The plugin configuration should be reused where necessary and anything project-specific should be property-based.

Where should the Mule Maven plugin details be configured?

Options:

A.

A Bill of Materials (BOM) parent pom

B.

A parent pom.xml

C.

pom.xml

D.

settings.xml

Question 8

Refer to the exhibit.

An API has been built to enable scheduling emails for a healthcare provider. The front-end system does very little data entry validation, and problems have started to appear in the emails that go out to patients. A "validate-customer" flow is added to validate the data.

What is the expected behavior of the "validate-customer" flow?

Exhibit:

Options:

A.

If the appointment date and customer name are invalid, a SCHEDULE:INVALID_APPOINTMENT_DATE error is raised

B.

If only the email address is invalid, a VALIDATION:INVALID_EMAIL error is raised

C.

If the email address is invalid, processing continues to see if the appointment date and customer name are also invalid

D.

If all of the values are invalid, the last validation error is raised: SCHEDULE:INVALID_CUSTOMER_NAME

Question 9

A healthcare portal needs to validate the token that it sends to a Mule API. The developer plans to implement a custom policy using the HTTP Policy Transform Extension to match the token received in the header from the healthcare portal.

Which files does the developer need to create in order to package the custom policy?

Options:

A.

XML template file, YAML configuration file

B.

Deployable ZIP file, YAML configuration file

C.

JSON properties file, XML template file

D.

JSON properties file, YAML configuration file

Question 10

A company with MuleSoft Titanium support develops a Salesforce System API using MuleSoft's 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?

Options:

A.

Access Anypoint Monitoring's built-in dashboard. Select a resource. Locate the information under the Connectors tab.

B.

Access Anypoint Monitoring's built-in dashboard. Select a resource. Locate the information under Log Management > Raw Data.

C.

Access Anypoint Monitoring's built-in dashboard. Select a resource. Create a custom dashboard to retrieve the information.

D.

Change the API implementation to capture the information in the log. Retrieve the information from the log file.

Question 11

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:

Options:

A.

The test case fails with an assertion error

B.

The test case fails with an unexpected error type

C.

The test case passes

D.

The test case throws an error and does not start

Question 12

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?

Options:

A.

error.errorMessage.payload.failures[2]

B.

payload.failures[2]

C.

payload[2]

D.

error.errorMessage.payload.results[2]

Question 13

A healthcare customer wants to use hospital system data, which includes code that was developed using legacy tools and methods. The customer has created reusable Java libraries in order to read the data from the system.

What is the most effective way to develop an API to retrieve the data from the hospital system?

Options:

A.

Install the libraries in a local repository and refer to it in the pom.xml file

B.

Refer to JAR files in the code

C.

Include the libraries while deploying the code into the runtime

D.

Create the Java code in your project and invoke the data from the code

Question 14

An order processing system is composed of multiple Mule applications responsible for warehouse, sales, and shipping. Each application communicates 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?

Options:

A.

Wrap all Anypoint MQ Publish operations within a With CorrelationID scope from the Tracing module, setting the correlation ID to the order ID

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.

Use the default correlation ID; Anypoint MQ will automatically propagate it

Question 15

Refer to the exhibit.

What required changes can be made to give a partial successful response in case the United Airlines API returns with a timeout?

Exhibit:

Options:

A.

Add Flow Reference components inside a Try scope. Set the payload to a default value "" inside the error handler using the On Error Continue scope.

B.

Add a Scatter-Gather component inside a Try Scope. Set the payload to a default value "Error" inside the error handler using the On Error Propagate scope.

C.

Add a Scatter-Gather component inside a Try Scope. Set the payload to a default value "Error" inside the error handler using the On Error Continue scope.

D.

Add Flow Reference components inside a Try Scope. Set the payload to a default value "" inside the error handler using the On Error Propagate scope.

Question 16

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?

Options:

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

Question 17

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?

Options:

A.

Use the Tracing module to set logging variables with a Mapped Diagnostic Context

B.

Set a flow variable and edit the log4j2.xml file to output the variable as part of the message pattern

C.

Use flow variables within every logger processor to log the order ID

D.

Create a custom XML SDK component to wrap the logger processor and automatically add the order ID within the connector

Question 18

When a client and server are exchanging messages during the mTLS handshake, what is being agreed on during the cipher suite exchange?

Options:

A.

The TLS version

B.

The public key format

C.

A protocol

D.

An encryption algorithm