What is the purpose of the api:router element in APIkit?
A. Creates native connectors using a 3rd party Java library
B. Serves as an API implementation
C. Validates requests against RAML API specifications and routes them to API implementations
D. Validates responses returned from API requests and routes them back to the caller
Explanation: The APIkit Router is a key message processor that validates requests against the provided definition, enriches messages (for example by adding default values to the messages) and routes requests to a particular flow. Also, the Router raises errors messages if errors occurs while routing, validating or processing the user request.
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.
Refer to the exhibits.

A. [[5, 10, 15, 20], 1]
B. [[5, 10, 15, 20], 5]
C. [[Req5, Req10, Req15, Req20], 5]
D. [Req5Req10,Req15Req20, 5]
Correct answer is [[5, 10, 15, 20], 5]
Key thing to note here is that any changes made to payload in for each loop are not available outside for each scope where as variable value updated in for each loop is visible
out side for each loop too.
Refer to the exhibit.
The error occurs when a project is run in Anypoint Studio. The project, which has a dependency that is not in the MuleSoft Maven repository, was created and successfully run on a different computer. What is the next step to fix the error to get the project to run successfully?
A.
Edit the dependency in the Mule project's pom.xml file
B.
Install the dependency to the computer's local Maven repository
C.
Deploy the dependency to MuleSoft's Maven repository
D.
Add the dependency to the MULE_HOME/bin folder
Install the dependency to the computer's local Maven repository
How we can scale deployed Mule application vertically on cloudhub?
A. Changing worker size
B. Adding multiple workers
C. Mule applications can be scaled only horizontally
D. Option 1 and 2 both can be used
Explanation: Mule applications can be scaled vertically by changing worker size. Mule applications can be scaled horizontally by adding more workers.
Which file is used to define the interface contract to invoke a web service implemented as a SOAP service?
A. RAML
B. WSDL
C. JSON
D. OAS
WSDL is used to define the contract in case of SOAP . RAML/OAS is used to REST services.
A REST connect module is generated for a RAML specification. and then the rest connect module is imported in mule application in Anypoint Studio. For each method of the RAML specification , what does the REST connect module provide?
A. A scope
B. A flow
C. An operation
D. An event source
Explanation:
Correct answer is an operation. For each method of the RAML specification , REST
connect module provide an operation.
Please refer to the below screenshot.
Refer to the exhibit.
How should be the where clause written for the configured input parameters in such a way
that it achieves below SQL query?
A. WHERE city := ${city} AND state := ${state}
B. WHERE city = attributes.city AND state = attributes.state
C. WHERE city = :city AND state = :state
D. WHERE city := city AND state := state
| Page 1 out of 29 Pages |