ExamGecko
Home Home / MuleSoft / MCD - Level 1

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

Question list
Search
Search

List of questions

Search

Related questions











Refer to the exhibit.

What Database expression transforms the input to the output?

A)

B)

C)

D)

A.
Option A
A.
Option A
Answers
B.
Option B
B.
Option B
Answers
C.
Option C
C.
Option C
Answers
D.
Option D
D.
Option D
Answers
Suggested answer: D

Explanation:

This kind of questions are best solved with filtering technique. Key thing to note here is XML attributes are always access by @ notation. So in this example orderId can be accessed as @OrderId which makes option 3 and option 4 false. Now difference in optin and option 2 is in mapping of lineItemPrice. Correct syntax to format a String in Numbse is value.price as Number. Hence option 2 is correct

An On Table Row Database listener retrieves data from a table that contains record_id, an increasing numerical column.

How should the listener be configured so it retrieves new rows at most one time?

A.
Set the target to store the last retrieved record_id value
A.
Set the target to store the last retrieved record_id value
Answers
B.
Set the ObjectStore to store the last retrieved record_id value
B.
Set the ObjectStore to store the last retrieved record_id value
Answers
C.
Set the target to the record_id column
C.
Set the target to the record_id column
Answers
D.
Set the watermark column to the record id column
D.
Set the watermark column to the record id column
Answers
Suggested answer: D

Refer to the exhibits.

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?

A.
payload
A.
payload
Answers
B.
payload quantity var
B.
payload quantity var
Answers
C.
payload color query param
C.
payload color query param
Answers
D.
payload quantity var color query param
D.
payload quantity var color query param
Answers
Suggested answer: A

Refer to the exhibit.

What Database expression transforms the input to the output?

A)

B)

C)

D)

A.
Option A
A.
Option A
Answers
B.
Option B
B.
Option B
Answers
C.
Option C
C.
Option C
Answers
D.
Option D
D.
Option D
Answers
Suggested answer: B

Refer to the exhibits.

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

A.
'string'
A.
'string'
Answers
B.
'Java'
B.
'Java'
Answers
C.
'object'
C.
'object'
Answers
D.
'XML'
D.
'XML'
Answers
Suggested answer: A

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
A.
attributes.queryParams.dept
Answers
B.
attributes.dept
B.
attributes.dept
Answers
C.
message.queryParams.dept
C.
message.queryParams.dept
Answers
D.
vars.dept
D.
vars.dept
Answers
Suggested answer: A

Refer to the exhibits. A web client sends a POST request to the HTTP Listener and the Validation component in the Try scope throws an error.

What response message is returned to the web client?

A) Validation Error

B) 'END'

C) 'ERROR1'

D) ''ERROR2'

A.
Validation Error
A.
Validation Error
Answers
B.
'END'
B.
'END'
Answers
C.
'ERROR1'
C.
'ERROR1'
Answers
D.
''ERROR2'
D.
''ERROR2'
Answers
Suggested answer: D

Refer to the exhibit.

In the execution of the Scatter_Gather, the flow1 route completes after 10 seconds and the flow2 route completes after 20 seconds.

How many seconds does it take for the Scatter_Gather to complete?

A.
0
A.
0
Answers
B.
10
B.
10
Answers
C.
20
C.
20
Answers
D.
30
D.
30
Answers
Suggested answer: C

To avoid hard-coding values, a flow uses some property placeholders and the corresponding values are stored in a configuration file.

Where does the configuration file's location need to be specified in the Mule application?

A.
The pom.xml file
A.
The pom.xml file
Answers
B.
A global element
B.
A global element
Answers
C.
The mule-art if act .json file
C.
The mule-art if act .json file
Answers
D.
a flow attribute
D.
a flow attribute
Answers
Suggested answer: B

Explanation:

Correct answer is A global element

When we create a configuration file , that file needs to added as Global Configuration file in Global element. A global element is a reusable object containing parameters that any number of elements in a flow can share. You reference a global element from Anypoint Connectors or components in your Mule application

Refer to the exhibit.

A Mule event is composed of a hierarchy of objects. Where in the hierarchy are variables stored?

A.
Mule event
A.
Mule event
Answers
B.
Mule message payload
B.
Mule message payload
Answers
C.
Mule message
C.
Mule message
Answers
D.
Mule message attributes
D.
Mule message attributes
Answers
Suggested answer: A

Explanation:

Variables are stored under Mule event. Please refer to below image for the hierarchy .

Total 235 questions
Go to page: of 24