Free MuleSoft Certified Developer - Level 1 (Mule 4) Exam Braindumps (page: 6)

Page 6 of 57

What is the trait name you would use for specifying client credentials in RAML?

  1. headers
  2. client-id
  3. client-id-required
  4. cannot be specified in RAML

Answer(s): C

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.



A shopping API contains a method to look up store details by department.

To get the information for a particular store, web clients will submit requests with a query parameter named department and uri parameter named storeId

What is valid RAML snippet that supports requests from a web client to get a data for a specific storeId and department name?


  1. 1./department:
    2. get:
    3. uriParameter:
    4. storeId:

  2. 1.get:
    2.uriParameter:
    3.{storeId}:
    4.queryParameter:
    5.department:

  3. 1.get:
    2. queryParameter:
    3. department:
    4. uriParameter:
    5. {storeId}:

  4. 1./{storeId}:
    2. get:
    3. queryParameter:
    4. department:

Answer(s): D



What execution model is used by For Each and Batch Job scopes?

  1. For Each is single-threaded and Batch Job is multi-threaded
  2. Both are single-threaded
  3. Both are multi-threaded
  4. Batch Job is single-threaded and For Each Is multi-threaded

Answer(s): A



How we can scale deployed Mule application vertically on cloudhub?

  1. Changing worker size
  2. Adding multiple workers
  3. Mule applications can be scaled only horizontally
  4. Option 1 and 2 both can be used

Answer(s): A

Explanation:

Mule applications can be scaled vertically by changing worker size. Mule applications can be scaled horizontally by adding more workers.






Post your Comments and Discuss MuleSoft MuleSoft Certified Developer - Level 1 (Mule 4) exam with other Community members:

MuleSoft Certified Developer - Level 1 (Mule 4) Exam Discussions & Posts