Free MuleSoft MCD-Level-1 Exam Actual Questions

The questions for MCD-Level-1 were last updated On Apr 25, 2024

Question No. 1

Refer to the exhibit.

What expression correctly specifies input parameters to pass the city and state values to the SQL query?

A)

B)

C)

D)

Show Answer Hide Answer
Correct Answer: A

MuleSoft Documentation Reference : https://docs.mulesoft.com/db-connector/1.9/database-connector-select


Question No. 2

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

Show Answer Hide Answer
Correct Answer: D

Mule event is correct answer. Mule event has two parts which are as follows

1) Message (which contains payload and attributes like headers and query/uri parameters

2) Variables


Question No. 3

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?

Show Answer Hide Answer
Correct Answer: D

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

This is the benefit of having separate interface layer. As there are no changes to interface , no changes are required on the API's which consumes this API in context


Question No. 4

Refer to the exhibit.

What is the response to a web client request to http://localhost:8081?

Show Answer Hide Answer
Correct Answer: C


Question No. 5

Refer to the exhibits.

The two Mule configuration files belong to the same Mule project. Each HTTP Listener is configured with the same host string and the port number, path, and operation values are shown in the display names.

What is the minimum number of global elements that must be defined to support all these HTTP Listeners?

Show Answer Hide Answer
Correct Answer: C

In this case three configurations will be required each for port 8000, 6000 and 7000.

There would be three global elements defined for HTTP connections.

Each HTTP connection will have host and port. One example shown below with host as localhost and port 6000

To use an HTTP listener, you need to declare a configuration with a corresponding connection. This declaration establishes the HTTP server that will listen to requests.

Additionally, you can configure a base path that applies to all listeners using the configuration.

<http:listener-config name='HTTP_Listener_config' basePath='api/v1'>

<http:listener-connection host='0.0.0.0' port='8081' />

</http:listener-config>

https://docs.mulesoft.com/http-connector/1.6/http-listener-ref#http-listener-configuration