Winter Sale Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: v4s65

MCD-Level-1 Exam Dumps - MuleSoft Certified Developer - Level 1 (Mule 4)

Question # 4

As a part of project requirement , you want to build an API for a legacy client. Legacy client can only consume SOAP webservices. Which type the interface documentation can be prepared to meet the requirement?

A.

RAML file to define SOAP services

B.

WSDL file

C.

JSON file

D.

plain text file documenting API's

Full Access
Question # 5

Refer to the exhibits.

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

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 6

A web client sends a request to http;//localhost:8081?dept=sales. What is the correct DataWeave expression to access the value of dept?

A.

attributes.queryParams.dept

B.

attributes.dept

C.

message.queryParams.dept

D.

vars.dept

Full Access
Question # 7

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

How would you debug Mule applications?

A.

By Deploying apps on production

B.

Checking RAML specifications

C.

Using debugger component

D.

Use third party debugger application

Full Access
Question # 9

Refer to the exhibits.

The Batch job processes an array of strings.

What information is logged by the logger component after the batch job scope completes processing of the input payload?

A.

Total Records Processed: 3

Successful Records: 3

Failed Records: 0

payload: ["A","B","C"]

B.

["A","B","C"]

C.

Total Records Processed: 3

Successful Records: 3

Failed Records: 0

payload: ["a", "b", "c"]

D.

Total Records Processed: 3

Successful Records: 3

Failed Records: 0

Full Access
Question # 10

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

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

Which Mule component provides a real-time, graphical representation of the APIs and mule applications that are running and discoverable?

A.

API Notebook

B.

Runtime Manager

C.

Anypoint Visualizer

D.

API Manager

Full Access
Question # 13

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

Refer to the exhibits. In the choice router, the When expression for the domestic shipping route is set to "#[payload= "FR"]".

What is the output of logger after the execution of choice router is completed?

A.

"Domestic"

B.

"International"

C.

"US"

D.

A dataweave syntax error

Full Access
Question # 15

Refer to the exhibits. A web client submits a request to http://localhost:8081/fliqhts?destination=SFO and the Web Service Consumer throws a WSC:BAD_REQUEST error.

What is the next step to fix this error?

A.

Set a header In the Consume operation equal to the destination query parameter

B.

set a SOAP payload before the Consume operation that contains the destination query parameter

C.

set a property m the Consume operation equal to the destination query parameter

D.

set a JSON payload before the Consume operation that contains the destination query parameter

Full Access
Question # 16

An API specification is designed using RAML. What is the next step to create a REST Connector from this API specification?

A.

Download the API specification and build the interface using APIkit

B.

Publish the API specification to Any point Exchange

C.

Implement the API specification using flow designer in Design Center

D.

Add the specification to a Mule project's src/main/resources/api folder

Full Access
Question # 17

What valid RAML retrieves details on a specific customer by its customerId as a URI parameter?

A.

1. /customers:

2. /get:

3. /customerId:

B.

1. /customers:

2. /{customerId}:

3. get:

C.

1. /customers:

2. /customerId:

3. get:

D.

1. /customers:

2. get:

3. /{customerId}:

Full Access
Question # 18

According to MuleSoft, what is the Center for Enablement’s role in the new IT operating model?

A.

Implements line of business projects to enforce common security requirements

B.

Creates and manages discoverable assets to be consumed by line of business developers

C.

Centrally manages partners and consultants to implement line of business projects

D.

Implements line of business projects to enforce common security requirements

Full Access
Question # 19

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

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

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

Refer to the exhibits.

A web client sends a POST request to the HTTP Listener with the payload "Hello-". What response is returned to the web client?

What response is returned to the web client?

A.

Hello- HTTP-] MS2-Three

B.

HTTP-JMS2-Three

C.

Helb-JMS1-HTTP-JMS2 -Three

D.

Hello-HTTP-Three

Full Access
Question # 23

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

A web client sends a POST request to the Multi application with this input payload The File Write operation throws a FILECONNECTIVITY error

What response message is returned to the web client?

A.

"ORDER NOT_CREATED"

B.

"OTHER ERROR"

C.

"File written"

D.

"FILECONNECTIVITY"

Full Access
Question # 24

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

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

Refer to the exhibits.

A Mule application contains a Choice router. What is logged when the flow completes?

A.

EU

B.

US

C.

"REGION"

D.

["US", "EU"]

Full Access
Question # 27

Refer to the exhibits.

The Set Payload transformer's value is set to {'year': '2020'}.

What message value should be added to the Logger component to output the message 'The year is 2020', without hardcoding 2020?

A.

'#[The year is $(pay load .year)]*

B.

The year is #[payload.year]'

C.

'#[The year is " + paytoad.year]'

D.

#["The year is "++ payload.year].

Full Access
Question # 28

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

In an application network. If the implementation but not the interface of a product API changes, what needs to be done to the other APIs that consume the product API?

A.

The applications associated with the other APIs must be restarted

B.

The applications associated with the other APIs must be recoded

C.

The other APIs must be updated to consume the updated product API

D.

Nothing needs to be changed in the other APIs or their associated applications

Full Access
Question # 30

Refer to the exhibits.

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

A.

1. 1. trains:

2. 2. conductorIds map ((engId, index) ->

3. 3. train: {

4. 4. engineerId: engId

5. 5. }

6. 6. )

B.

1. 1. { trains:

2. 2.

3. 3. conductorIds map ((engId, index) ->

4. 4. train: {

5. 5. engineerId: engId

6. 6. }

7. 7. )

8. 8. }

C.

1. 1. trains:

2. 2. {(

3. 3. conductorIds map ((engId, index) ->

4. 4. train: {

5. 5. engineerId: engId

6. 6. }

7. 7. )

8. 8. )}

D.

1. 1. {( trains:

2. 2.

3. 3. conductorIds map ((engId, index) ->

4. 4. train: {

5. 5. engineerId: engId

6. 6. }

7. 7. )

8. 8. )}

Full Access
Question # 31

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

Refer to the exhibit. The Batch Job processes, filters and aggregates records, What is the expected output from the Logger component?

A.

[10. 20, 30. 40, 50, 60]

B.

[10. 20] [30, 40] [50, 60]

C.

[20, 40, 60]

D.

[20. 40] [60]

Full Access
Question # 33

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

Refer to the exhibits.

All three of the conditions for the Choice router are true. What messages are written in the application log?

A.

Route1

B.

Route2

C.

Route1,Route2

D.

Route1,Route2,Default

Full Access
Question # 35

Refer to the exhibits.

The main flow contains a Flow Reference component configured to call the child flow What part(s) of a Mule event passed to the Flow Reference component are available in the child flow?

A.

The payload and all attributes

B.

The payload and all variables

C.

The entire Mule event

D.

The payload

Full Access
Question # 36

A web client sends one GET request to the test flow's HTTP Listener, which causes the test flow to call the updateTemp flow After the test flow returns a response, the web client then sends a different GET request to trie getTemp flow's HTTP Listener The test flow is not called a second time.

What response is returned from the request to the getTemp flow's HTTP Listener?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 37

What is the difference between a subflow and a sync flow?

A.

No difference

B.

Subflow has no error handling of its own and sync flow does

C.

Sync flow has no error handling of its own and subflow does

D.

Subflow is synchronous and sync flow is asynchronous

Full Access
Question # 38

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

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

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 to http://local:801/orde r?color=red?

A.

payload

B.

payload quantity var

C.

payload color query param

D.

payload quantity var color query param

Full Access
Question # 41

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

An API has been created in Design Center. What is the next step to make the API discoverable?

A.

Publish the API to Anypoint Exchange

B.

Publish the API from inside flow designer

C.

Deploy the API to a Maven repository

D.

Enable autodiscovery in API Manager

Full Access
Question # 43

Refer to the exhibits. The Set Payload transformer in the addltem child flow uses DataWeave to create an order object.

What is the correct DataWeave code for the Set Payload transformer in the createOrder flow to use the addltem child flow to add a router call with the price of 100 to the order?

A.

lookup( "addltern", { price: "100", item: "router", itemType: "cable" } )

B.

addltem( { payload: { price: "100", item: "router", itemType: "cable" > } )

C.

lookup( "addltem", { payload: { price: "100", item: "router", itemType: "cable" } > )

D.

addltem( { price: "100", item: "router", itemType: "cable" } )

Full Access
Question # 44

What HTTP method in a RESTful web service is typically used to completely replace an existing resource?

A.

GET

B.

PATCH

C.

PUT

D.

POST

Full Access
Question # 45

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

Refer to the exhibits.

Larger image

Larger image

Larger image

The Mule application configures and uses two HTTP Listener global configuration elements.

Mule application is run in Anypoint Studio.

If the mule application starts correctly, what URI and port numbers can receive web client requests? If the mule applications fails to start , what is the reason for the failure?

A.

The mule application fails to start

There is URL path conflict because both HTTP Listeners are configured with same path

B.

The mule application start successfully

Web client requests can only be received at URI on port 2222 but not on port 3333

C.

The mule application fails to start because of the port binding conflict as HTTP request also use same port i.e. 3333

D.

The mule application start successfully

Web client requests can be received at URI on port 2222 and on port 3333.

Full Access
Question # 47

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

What is output of Dataweave flatten function?

A.

Object

B.

Map

C.

Array

D.

LInkedHashMap

Full Access
Question # 49

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

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

According to MuleSoft. what is the first step to create a Modern API?

A.

Gather a list of requirements to secure the API

B.

Create an API specification and get feedback from stakeholders

C.

Performance tune and optimize the backend systems and network

D.

Create a prototype of the API implementation

Full Access
Question # 52

Refer to the exhibits.

The mule application is debugged in Anypoint Studio and stops at the breakpoint as shown in below exhibit.

What is the value of the payload displayed in the debugger at this breakpoint?

A.

Start

B.

Process

C.

Finished

D.

Payload is always empty at the breakpoint

Full Access
Question # 53

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

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

Refer to the exhibits.

The Mule application implements a REST API that accepts GET requests from web clients on the URLs: http://acme com/order/status and http:Vacme.com/customer/status.

What path value can be set in the HTTP GE~ event source to accept web client requests from both of these URLs?

A.

*[order,customer]/status

B.

*/status

C.

?[order,customer]/status

D.

*status

Full Access
Question # 56

A Batch Job scope has five batch steps. An event processor throws an error in the second batch step because the input data is incomplete. What is the default behavior of the batch job after the error is thrown?

A.

All processing of the batch job stops.

B.

Event processing continues to the next batch step.

C.

Error is ignored

D.

Batch is retried

Full Access
Question # 57

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

Refer to the payload.

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?

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

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

What MuleSoft product enables publishing, sharing, and searching of APIs?

A.

Runtime Manager

B.

API Notebook

C.

API Designer

D.

Anypoint Exchange

Full Access
Question # 61

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

Refer to exhibits.

In the execution of the Scatter-Gather , the flow route completes after 10 seconds and the flow2 route completes in 40 seconds. How many seconds does it take for the Scatter-Gather to complete?

A.

10

B.

50

C.

40

D.

20

Full Access
Question # 63

An organization is beginning to follow Mulesoft's recommended API 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 connectivity approach 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 specified at 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 monitored with common tools, centralized monitoring and security systems

Full Access
Question # 64

What DataWeave expression transforms 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: engId

6.6.

7.7. }

8.8. )

9.9. )}

B.

1.1. trains:

2.2. a map ((engId, index) ->

3.3. train: {

4.4. TrainNumber: engId

5.5.

6.6. }

7.7. )

C.

1.1. {(

2.2. trains:

3.3. a map ((engId, index) ->

4.4. train: {

5.5. TrainNumber: engId

6.6.

7.7. }

8.8. )

9.)}

D.

1.1. {

2.2. trains:

3.3. a map ((engId, index) ->

4.4. train: {

5.5. TrainNumber: engId

6.6.

7.7. }

8.8. )

9.}

Full Access
Question # 65

Refer to the exhibit. This RAML fragment defines a Book data type that is used in a RAML API specification.

An API implementation is created for this RAML API specification.

What is valid JSON input for a request from a web client to an implementation of this RAML API specification?

A.

B.

C.

D.

Full Access
Question # 66

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

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

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

A.

No change

B.

MINOR

C.

MAJOR

D.

PATCH

Full Access