Pass the MuleSoft MuleSoft Certified Developer MCD-Level-1 Questions and answers with CertsForce

Viewing page 7 out of 7 pages
Viewing questions 61-70 out of questions
Questions # 61:

A REST connect module is generated for a RAML specification. and then the rest connect module is imported in mule application in Anypoint Studio. For each method of the RAML specification , what does the REST connect module provide?

Options:

A.

A scope


B.

A flow


C.

An operation


D.

An event source


Expert Solution
Questions # 62:

What is the correct way to format the decimal 200.1234 as a string to two decimal places?

Options:

A.

200.1234 as string as format: ".0#"


B.

200.1234 as String {format: ".0#"}


C.

200.1234 as String as format: ".0#"


D.

200.1234 as string {format: ".0#"}


Expert Solution
Questions # 63:

Refer to the exhibits.

Question # 63

The main flow contains an HTTP Request. The HTTP Listeners and HTTP Request use default configurations.

What values are accessible in the child flow after a web client submits a request to http://localhost:8081/order? col or = red?

Options:

A.

payload


B.

payload

quantity var


C.

payload

color query param


D.

payload

quantity var color query param


Expert Solution
Questions # 64:

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

Options:

A.

function


B.

fun


C.

func


D.

map


Expert Solution
Questions # 65:

Refer to the exhibits.

Question # 65

Question # 65

In the Choice router, the When expression for the domesticShipping route is set to "#[payload = 'FR']". What is logged after the Choice router completes?

Options:

A.

A string with value "FR"


B.

A DataVVeave syntax error


C.

The result of the intemationalShipping flow


D.

The result of the domesticShipoing flow


Expert Solution
Questions # 66:

Refer to the exhibits.

Question # 66

The Set Payload transformer In the addltem subflow 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 subflow to add a router cable with the price of 100 to the order?

Options:

A.

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


B.

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


C.

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


D.

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


Expert Solution
Questions # 67:

Refer to the exhibits.

Question # 67

Question # 67

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

Options:

A.

EU


B.

US


C.

"REGION"


D.

["US", "EU"]


Expert Solution
Questions # 68:

Refer to the exhibits. A database Address table contains a ZIPCODE column and an increasing ID column. The Address table currently contains tour (4) records. The On Table Row Database listener is configured with its watermark set to the Address table's ZIPCODE column and then the Mule application is run in Anypoint Studio tor the first time, and the On Table Row Database listener polls the Address table.

Anew row is added to the database with 1D=5 and ZIPCODE-90006, and then the On Table Row Database listener polls the database again.

Alter the next execution of the On Table Row Database listener polling, what database rows have been processed by the Mule flow since the Mule application was started?

Question # 68

Options:

A.

ID ZIPCODE

1 90001

2 90005

3 90009

4 90001


B.

ID ZIPCODE

1 90001

2 90005

3 90009

5 90006


C.

ID ZIPCODE

1 90001

2 90005

3 90009


D.

ID ZIPCODE

1 90001

2 90005

3 90009

4 90001

5 90006


Expert Solution
Questions # 69:

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

Options:

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


Expert Solution
Questions # 70:

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?

Options:

A.

examples: !include StudentExample.raml


B.

examples: #import StudentExample.raml


C.

examples: !include examples/StudentExample.raml


D.

examples: #import examples/StudentExample.raml


Expert Solution
Viewing page 7 out of 7 pages
Viewing questions 61-70 out of questions