New Year Sale - Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70dumps

Salesforce-MuleSoft-Developer-I Questions and Answers

Question # 6

Refer to the exhibits. A company has defined this Book data type and Book example to be used in APIs. What is valid RAML for an API that uses this Book data type and Book example?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 7

Refer to the exhibit.

What Database expression transforms the input to the output?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 8

Why would a Mule application use the ${http.port} property placeholder for its HTTP Listener port when it is deployed to CloudHub?

A.

Allows CloudHub to automatically change the HTTP port to allow external clients to connect to the HTTP Listener

B.

Allows CloudHub to automatically register the application with API Manager

C.

Allows MuleSoft Support to troubleshoot the application by connecting directly to the HTTP Listener

D.

Allows clients to VPN directly to the application at the Mule application's configured HTTP port

Full Access
Question # 9

What is output of Dataweave flatten function?

A.

Object

B.

Map

C.

Array

D.

LInkedHashMap

Full Access
Question # 10

Refer to the exhibit.

The Mule application Is debugged in Any point Studio and stops at the breakpoint What is the value of the payload displayed In the debugger at this breakpoint?

A.

0

B.

"Processing"

C.

"Start"

D.

Complete"

Full Access
Question # 11

What DataWeave expression transforms the example XML input to the CSV output?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 12

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

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

Full Access
Question # 13

What should this endpoint return? http://dev.acme.com/api/patients?name=John &surname=Bell

A.

Patient with name as John

B.

Patient with surname as bell

C.

Patients with either name as John or surname as Bell

D.

Patients with name as John and surname as Bell

Full Access
Question # 14

What is the purpose of the api:router element in APIkit?

A.

Creates native connectors using a 3rd party Java library

B.

Serves as an API implementation

C.

Validates requests against RAML API specifications and routes them to API implementations

D.

Validates responses returned from API requests and routes them back to the caller

Full Access
Question # 15

What is not the function of API Gateway ?

A.

Determine which traffic is authorized to pass through the API to backend services

B.

Meter the traffic flowing through

C.

Logs all transactions , collecting and tracking analytics data

D.

Specify throttling , security and other policies

Full Access
Question # 16

Refer to the exhibit.

What DataWeave expression transforms the conductorlds array to the XML output?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 17

A Mule project contains a MySQL Database dependency. The project is exported from Anypoint Studio so it can be deployed to CloudHub.

What export options create the smallest deployable archive that will successfully deploy to CloudHub?

What export option create their smallest deployable archive that will successfully deploy to CloudHub?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 18

Refer to the exhibits.

What payload and quantity are logged at the end of the main flow?

A.

[[1,2,3,4], 14]

B.

[[order1, order2, order3, order4], 14]

C.

[[1,2,3,4], 10]

D.

[orderlorder2order3order4,14]

Full Access
Question # 19

What is the trait name you would use for specifying client credentials in RAML?

A.

headers

B.

client-id

C.

client-id-required

D.

cannot be specified in RAML

Full Access
Question # 20

By default, what happens to a file after it is read using an FTP connector Read operation?

A.

The file is deleted from the folder

B.

The file is moved to a different folder

C.

The file stays in the same folder unchanged

D.

The file is renamed in the same folder

Full Access
Question # 21

Refer to the exhibits.

The Mule Application is being debugged in Anypoint Studio and stops at breakpoint. What is the value of payload displayed in debugger at this breakpoint?

A.

Processing

B.

Begin

C.

Finished

Full Access
Question # 22

Refer to the exhibits.

A Mule application is being developed to process web client POST requests with payloads containing order information including the user name and purchased items The Shipping connector returns a shipping address for the input payloads user name The Shipping connector's Shipping Address operation is configured with a target named shippingAddress.

The Set Payload transformer needs to set an item key equal to the items value from the original received payload and a shippinglnfo key equal to the the ShippingAddress operation's response

What is a straightforward way to property configure the Set Payload transformer with the required data?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 23

Which of the below is not the mandatory configurations for HTTP Listener?

A.

Path

B.

Allowed methods

C.

HTTP port in Connector Configuration

D.

HTTP host in Connector Configuration

Full Access
Question # 24

Refer to the exhibits. The Mule application is stopped at the breakpoint in Anypoint Studio. A watch expression Is set to the counter variable.

What value is displayed for this watch expression?

A.

1

B.

11

C.

110

D.

null

Full Access
Question # 25

Refer to the exhibit.

What is the output payload in the On Complete phase

A.

summary statistics with NO record data

B.

The records processed by the last batch step: [StepTwol, StepTwo2, StepTwo3]

C.

The records processed by all batch steps: [StepTwostepOnel, stepTwostepOne2, StepTwoStepOne3]

D.

The original payload: [1,2,31

Full Access
Question # 26

A shopping API contains a method to look up store details by department

To get information for a particular store, web clients will submit requests with a query parameter named department and a URI parameter named storeld.

What is a valid RAML snippet that supports requests from web clients to get data for a specific storeld and department name?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 27

A Mule flow has three Set Variable transformers. What global data structure can be used to access the variables?

A.

Mule event attributes

B.

Mule event message

C.

Mule application properties

D.

Mule event

Full Access
Question # 28

Refer to the exhibits.

The expression for the Choice router needs to be written.

What is a valid expression to route Mule events to the non-default flow?

A.

#['MuleSoft' == paytoad.company]

B.

#[ company = "MuleSoft" ]

C.

#[ if( company = "MuleSoft") ]

D.

#[ if( 'MuleSoff == payload.company) ]

Full Access
Question # 29

Which of the following is invalid type of event processor which can be used as a router ?

A.

Choice

B.

Round Robin

C.

Pick First

D.

First Successful

Full Access
Question # 30

Which keyword do you use to create a new function in DataWeave?

A.

function

B.

fun

C.

func

D.

map

Full Access
Question # 31

Refer to the exhibits.

The orders.csv file is read, then processed to look up the orders in a database. The Mule application is debugged in Any point Studio and stops at the breakpoint.

What is the payload shown in the debugger at this breakpoint?

A.

"none"

B.

The entire CSV file

C.

The database response

D.

100

Full Access
Question # 32

Refer to the exhibit.

The default scope in choice router recursively calls the color flow.

A web client sends a PUT request to the HTTP listener with payload Blue.

What response is returned to the web client?

A.

"Blk"

B.

"Green"

C.

A timeout error

D.

["Blue", "Red", "Blk"]

Full Access
Question # 33

What is the correct Syntax to add a customer ID as a URI parameter in the HTTP listener's path attribute?

A.

#[customerID]

B.

$[customerID]

C.

{customerID}

D.

(customerID)

Full Access
Question # 34

Refer to the exhibits. The Mule application does NOT define any global error handler elements. A web client sends a GET request to the HTTP Listener. What response message is returned to the web client?

A.

"End"

B.

"Start"

C.

-...

D.

"Siring is not blank"

Full Access
Question # 35

Refer to the exhibit.

How should the WHERE clause be changed to set the city and state values from the configured input parameters?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 36

Refer to the exhibits.

What payload and variable are logged at the end of the main flow?

A.

[[5, 10, 15, 20], 1]

B.

[[5, 10, 15, 20], 5]

C.

[[Req5, Req10, Req15, Req20], 5]

D.

[Req5Req10,Req15Req20, 5]

Full Access
Question # 37

Refer to the exhibit.

What is the correct DataWeave expression for the Set Payload transformer to call the createCustomerObject flow with values for the first and last names of a new customer?

A.

lookupC createCustomerObJect( "Alice", "Green- ) )

B.

createCustomerObject( { first: "Alice", last: "Green" > )

C.

lookupf "createCustomerObject", { first: "Alice", last: "Green" > )

D.

createCustomerObject( "Alice", "Green")

Full Access
Question # 38

Refer to the exhibit.

The main flow is configured with their error handlers. A web client submit a request to the HTTP Listener and the HTTP Request throws an HTTP:NOT_FOUND error.

What response message is returned?’’

What response message is returned?

A.

APP: API RESOURCE NOT FOUND

B.

HTTP: NOT FOUND

C.

other error

D.

success - main flow

Full Access
Question # 39

Refer to the exhibit.

What is a valid expression for the Choice router’s when expression to route events to the documenticShipping flow?

A.

0#[ payload = 'US' ]

B.

#[ payload == 'US' J

C.

#[ if(payload = 'US') J

D.

#[ if(payload == "US") ]

Full Access
Question # 40

How to import Core (dw::Core) module into your DataWeave scripts?

A.

#include dw::core

B.

Not needed

C.

import core

D.

import dw::core

Full Access
Question # 41

Refer to the exhibits.

A web client submits a request to http://localhQst:8081 /flights. What is the result at the end of the flow?

A.

"string"

B.

"Java"

C.

"object"

D.

"XML"

Full Access
Question # 42

Refer to exhibits.

What message should be added to Logger component so that logger prints "The city is Pune" (Double quote should not be part of logged message)?

A.

#["The city is" ++ payload.City]

B.

The city is + #[payload.City]

C.

The city is #[payload.City]

D.

#[The city is ${payload.City}

Full Access
Question # 43

Refer to the exhibit.

What should be changed to fix the 415 error?

A.

set the response Content-Type header to text/plain

B.

set the response Content-Type header to application/json

C.

Set the request Content-Type header to application/] son

D.

set the request Content-Type header to text/plain

Full Access
Question # 44

Which file is used to define the interface contract to invoke a web service implemented as a SOAP service

A.

RAML

B.

WSDL

C.

JSON

D.

OAS

Full Access
Question # 45

What is not true about application properties?

A.

Application properties can be encrypted

B.

Application properties can be overridden with system properties

C.

Application properties can be defined in .yaml file only

D.

Application properties provide easier way to manage configurable values

Full Access
Question # 46

Refer to the exhibits.

A web client submits the request to the HTTP Listener. What response message would be returned to web client?

A.

End

B.

String is not blank

C.

No response would be sent back to client and request will get errored out in Mule

D.

Start

Full Access
Question # 47

A flow needs to combine and return data from two different data sources. It contains a Database SELECT operation followed by an HTTP Request operation.

What is the method to capture both payloads so the payload from the second request does not overwrite that from the first?

A.

Put the Database SELECT operation inside a Cache scope

B.

Put the Database SELECT operation inside a Message Enricher scope

C.

Nothing, previous payloads are combined into the next payload

D.

Save the payload from the Database SELECT operation to a variable

Full Access
Question # 48

Refer to the exhibit.

A Mule event is composed of a hierarchy of objects. Where in the hierarchy are variables stored?

A.

Mule event

B.

Mule message payload

C.

Mule message

D.

Mule message attributes

Full Access
Question # 49

Refer to the exhibit.

The Database Select operation returns five rows from a database. What is logged by the Logger component?

A.

"Array"

B.

"Object"

C.

"LinkedHashMap"

D.

"CaselnsensitrveHashMap"

Full Access
Question # 50

Refer to the exhibits.

Each route in the Scatter-Gather sets the payload to the number shown in the label. What response is returned to a web client request to the HTTP Listener?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 51

A RAML example fragment named StudentExample.raml is placed in the examples folder in an API specification project. What is the correct syntax to reference the fragment?

A.

examples: !include StudentExample.raml

B.

examples: #import StudentExample.raml

C.

examples: !include examples/StudentExample.raml

D.

examples: #import examples/StudentExample.raml

Full Access
Question # 52

An API implementation has been deployed to CloudHub and now needs to be governed. IT will not allocate additional vCore for a new Mule application to act as an API proxy.

What is the next step to preseive the current vCore usage, but still allow the Mule application to be managed by API Manager?

A.

Register the same API implementation in Runtime Manager to connect to API Manager

B.

Modify the API implementation to use auto-discovery to register with API Manager

C.

Upload the Mule application's JAR file to the API instance in API Manager

D.

Deploy the same API implementation behind a VPC and configure the VPC to connect to API Manager

Full Access
Question # 53

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?

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"

Full Access
Question # 54

Refer to the exhibits.

Set paylaod transformer is set the firstName and lastName of the customer as shown in below images.

What is the correct Dataweave expression which can be added in message attribute of a Logger activity to access firstName (which in this case is Madhav) from the incoming event?

A.

firstName

B.

customer.firstName

C.

vars."customer.firstName"

D.

vars."customer"."firstName"

Full Access
Question # 55

A flow contains an HTTP Listener as the event source. What is the DataWeave expression to log the Content-Type header using a Logger component?

A.

#["Content-Type: " ++ attributes.headers.'content-type']

B.

#["Content-Type: " + headers.'content-type']

C.

#["Content-Type: " + attributes.headers.'content-type']

D.

#["Content-Type: " ++ headers.'content-type']

Full Access
Question # 56

What is the output of Dataweave Map operator?

A.

Map

B.

Object

C.

String

D.

Array

Full Access
Question # 57

Refer to the exhibits. The Mule application does NOT define any global error handlers.

A web client sends a POST request to the Mule application with this input payload. The File Write operation throws a FILE: CONNECTIVITY error.

What response message is returned to the web client?

A.

"FILE: CONNECTMTV

B.

"OTHER ERROR"

C.

"File written"

D.

"ORDER: NOT CREATED"

Full Access
Question # 58

Correct answer is {customerID}.

A.

var toUpper(userName) -> upper(userName)

B.

fun toUpper(userName) = upper(userName)

C.

fun toUpper(userName) -> upper(userName)

D.

var toUpper(userName) = upper(userName)

Full Access
Question # 59

As a part of requirement , application property defined below needs to be accessed as dataweave expression. What is the correct expression to map it to port value?

A.

{ port : p('db.port')}

B.

{ port : {db:port}}

C.

{ port : p['db.port']}

D.

Application property cannot be accessed in Dataweave

Full Access
Question # 60

Refer to the exhibit.

How should be the where clause written for the configured input parameters in such a way that it achieves below SQL query?

A.

WHERE city := ${city} AND state := ${state}

B.

WHERE city = attributes.city AND state = attributes.state

C.

WHERE city = :city AND state = :state

D.

WHERE city := city AND state := state

Full Access
Question # 61

Refer to the exhibits.

What is written to the records.csv file when the flow executes?

A.

The JSON payload

B.

An error message

C.

Nothing

D.

The payload convert to CVS

Full Access
Question # 62

Refer to the exhibits.

The Set Variable transformer is set with value #[ [ first "Max" last "Mule"} ].

What is a valid DataWeave expression to set as the message attribute of the Logger to access the value "Max" from the Mule event?

A.

vars "customer first"

B.

"customer first"

C.

customer first

D.

vars "customer" "first"

Full Access
Question # 63

Refer to the exhibits.

The Validation component in the private flow throws an error. What response message is returned to a client request to the main flow's HTTP Listener?

A.

Error - private flow

B.

Error - main flow

C.

Success - main flow

D.

Validation Error

Full Access
Question # 64

The new RAML spec has been published to Anypoint Exchange with client credentials.

What is the next step to gain access to the API?

A.

Request access to the API in Anypoint Exchange

B.

Email the owners of the API

C.

Create a new client application

D.

No additional steps needed

Full Access
Question # 65

What MuleSoft API-led connectivity layer is intended to expose part of a backend database without business logic?

A.

Data layer

B.

Process layer

C.

Experience layer

D.

System layer

Full Access
Question # 66

Refer to the exhibits. The main flow contains an HTTP Request in the middle of the flow. The HTTP Listeners and HTTP Request use default configurations.

A web client submits a request to the main flow's HTTP Listener that includes query parameters for the pedigree of the piano.

What values are accessible to the Logger component at the end of the main flow?

A.

payload

B.

payload

pedigree query params

C.

payload

producer var

D.

payload

pedigree query params producer var

Full Access
Question # 67

Refer to the exhibits.

A web client submits a request to the HTTP Listener and the HTTP Request throws an error.

What payload and status code are returned to the web client?

Refer to the exhibits. A web client submits a request to the HTTP Listener and the HTTP Request throws an error.

What payload and status code are returned to the web client?

A.

Response body: "Error" Default response status code: 200

B.

Response body: "Success - Begin* Default response status code: 200

C.

Error response body: error, description Default error response status code: 500

D.

Response body: "Success - End" Default response status code: 200

Full Access
Question # 68

Refer to the exhibits.

This main mule application calls a separate flow called as ShippingAddress which returns the address corresponding to the name of the user sent to it as input. Output of this ShippingAddress is stored in a target variable named address.

Next set of requirement is to have a setPayload transformer which will set below two values

1) orderkey which needs to set to be equal to the order element received in the original request payload.

2) addressKey which needs to be set to be equal to the address received in response of ShippingAddress flow

What is the straightforward way to properly configure the Set Payload transformer with the required data?

A mule application is being developed which will process POST requests coming from clients containing the name and order information. Sample request is as below

A.

1. 1. {

2. 2. orderkey: "payload.order",

3. 3. addresskey: "vars.address"

4. 4. }

B.

1. 1. {

2. 2. orderkey: "attributes.shippingaddress.order",

3. 3. addresskey: "payload"

4. }

C.

1. 1. {

2. 2. orderkey: "payload.order",

3. 3. addresskey: "address"

4. }

D.

1. 1. {

2. 2. orderkey: "attributes.order",

3. 3. addresskey: "vars.address"

4. }

Full Access
Question # 69

Refer to the exhibit.

The Mule application's connectors are configured with property placeholders whose values are set in the config.yaml file

What must be added to the Mule application to link the config.yaml file's values with the property placeholders?

A.

A configuration-properties element in the acme-app xml file

B.

A dependency element in the pom xml file

C.

A file-config element in the acrne-app xml file

D.

A propertiesFile key/value pair in the mule-artifact json file

Full Access
Question # 70

What of the below is not a feature of API Notebooks?

A.

API documentation

B.

Creates a client for an API

C.

Creates a mock service for an API

D.

Perform authenticated live calls on a real server

Full Access