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.
Option A
B.
Option B
C.
Option C
D.
Option D
Option C
An SLA based policy has been enabled in API Manager. What is the next step to configure
the API proxy to enforce the newSLA policy?
A.
Add new property placeholders and redeploy the API proxy
B.
Add new environment variables and restart the API proxy
C.
Restart the API proxy to clear the API policy cache
D.
Add required headers to the RAML specification and redeploy the newAPI proxy
Add required headers to the RAML specification and redeploy the newAPI proxy
What MuleSoft product enables publishing, sharing, and searching of APIs?
A. Runtime Manager
B. API Notebook
C. API Designer
D. Anypoint Exchange
Anypoint Exchange provided a way to publish , share and search API's.
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
B. Patients from year 2021
C. No patients
D. All patients
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.
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
What is the correct Syntax to add a customer ID as a URI parameter in the HTTP listener's path attribute?

A. #[customerID]
B. $[customerID]
C. {customerID}
D. (customerID)
URL parameters are always accessed using { } like => {customerID}
What is not the function of API Gateway ?
A. Determine which traffic is authorized to pass through the API to backend services
B. Meter the traffic flowing through
C. Logs all transactions , collecting and tracking analytics data
D. Specify throttling , security and other policies
Explanation:
Correct answer is Specify throttling , security and other policies
MuleSoft Doc Ref : https://docs.mulesoft.com/api-manager/2.x/api-gateway-capabilitiesmule4
API Gateway is responsible for below functions.
1) Determine which traffic is authorized
2) Meter the traffic
3) Logs transaction
4) Apply throttling and other policies (Not specifying. These are specified in API Manager)
| Page 3 out of 29 Pages |
| Mulesoft MCD-Level-1 Exam Questions Home | Previous |