ExamGecko
Home Home / MuleSoft / MCD - Level 1

MuleSoft MCD - Level 1 Practice Test - Questions Answers, Page 20

Question list
Search
Search

List of questions

Search

Related questions











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.
A.
Answers
B.
B.
Answers
C.
C.
Answers
D.
D.
Answers
Suggested answer: B

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?

A.
'End'
A.
'End'
Answers
B.
'Start'
B.
'Start'
Answers
C.
-...
C.
-...
Answers
D.
'Siring is not blank'
D.
'Siring is not blank'
Answers
Suggested answer: D

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?

A.
ID ZIPCODE 1 90001 2 90005 3 90009 4 90001
A.
ID ZIPCODE 1 90001 2 90005 3 90009 4 90001
Answers
B.
ID ZIPCODE 1 90001 2 90005 3 90009 5 90006
B.
ID ZIPCODE 1 90001 2 90005 3 90009 5 90006
Answers
C.
ID ZIPCODE 1 90001 2 90005 3 90009
C.
ID ZIPCODE 1 90001 2 90005 3 90009
Answers
D.
ID ZIPCODE 1 90001 2 90005 3 90009 4 90001 5 90006
D.
ID ZIPCODE 1 90001 2 90005 3 90009 4 90001 5 90006
Answers
Suggested answer: A

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
A.
'FILE: CONNECTMTV
Answers
B.
'OTHER ERROR'
B.
'OTHER ERROR'
Answers
C.
'File written'
C.
'File written'
Answers
D.
'ORDER: NOT CREATED'
D.
'ORDER: NOT CREATED'
Answers
Suggested answer: D

How would you debug Mule applications?

A.
By Deploying apps on production
A.
By Deploying apps on production
Answers
B.
Checking RAML specifications
B.
Checking RAML specifications
Answers
C.
Using debugger component
C.
Using debugger component
Answers
D.
Use third party debugger application
D.
Use third party debugger application
Answers
Suggested answer: C

Explanation:

Debugger can be used to debug applications to see event data movine from one flow to other

Pick the component with which DataWeave is tightly integrated.

A.
All APIs
A.
All APIs
Answers
B.
Mule runtime
B.
Mule runtime
Answers
C.
Exchange
C.
Exchange
Answers
D.
Flow Designer
D.
Flow Designer
Answers
Suggested answer: B

Explanation:

Correct answer is Mule runtime

DataWeave is the MuleSoft expression language for accessing and transforming data that travels through a Mule app. DataWeave is tightly integrated with the Mule runtime engine, which runs the scripts and expressions in your Mule app.

Mule Doc Reference : https://docs.mulesoft.com/mule-runtime/4.3/dataweave

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

A.
Inbound Properties
A.
Inbound Properties
Answers
B.
Variables
B.
Variables
Answers
C.
Attributes
C.
Attributes
Answers
D.
Payload
D.
Payload
Answers
Suggested answer: C

Explanation:

Correct answer isAttributes.

Query parameters , URI parameters and headers are some of examples which are part of attributes.

Bottom of Form

Top of Form

What should this endpoint return considering the API is build using standard practices?

http://dev.acme.com/api/patients?year=2021

A.
Patient with id 2021
A.
Patient with id 2021
Answers
B.
Patients from year 2021
B.
Patients from year 2021
Answers
C.
No patients
C.
No patients
Answers
D.
All patients
D.
All patients
Answers
Suggested answer: B

Explanation:

Correct answer is Patients from year 2021.

The thing to note here is that year is not a query parameter and not the uri parameter. Hence it will filter all the patients and return the ones for whom year is 2021

In the execution of scatter gather, the 'sleep 2 sec' Flow Reference takes about 2 sec to complete, and the 'sleep 8 sec' Flow Reference takes about 8 sec to complete.

About how many sec does it take from the Scatter-Gather is called until the 'Set Payload' transformer is called?

A.
8
A.
8
Answers
B.
0
B.
0
Answers
C.
2
C.
2
Answers
D.
10
D.
10
Answers
Suggested answer: A

Explanation:

Correct answer is 8 as events are processed in parallel in case of scatter gather router

Refer to the exhibits.

<a target='_blank' href='javascript:void(0)'>Larger image</a>

<a target='_blank' href='javascript:void(0)'>Larger image</a>

<a target='_blank' href='javascript:void(0)'>Larger image</a>

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
A.
The mule application fails to start There is URL path conflict because both HTTP Listeners are configured with same path
Answers
B.
The mule application start successfully Web client requests can only be received at URI on port 2222 but not on port 3333
B.
The mule application start successfully Web client requests can only be received at URI on port 2222 but not on port 3333
Answers
C.
The mule application fails to start because of the port binding conflict as HTTP request also use same port i.e. 3333
C.
The mule application fails to start because of the port binding conflict as HTTP request also use same port i.e. 3333
Answers
D.
The mule application start successfully Web client requests can be received at URI on port 2222 and on port 3333.
D.
The mule application start successfully Web client requests can be received at URI on port 2222 and on port 3333.
Answers
Suggested answer: D

Explanation:

In this case both the flows can start without any error and requests can be received on both ports. Flow names httpListener1 can call other flow using HTTP request without any issues.

Hence correct answer is

The mule application start successfully

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

Lets check why other options are incorrect

1) The mule application fails to start. There is URL path conflict because both HTTP Listeners are configured with same path ---- This is incorrect as port value is different in both listeners

2) The mule application start successfully. Web client requests can only be received at URI on port 2222 but not on port 3333 --- This is incorrect as there is no reason for not receiving requests on port 3333

3) The mule application fails to start because of the port binding conflict as HTTP request also use same port i.e. 3333 --- Port binding conflict will not happen in this case. It would have if both listener configurations would have been on same port . But that is not the case here.

Mule Ref Doc :HTTP Listener Reference - Mule 4 | MuleSoft Documentation

Total 235 questions
Go to page: of 24