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

Viewing page 4 out of 7 pages
Viewing questions 31-40 out of questions
Questions # 31:

A Mule application contains an ActiveMQ JMS dependency. The Mule application was developed in Anypoint Studio and runs successfully in Anypoint Studio.

The Mule application must now be exported from Anypoint Studio and shared with another developer.

What export options create the smallest JAR file that can be imported into the other developer's Anypoint Studio and run successfully?

Question # 31

Options:

A.

Option A


B.

Option B


C.

Option C


D.

Option D


Expert Solution
Questions # 32:

Refer to the exhibits.

Question # 32

Question # 32

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

Options:

A.

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


B.

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


C.

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


D.

[orderlorder2order3order4,14]


Expert Solution
Questions # 33:

Refer to the exhibits.

Question # 33

Question # 33

Mule application has an HTTP request configuration where host name is hardcoded. Organization is looking to move host and port values to configuration file. What valid expression can be used to so that HTTP configuration can pick the value from configuration file?

Options:

A.

#[training.host]


B.

${http.host}


C.

#{training.host}


D.

${training.host}


Expert Solution
Questions # 34:

Refer to the exhibit.

The error occurs when a project is run in Anypoint Studio. The project, which has a dependency that is not in the MuleSoft Maven repository, was created and successfully run on a different computer.

What is the next step to fix the error to get the project to run successfully?

Question # 34

Options:

A.

Edit the dependency in the Mule project's pom.xml file


B.

Install the dependency to the computer's local Maven repository


C.

Deploy the dependency to MuleSoft's Maven repository


D.

Add the dependency to the MULE_HOME/bin folder


Expert Solution
Questions # 35:

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?

Question # 35

Options:

A.

"Domestic"


B.

"International"


C.

"US"


D.

A dataweave syntax error


Expert Solution
Questions # 36:

Refer to the exhibit.

Question # 36

What Database expression transforms the input to the output?

A)

Question # 36

B)

Question # 36

C)

Question # 36

D)

Question # 36

Options:

A.

Option A


B.

Option B


C.

Option C


D.

Option D


Expert Solution
Questions # 37:

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?

Options:

A.

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


B.

{ port : {db:port}}


C.

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


D.

Application property cannot be accessed in Dataweave


Expert Solution
Questions # 38:

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

Question # 38

Options:

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.}


Expert Solution
Questions # 39:

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?

Question # 39

Options:

A.

"End"


B.

"Start"


C.

-...


D.

"Siring is not blank"


Expert Solution
Questions # 40:

Refer to the exhibit.

Question # 40

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?

Options:

A.

payload


B.

payload

quantity var


C.

payload

color query param


D.

payload

quantity var color query param


Expert Solution
Viewing page 4 out of 7 pages
Viewing questions 31-40 out of questions