Weekend Sale 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: sale65best

Free Salesforce Salesforce-MuleSoft-Developer-I Practice Exam with Questions & Answers | Set: 2

Questions 11

Refer to the exhibits.

Salesforce-MuleSoft-Developer-I Question 11

The Mule application does NOT define any global error handlers.

The Validation component in the private flow throws an error

What response message is returned to a web client request to the main flow's HTTP Listener?

Salesforce-MuleSoft-Developer-I Question 11

Options:
A.

''Child error"

B.

"Parent error"

C.

"Validation Error"

D.

"Parent completed"

Questions 12

How does APIkit determine the number of flows to generate from a RAML specification?

Options:
A.

Creates a separate flow for each resource

B.

Creates a separate flow for each HTTP method

C.

Creates a separate flow for each response status code

D.

Creates a separate flow for each resource that contains child resources

Questions 13

There are three routes configured for Scatter-Gather and incoming event has a payload is an Array of three objects. How routing will take place in this scenario?

Options:
A.

Incoming array objects would be split into three and each part would be sent to one route each in sequential manner

B.

Incoming array objects would be split into three and each part would be sent to one route each in parallel

C.

Entire event would be sent to each route sequentially

D.

Entire event would be sent to each route in parallel

Questions 14

Refer to the exhibits. Client sends the request to ClientRequestFlow which calls ShippingFlow using HTTP Request activity.

During E2E testing it is found that that HTTP:METHOD_NOT_ALLOWED error is thrown whenever client sends request to this flow.

What attribute you would change in ClientRequestFlow to make this implementation work successfully?

Salesforce-MuleSoft-Developer-I Question 14

Salesforce-MuleSoft-Developer-I Question 14

Salesforce-MuleSoft-Developer-I Question 14

Options:
A.

Change the method attribute value to "*’’

B.

Change the path attribute value to "/api/ship"

C.

Change the allowed method attributes value to "POST"

D.

Change the protocol attribute value to "HTTPS"

Questions 15

Refer to the exhibits.

Salesforce-MuleSoft-Developer-I Question 15

In the requestFlow an HTTP Request operation is configured to send an HTTP request with an XML payload. The request is sent to the HTTP Listener in the transform Flow.

That flow transforms the incoming payload into JSON format and returns the response to the HTTP request. The response of the request is stored in a target variable named the Result.

What is the payload at the Logger component after the HTTP Request?

Options:
A.

A non-empty Java object

B.

The original XML payload

C.

null

D.

The returned JSON response

Questions 16

Which of the below is used by Mule application to manage dependencies which make sharing the projects lightweight and easier?

Options:
A.

Configuration file

B.

Global element

C.

POM.xml

D.

Cloudhub

Questions 17

Refer to the payload.

Salesforce-MuleSoft-Developer-I Question 17

Salesforce-MuleSoft-Developer-I Question 17

The Set payload transformer sets the payload to an object. The logger component's message attribute is configured with the string "Result #["INFO"++ payload]"

What is the output of logger when this flow executes?

Options:
A.

Result INFOpayload

B.

Result INFO{"student":{"name":"Anay","age":6}}

C.

1. 1. "You called the function '++' with these arguments:

2. 2. 1: String ("INFO")

3. 3: Object ({student: {name: "Anay" as String {class: "java.lang.String"},age: 6 as Numbe...)

D.

Error : You evaluated inline expression # without ++

Questions 18

Which of the below functionality is provided by zip operator in DataWeave?

Options:
A.

Merges elements of two lists (arrays) into a single list

B.

Used for sending attachments

C.

Minimize the size of long text using encoding.

D.

All of the above

Questions 19

Refer to the exhibits.

Salesforce-MuleSoft-Developer-I Question 19

Salesforce-MuleSoft-Developer-I Question 19

A web client sends a POST request with the payload {"oid": "1000", "itemid": "AC200", "qty": "4" } to the Mule application. The File Write operation throws a FILE:CONNECTIVITY error.

What response message is returned to the web client?

Options:
A.

‘’FILE:CONNECnvnY'

B.

"ORDER:NOT_CREATED"

C.

"OTHER ERROR"

D.

"File written"

Questions 20

An API instance of type API endpoint with API proxy is created in API manager using an API specification from Anypoint Exchange. The API instance is also configured with an API proxy that is deployed and running in CloudHub.

An SLA- based policy is enabled in API manager for this API instance.

Where can an external API consumer obtain a valid client ID and client secret to successfully send requests to the API proxy?

Options:
A.

In the organization's public API portal in Anypoint Exchange, from an approved client application for the API proxy

B.

In Anypoint Studio, from components generated by APIkit for the API specification

C.

In Anypoint Studio, from components generated by Rest Connect for API specification

D.

In Runtime Manager, from the properties tab of the deployed approved API proxy