Big Cyber Monday 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.

As a mulesoft developer, what you would change in Database connector configuration to resolve this error?

A.

Configure the correct host URL

B.

Configure the correct database name

C.

Configure the correct table name

D.

Configure the correct JDBC driver

Full Access
Question # 7

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 responsemessage is returned to the web client?

A.

"End"

B.

"Start"

C.

-...

D.

"Siring is not blank"

Full Access
Question # 8

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 # 9

In the Database On Table Row operation, what does the Watermark column enable the On Table Row operation to do?

A.

To avoid duplicate processing of records in a database.

B.

To delete the most recent records retrieved from a database to enable database caching

C.

To enable duplicate processing of records in a database

D.

To save the most recent records retrieved from a database to enable database caching

Full Access
Question # 10

How are multiple conditions used in a Choice router to route events?

A.

To route the same event to the matched route of EVERY true condition

B.

To find the FIRST true condition, then distribute the event to the ONE matched route.

C.

None of these

D.

To find the FIRST true condition, then route the same event to the matched route and ALL FOLLOWING routes

Full Access
Question # 11

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

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

Full Access
Question # 12

An organization is beginning to follow Mulesoft's recommendedAPI led connectivity approach to use modern API to support the development and lifecycle of the integration solutions and to close the IT delivery gap.

What distinguishes between how modern API's are organized in a MuleSoft recommended API-led connectivityapproach as compared to other common enterprise integration solutions?

A.

The API interfaces are specified as macroservices with one API representing all the business logic of an existing and proven end to end solution

B.

The API interfaces are specifiedat a granularity intended for developers to consume specific aspect of integration processes

C.

The API implementation are built with standards using common lifecycle and centralized configuration management tools

D.

The APIO implementations are monitoredwith common tools, centralized monitoring and security systems

Full Access
Question # 13

What is the correct syntax to define and call a function in Database?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 14

Refer to the exhibits.

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

A.

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

B.

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

C.

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

D.

[orderlorder2order3order4, 14]

Full Access
Question # 15

Does a root element required when creating a XML response using Dataweave?

A.

Depends on requirement

B.

Not required

C.

Always required

D.

None of these

Full Access
Question # 16

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 # 17

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 # 18

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?

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

Full Access
Question # 19

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 # 20

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 # 21

Which of the below activity doesn't support parallel execution?

A.

Scatter-Gather Router

B.

First Successful Router

C.

Parallel For Each

D.

Batch job

Full Access
Question # 22

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 # 23

What happens to the attributes of a Mule event in a flow after an outbound HTTP Request is made?

A.

Attributes arereplaced with new attributes from the HTTP Request response (which might be null)

B.

New attributes may be added from the HTTP response headers, but no headers are ever removed

C.

Attributes do not change

D.

Previous attributes are passed unchanged

Full Access
Question # 24

An On Table Row Database listener retrieves data from a table that contains record_id, an increasing numerical column.

How should the listener be configured so it retrieves new rows at most one time?

A.

Set the target to store the last retrievedrecord_id value

B.

Set the ObjectStore to store the last retrieved record_id value

C.

Set the target to the record_id column

D.

Set the watermark column to the record id column

Full Access
Question # 25

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 # 26

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 # 27

Refer to the exhibits.

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

What is thecorrect 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 # 28

Refer to the exhibits. The webClient flow sends requests to the mockServer Row's HTTP Listener.

An HTTP: METHOD_NOT ALLOWED error is thrown each time the webClient flowexecutes.

What attribute value must be changed in the webClient flow's HTTP Request operation to prevent this error from being thrown?

A.

Change the method attribute's value to "POSL

B.

Change the path attribute's value to 7api/partners/fastShopping"

C.

Change the protocol attribute's value to "HTTPS"

D.

Change the method attribute's value to "*"

Full Access
Question # 29

Refer to the payload.

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

What is the output of logger when this flow executes?

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

Full Access
Question # 30

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

What values are accessible to the Logger at the end of the flow after a web client submit request tohttp://local:801/order?color=red?

A.

payload

B.

payload quantity var

C.

payload color query param

D.

payload quantity var color query param

Full Access
Question # 31

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 # 32

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 # 33

Refer to the exhibits. The main flow contains an HTTP Request operation configured to call the child flow's HTTP Listener.

Aweb client sends a GET request to the HTTP Listener with the sty query parameter set to 30.

After the HTTP Request operation completes, what parts of the Mule event at the main flow's Logger component are the same as the Mule event that was input to theHTTP Request operation?

A.

The payload and all variables

B.

All variables

C.

The entire Mule event

D.

The payload and all attributes

Full Access
Question # 34

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

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

Full Access
Question # 35

Refer to the exhibits.

The input array of strings is processed by the batch job that processes, filters, and aggregates the values. What is the last message logged by the Logger component after the batch job completes processing?

A.

[ ["A", "C", "D" ], ["E"] ]

B.

[''E'']

C.

[''D", "E"]

D.

[ "A", "C, "D", "E" ]

Full Access
Question # 36

A Mule project contains a DataWeave module called MyModule.dwl that defines a function named formatString. The module is located in the project's src/main/resources/modules folder.

What is the correct way in DataWeave code to import MyModule using a wildcard and then call the module's formatString function?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 37

Refer to the exhibits.

A Mule application has an HTTP Request that is configured with hardcoded values. To change this, the Mule application is configured to use a properties file named config.yaml.

what valid expression can the HTTP Request host value be set to so that it is no longer hardcoded?

A.

${training.host}

B.

${training:host}

C.

#[training:host]

D.

#[training.host]

Full Access
Question # 38

Pick the component with whichDataWeave is tightly integrated.

A.

All APIs

B.

Mule runtime

C.

Exchange

D.

Flow Designer

Full Access
Question # 39

What module and operation will throw an error if a Mule events payload is notnumber ?

A.

Filter modules Is Number operation

B.

Validation modules Is Number operation

C.

Validation modules Is not Number operation

D.

None of these

Full Access
Question # 40

Where are values of query parameters stored in the Mule event by the HTTP Listener?

A.

Inbound Properties

B.

Variables

C.

Attributes

D.

Payload

Full Access
Question # 41

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 # 42

A Mule application's HTTP Listener is configured with the HTTP protocol. The HTTP listeners port attribute is configured with a property placeholder named http.port. The mule application sets the http.port property placeholder's value to 9090

The Mule application is deployed to CloudHub without setting any properties in the Runtime manager Properties tab and a logmessage reports the status of the HTTP listener after the Mule application deployment completes.

After the mule applications is deployed, what information is reported in the worker logs related to the port on which the Mule application's HTTP Listener listens?

A.

The HTTP Listener is listening on port 80

B.

The HTTP Listener is listening on port 9090

C.

The HTTP Listener is listening on port 8081

D.

The HTTP Listener failed to bind to the port and is not listening for connections

Full Access
Question # 43

What is the main purpose of flow designer in Design Center?

A.

To design and develop fully functional Mule applications in a hosted development environment

B.

To design API RAML files in a graphical way

C.

To design and mock Muleapplication templates that must be implemented using Anypoint Studio

D.

To define API lifecycle management in a graphical way

Full Access
Question # 44

Refer to the exhibit.

What payload is returned from a request to http//localhost.8081/

Refer to the exhibits, what payload is returned from a request to http://localhost;8081/?

A.

1

B.

2

C.

3

D.

4

Full Access
Question # 45

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 # 46

Refer to the exhibits.

The Batch Job scope processes the array of strings

After the Batch Job scope completes processing the input payload what information is logged by the Logger component?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 47

Refer to the exhibit. APIkit is used to generate flow components for the RAML specification.

How many apikit:router XML elements are generated to handle requests to every endpoint defined in the RAML specification?

A.

3

B.

5

C.

2

D.

1

Full Access
Question # 48

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 # 49

To avoid hard-coding values, a flow uses some property placeholders and the corresponding values are stored in a configuration file.

Where does the configuration file's location need to be specified in the Mule application?

A.

The pom.xml file

B.

A global element

C.

The mule-art if act .json file

D.

a flow attribute

Full Access
Question # 50

According to Semantic Versioning, which version would you change for incompatible API changes?

A.

No change

B.

MINOR

C.

MAJOR

D.

PATCH

Full Access
Question # 51

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 thelast 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 # 52

Refer to the exhibits.

The Batch Job scope contains two BatchStep scopes with different accept expressions.

The input payload is passed to the Batch Job scope.

After the entire payload is processed by the Batch Job scope, what messages have been logged by the Logger components?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 53

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
Question # 54

Refer to the below exhibit.

A Mule applicationconfigures a property placeholder file named config.yaml to set some property placeholders for an HTTP connector.

What is the valid properties placeholder file to set these values?

A.

1.http:2.host = "localhost"3.port = "8081"

B.

1.http:2.basepath: "api"3.host : "localhost"4.port : "8081"

C.

1.http.host = localhost2.http.port = 8081

D.

1.{2.http:3.basePath: "api",4.port: "8081",5.host: " localhost"

Full Access
Question # 55

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

A.

headers

B.

client-id

C.

client-id-required

D.

cannot be specified in RAML

Full Access
Question # 56

What DataWeave expressiontransforms the array a to the XML output?

A.

1.1. trains:2.2. {(3.3. a map ((engId, index) ->4.4. train: {5.5. TrainNumber: engId6.6.7.7. }8.8. )9.9. )}

B.

1.1. trains:2.2. a map ((engId, index) ->3.3. train: {4.4. TrainNumber:engId5.5.6.6. }7.7. )

C.

1.1. {(2.2. trains:3.3. a map ((engId, index) ->4.4. train: {5.5. TrainNumber: engId6.6.7.7. }8.8. )9.)}

D.

1.1. {2.2. trains:3.3. a map ((engId, index) ->4.4. train: {5.5. TrainNumber: engId6.6.7.7. }8.8. )9.}

Full Access
Question # 57

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 # 58

Which of the module is imported automatically in Dataweave scripts?

A.

dw::core

B.

dw::System

C.

dw::Runtime

D.

dw::Crypto

Full Access
Question # 59

What payload is returned by a Database SELECT operation that does not match any rows in the database?

A.

false

B.

null

C.

Exception

D.

Empty Array

Full Access
Question # 60

Refer to the exhibit.

The Mule application's connectors areconfigured 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 # 61

Refer to the exhibits.

The Validation component in theTry scope throws an error.

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

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

A.

Success - main flow

B.

Error - main flow

C.

Error - Try scope

D.

Validation Error

Full Access
Question # 62

Refer to the exhibit.

What datais expected by the POST /accounts endpoint?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 63

What is output of Dataweave flatten function?

A.

Object

B.

Map

C.

Array

D.

LInkedHashMap

Full Access
Question # 64

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 # 65

How we can scale deployed Mule application vertically on cloudhub?

A.

Changingworker size

B.

Adding multiple workers

C.

Mule applications can be scaled only horizontally

D.

Option 1 and 2 both can be used

Full Access
Question # 66

Refer to the exhibit.

The main flow contains a Flow Reference for the child flow.

What values are accessible in the child flow after a web client submits a request to http://localhost:8Q81/order? color=red?

A.

payload

B.

payloadquantity var

C.

payloadcolor query param

D.

payloadquantity var color query param

Full Access
Question # 67

How can you call a subflow from Dataweave?

A.

Not possible in Mule 4

B.

Import function

C.

Lookup function

D.

Include function

Full Access
Question # 68

Refer to the exhibits.

The web client sends a POST request to the ACME Order API with an XML payload. An error is returned.

What should be changed in the request so that a success response code is returned to the web client?

A.

Set a request header with the name Content-Type to a value of applicatron/octet-stream

B.

Set a request header with the name Content-Type to a value of application/xml

C.

Set a response header with the name Content-Type to a value of applkation/xml

D.

Set a response header with the name Content-Type to a value of application/octet-stream

Full Access
Question # 69

A Mule application contains two HTTP Listeners, each configured for different API endpoints: http://acme.com/apis/orders and http: //acme .com/a pis/customers.

What base path value should be set in an HTT? Listener config element so that it can be used to configure both HTTP Listeners?

A.

/apis/?

B.

/apis/

C.

/apis/orders|customers

D.

/apis/*

Full Access