Halloween Special Limited Time Flat 70% Discount offer - Ends in 0d 00h 00m 00s - Coupon code: 70spcl

Salesforce Salesforce-MuleSoft-Developer-II Salesforce Certified MuleSoft Developer 2 (SU24) Exam Practice Test

Page: 1 / 6
Total 60 questions

Salesforce Certified MuleSoft Developer 2 (SU24) Questions and Answers

Question 1

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

Options:

A.

A protocol

B.

The TLS version

C.

An encryption algorithm

D.

The Public key format

Question 2

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?

Options:

A.

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

B.

Configure the application to send health data to an external system

C.

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

D.

Monitor the Payment API directly sending real customer payment data

Question 3

A developer has created the first version of an API designed for business partners to work commodity prices.

What should developer do to allow more than one major version of the same API to be exposed by the implementation?

Options:

A.

In Design Center, open the RAML and modify each operation to include the major version number

B.

In Anypoint Studio, generate scaffolding from the RAML, and the modify the in the generated flows to include a parameter to replace the version number

C.

In Design Center, open the RAML and modify baseUn to include a variable that indicates the version number

D.

In Anypoint Studio, generate scaffolding from the RAML, and then modify the flow names generated by APIKit to include a variable with the major version number

Question 4

Refer to the exhibit.

Question # 4

A developer generates the base scaffolding for an API in Anypoint Studio.

Which HTTP status code is returned while testing using the API Kit console if no values are entered in client-secret?

Options:

A.

HTTP status code:200

B.

HTTP status code:403

C.

HTTP status code:400

D.

HTTP status code:500

Question 5

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?

Options:

A.

Settings.xml

B.

Config.yaml

C.

Pom.xml

D.

Mule.artificact.json

Question 6

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?

Options:

A.

Download the common application from Naxus and copy it to the src/main/resources folder in the API

B.

Copy the common application’s source XML file and out it in a new flow file in the src/main/mule folder

C.

Add a Maven dependency in the PCM file with multiple-plugin as

D.

Add a Maven dependency in the POM file with jar as

Question 7

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

Route C false.

Options:

A.

Error,errorMesage.payload.results [‘2’]

B.

Payload failures[‘2’]

C.

Error,errorMessage,payload.failures[‘2’]

D.

Payload [‘2’]

Question 8

Which statement is true when using XML SDK for creating custom message processors?

Options:

A.

Properties are fields defined by an end user of the XML SDK component and serve as a global configuration for the entire Mule project in which they are used

B.

An XML SDK provides both inbound and outbound operations

C.

Operations can be reused in recursive calls

D.

All operations are public

Question 9

A custom policy needs to be developed to intercept all cutbound HTTP requests made by Mule applications.

Which XML element must be used to intercept outbound HTTP requests?

Options:

A.

It is not possible to intercept outgoing HTTP requests, only inbound requests

B.

http-policy:source

C.

htt-policy:operation

D.

http-policy:processor

Question 10

Refer to the exhibit.

Question # 10

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?

Options:

A.

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

B.

The Mule flow will execute successfully with status code 204

C.

The Mule flow will throw the exception ‘JSON:SCHEMA_NOT_HONOURED

D.

The Mule flow will execute successfully with status code 200m and a response will display the message ‘’ Age in years which must equal to or greater than zero.’’

Question 11

An API has been developed and deployed to CloudHub Among the policies applied to this API is an allowlist of IP addresses. A developer wants to run a test in Anypoint Studio and does not want any policies applied because their workstation is not included in the allowlist.

What must the developer do in order to run this test locally without the policies applied?

Options:

A.

Create a properties file specifically for local development and set the API instance ID to a value that is not used in API Manager

B.

Pass in the runtime parameter ‘’-Danpow.platform.gatekeeper=disabled’’

C.

Deactivate the API in API Manager so the Autodiscovery element will not find the application when it runs in Studio

D.

Run the test as-s, with no changes because the Studio runtime will not attempt to connect to API Manager

Question 12

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?

Options:

A.

Enable the auto-generate CorrelationID option when scaffolding the flow

B.

Enable the CorrelationID checkbox in the HTTP Listener configuration

C.

Configure a custom correlation policy

D.

NO action is needed as the correlation ID is returned to the caller in the response header by default

Question 13

The HTTP Request operation raises an HTTP CONNECTIVITY error.

Which HTTP status code and body are returned to the web client?

Question # 13

Options:

A.

HTTP Status Code:200.

Body ‘Error in processing your request

B.

HTTP Status Code:500.

Body ‘The HTTP CONNECTIVITY Error description

C.

HTTP Status Code:500.

Body ‘Error in processing your request

D.

HTTP Status Code:500.

Body ‘Error in processing your request

Question 14

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 heathcare portal.

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

Options:

A.

Deployable ZIP file, YAML configuration file

B.

JSON properties file, YAML configuration file

C.

JSON properties file, XML template file

D.

XML template file, YAML configuration file

Question 15

Which statement is true when working with correlation IDS?

Options:

A.

The HTTP Listener regenerates correlation IDs regardless of the HTTP request

B.

The Anypoint MQ Connector automatically propagates correlation IDS

C.

The HTTP Listener generates correlation IDS unless a correlation ID is received in the HTTP request

D.

The VM Connector does not automatically propagate correction IDs

Question 16

Which plugin or dependency is required to unit test modules created with XML SDK?

Options:

A.

XMLUnit

B.

Junit

C.

MUnit Extensions Maven plugin

D.

MUnit Maven plugin

Question 17

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 to configure HTTPS TLS context information to encrypt the data

B.

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

C.

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

D.

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

Question 18

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 according.

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

Options:

A.

Publish each client subscribe directly to the exchange.

Have each client subscribe directly to the queue.

B.

Publish the gate change notification to an Anypoint MC queue

Have each client subscribe directly to the queue

C.

Publish the gate change notification to an Anypoint MQ queue.

Create different anypoint MQ exchange meant for each of the other subscribing systems

Bind the queue with each of the exchanges

D.

Publish the gate change notification to an Anypoint MQ exchanhe.

Create different Anypoint MQ queues meant for each of the other subscribing systems.

Bind the exchange with each of the queues.

Page: 1 / 6
Total 60 questions