ExamGecko
Home Home / MuleSoft / MCD - Level 1

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

Question list
Search
Search

List of questions

Search

Related questions











Refer to the exhibits.

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

A.
A string with value 'FR'
A.
A string with value 'FR'
Answers
B.
A DataVVeave syntax error
B.
A DataVVeave syntax error
Answers
C.
The result of the intemationalShipping flow
C.
The result of the intemationalShipping flow
Answers
D.
The result of the domesticShipoing flow
D.
The result of the domesticShipoing flow
Answers
Suggested answer: B

Refer to the exhibits.

The Set Variable transformer is set with value #[ [ first 'Max' last 'Mule'} ].

What is a valid DataWeave expression to set as the message attribute of the Logger to access the value 'Max' from the Mule event?

A.
vars 'customer first'
A.
vars 'customer first'
Answers
B.
'customer first'
B.
'customer first'
Answers
C.
customer first
C.
customer first
Answers
D.
vars 'customer' 'first'
D.
vars 'customer' 'first'
Answers
Suggested answer: D

Refer to the exhibit.

What is the correct syntax to add a customer ID as a URI parameter in an HTTP Listener's path attribute?

A.
(customerlD)
A.
(customerlD)
Answers
B.
{customerlD}
B.
{customerlD}
Answers
C.
#[customerlD]
C.
#[customerlD]
Answers
D.
${ customerID}
D.
${ customerID}
Answers
Suggested answer: B

A web client sends one GET request to the test flow's HTTP Listener, which causes the test flow to call the updateTemp flow After the test flow returns a response, the web client then sends a different GET request to trie getTemp flow's HTTP Listener The test flow is not called a second time.

What response is returned from the request to the getTemp flow's HTTP Listener?

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: C

Refer to the exhibit.

The Mule application's connectors are configured with property placeholders whose values are set in the config.yaml file

What must be added to the Mule application to link the config.yaml file's values with the property placeholders?

A.
A configuration-properties element in the acme-app xml file
A.
A configuration-properties element in the acme-app xml file
Answers
B.
A dependency element in the pom xml file
B.
A dependency element in the pom xml file
Answers
C.
A file-config element in the acrne-app xml file
C.
A file-config element in the acrne-app xml file
Answers
D.
A propertiesFile key/value pair in the mule-artifact json file
D.
A propertiesFile key/value pair in the mule-artifact json file
Answers
Suggested answer: A

Refer to the exhibits.

The Mule application implements a REST API that accepts GET requests from web clients on the URLs: http://acme com/order/status and http:Vacme.com/customer/status.

What path value can be set in the HTTP GE~ event source to accept web client requests from both of these URLs?

A.
*[order,customer]/status
A.
*[order,customer]/status
Answers
B.
*/status
B.
*/status
Answers
C.
?[order,customer]/status
C.
?[order,customer]/status
Answers
D.
*status
D.
*status
Answers
Suggested answer: B

Refer to the exhibits. The webClient flow sends requests to the mockServer Row's HTTP Listener.

An HTTP: METHOD_NOT ALLOWED error is thrown each time the webClient flow executes.

What attribute value must be changed in the webClient flow's HTTP Request operation to prevent this error from being thrown?

A.
Change the method attribute's value to 'POSL
A.
Change the method attribute's value to 'POSL
Answers
B.
Change the path attribute's value to 7api/partners/fastShopping'
B.
Change the path attribute's value to 7api/partners/fastShopping'
Answers
C.
Change the protocol attribute's value to 'HTTPS'
C.
Change the protocol attribute's value to 'HTTPS'
Answers
D.
Change the method attribute's value to '*'
D.
Change the method attribute's value to '*'
Answers
Suggested answer: A

Refer to the exhibit. APIkit is used to generate flow components for the RAML specification.

How many apikit:router XML elements are generated to handle requests to every endpoint defined in the RAML specification?

A.
3
A.
3
Answers
B.
5
B.
5
Answers
C.
2
C.
2
Answers
D.
1
D.
1
Answers
Suggested answer: D

Refer to the exhibits. The main flow contains an HTTP Request operation configured to call the child flow's HTTP Listener.

A web client sends a GET request to the HTTP Listener with the sty query parameter set to 30.

After the HTTP Request operation completes, what parts of the Mule event at the main flow's Logger component are the same as the Mule event that was input to the HTTP Request operation?

A.
The payload and all variables
A.
The payload and all variables
Answers
B.
All variables
B.
All variables
Answers
C.
The entire Mule event
C.
The entire Mule event
Answers
D.
The payload and all attributes
D.
The payload and all attributes
Answers
Suggested answer: A

An API was designed in API Designer, published to Anypoint Exchange, then imported into API Manager.

A Mule application implements this API and is deployed to CloudHub. API Manager manages this deployed API implementation.

What is the easiest and most idiomatic (used for its intended purpose) way to enforce a Client ID Enforcement policy on this Mule application?

A.
In API Manager, apply a Client ID Enforcement policy for the API instance
A.
In API Manager, apply a Client ID Enforcement policy for the API instance
Answers
B.
In Anypoint Studio, code a custom policy tor Client ID Enforcement and then add the custom policy to Runtime Manager for the Mule application deployment
B.
In Anypoint Studio, code a custom policy tor Client ID Enforcement and then add the custom policy to Runtime Manager for the Mule application deployment
Answers
C.
In Anypoint Design Center, code a custom policy for Client ID Enforcement and then publish the custom policy to the API portal in Anypoint Exchange
C.
In Anypoint Design Center, code a custom policy for Client ID Enforcement and then publish the custom policy to the API portal in Anypoint Exchange
Answers
D.
In API Designer, add Client ID Enforcement policy requirements to the API specification
D.
In API Designer, add Client ID Enforcement policy requirements to the API specification
Answers
Suggested answer: A
Total 235 questions
Go to page: of 24