Weekend Sale - Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70xmasdy

Welcome To DumpsPedia

Mule-Dev-301 Sample Questions Answers

Questions 4

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

Buy Now
Questions 5

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:

5

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

Buy Now
Questions 6

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

Exhibit:

6

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

Buy Now
Questions 7

Refer to the exhibit.

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

Exhibit:

7

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
Questions 8

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:

8

Exhibits - Options C and D:

8

Options:

A.

Configuration shown in Exhibit A

B.

Configuration shown in Exhibit B

C.

Configuration shown in Exhibit C

D.

Configuration shown in Exhibit D

Buy Now
Questions 9

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

Buy Now
Questions 10

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:

10

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

Buy Now
Questions 11

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

What needs to be configured for the flowRef attribute of the autodiscovery global element?

Options:

A.

The name of the flow that has APIkit Console to receive all incoming RESTful operation requests

B.

Nothing because flowRef is an optional attribute which can be passed during runtime

C.

The name of the flow that has HTTP Listener to receive all incoming RESTful operation requests

D.

Any of the APIkit generated implementation flows

Buy Now
Questions 12

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

Buy Now
Questions 13

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?

Options:

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

Buy Now
Questions 14

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

Buy Now
Questions 15

Refer to the exhibit.

What is the result of the Mule Maven Plugin configuration of the value of property tls.keystore.keyPassword in CloudHub 2.0?

Exhibit:

15

Options:

A.

Runtime Manager masks the value

B.

CloudHub encrypts the value

C.

Anypoint Studio secures the value

D.

The Mule server encrypts the value

Buy Now
Questions 16

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?

Options:

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

Buy Now
Questions 17

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?

Options:

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

Buy Now
Questions 18

In a Mule project, Flow-1 contains a flow-ref to Flow-2. 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?

Options:

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 data that is needed, and keep the test cases for Flow-1 and Flow-2 independent

Buy Now
Exam Code: Mule-Dev-301
Exam Name: Salesforce Certified MuleSoft Developer II
Last Update: Oct 12, 2026
Questions: 60

PDF + Testing Engine

$51.42 $171.4

Testing Engine

$38.57 $128.55

PDF (Q&A)

$42.85 $142.82