Refer to the exhibits.
Client sends the request to ClientRequestFlow which calls
ShippingFlow using HTTP Request activity.
During E2E testing it is found that that HTTP:METHOD_NOT_ALLOWED error is thrown
whenever client sends request to this flow.
What attribute you would change in ClientRequestFlow to make this implementation work
successfully?
A. Change the method attribute value to "*’’
B. Change the path attribute value to "/api/ship"
C. Change the allowed method attributes value to "POST"
D. Change the protocol attribute value to "HTTPS"
Explanation:
Correct answer is Change the method attributes value to "POST".
It can be fixed in either of the two ways as below.
1) Changing method attribute to POST in ClientRequestFlow
2) Setting allowedMethods as PUT in ShippingFlow (but doesn't fit as question mentions
about changing ClientRequestFlow)
What DataWeaveexpression transforms the example XML input to the CSV output? 
A.
Option A
B.
Option B
C.
Option C
D.
Option D
Option A
Refer to theexhibits.
A Mule application has an HTTP Request that is configured with hardcoded values. To
change this, the Mule application is configured to use a properties file named config.yaml.
what valid expression can the HTTP Request host value be set to so that it is no longer
hardcoded?
A.
${training.host}
B.
${training:host}
C.
#[training:host]
D.
#[training.host]
${training.host}
How are query parameters dynamically passed to an outbound REST request using an HTTP Request operation?
A. As query parameters in the HTTP Request operation
B. As URI parameters in the HTTP Request operation
C. In the Mule event's payload
D. As flow variables
Explanation:
In General > Request > Query Parameters, click the plus icon (+) to add a parameter to a
request. Type a name and value for the parameter or use a DataWeave expression to
define the name and value.
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 tostore the last retrieved record_id value
B.
Set the ObjectStore to store the last retrieved record_id value
C.
Set the target to the record_id column
D.
Set the watermark column to the record id column
Set the watermark column to the record id column
The new RAML spec has been published to Anypoint Exchange with client credentials. What is the next step to gain access to the API?
A. Request access to the API in Anypoint Exchange
B. Email the owners of the API
C. Create a new client application
D. No additional steps needed
Correct answer is Request access to the API in Anypoint Exchange. This way we can get clientId and Client secret which we can use to access the API.
Refer to the exhibit.
What is the correct syntax to add an employee ID as aURI parameter in an HTTP Listener
path?
A.
(employeelD)
B.
${emp!oyeelD}
C.
{employeelD}
D.
# [employeelD]
{employeelD}
What is the trait name you would use for specifying client credentials in RAML?
A. headers
B. client-id
C. client-id-required
D. cannot be specified in RAML
Explanation:
client-id-required enforces clients to add client_id and client_secret.
Please refer to below steps.
Add a section called traits: at the root level to define query parameters:
•traits:
- client-id-required:
queryParameters:
client_id:
type: string
client_secret:
type: string
2) Reference the trait in each of the methods to specify that each of the methods
require these query parameters. After each method in the RAML file, add is:
[client-id-required]. For example:
/users:
get:
is: [client-id-required]
description: Gets a list of JSONPlaceholder users.
| Page 1 out of 29 Pages |